OpenBSD/src UZcSaOu — gnu/llvm/lib/Target/X86 X86FixupGadgets.cpp X86MCInstLower.cpp, gnu/llvm/tools/clang/include/clang/Driver Options.td
Improve the X86FixupGadgets pass:
- Target all four kinds of return bytes (c2, c3, ca, cb)
- Fix up instructions using both ModR/M and SIB bytes
- Force alignment before instructions with return bytes in immediates
- Force alignment before instructions that have return bytes in their encoding
- Add a command line switch to toggle the functionality.
ok deraadt@
UnifiedSplitRaw