search for: d17095

Displaying 1 result from an estimated 1 matches for "d17095".

Did you mean: 517095
2016 May 31
0
[RFC] Using segmentation to harden SafeStack
...so the case for memory operands that use SP/ESP or BP/EBP as a base register. Other instructions implicitly access DS or ES by default, which may result in crashes if they are used with pointers to a safe stack. I developed a new MachineFunctionPass, X86FixupSeparateStack (http://reviews.llvm.org/D17095), that adds segment override prefixes or updates segment registers in X86-32 code to use the appropriate effective segment for each memory operand. It is enabled by the separate-stack-seg feature (http://reviews.llvm.org/D17092). The pass assumes that only ESP points to the safe stack at the star...