public-notes/unintended-instructions.rst at master · preames/public-notes · GitHub
before a targeted instruction, we place it after the containing intended instruction, and then follow the sled with an instruction specific check sequence. Note that this requires the targeted unintended instruction to a) fallthrough (instead of transferring control), and b) have a side effect which can be deterministically detected. It also requires the disassembly and inspection of the misaligned stream for the same conditions. It would be problematic for a unintended instruction to be followed by an unintended branch before the alignment sled. The length of the alignment sled can be red...