[PATCH] D29657: [safestack] Add runtime support for MPX-based hardening
Michael LeMay via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 7 08:36:44 PST 2017
mlemay-intel created this revision.
Herald added a subscriber: mgorny.
This patch adds support for the separate stack segment feature on 64-bit
platforms with Intel MPX support. It initializes MPX and allocates safe stacks
at high addresses so that BNDCU instructions inserted by the compiler can block
stray writes to safe stacks.
https://reviews.llvm.org/D29657
Files:
lib/safestack/CMakeLists.txt
lib/safestack/safestack.cc
lib/safestack/safestackmpx.cc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D29657.87459.patch
Type: text/x-patch
Size: 8800 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170207/075825a9/attachment.bin>
More information about the llvm-commits
mailing list