[PATCH] D16098: [cfi] Make the shadow read-only.
Evgeniy Stepanov via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 11 16:49:11 PST 2016
eugenis created this revision.
eugenis added reviewers: pcc, kcc.
eugenis added a subscriber: llvm-commits.
eugenis set the repository for this revision to rL LLVM.
Make CFI shadow read-only.
For the updates, prepare new data in a buffer on the side, then,
depending on the platform:
* (Linux) mprotect + mremap into place.
* (non-Linux) remove protection from the target region, copy, restore
protection, verify contents.
Repository:
rL LLVM
http://reviews.llvm.org/D16098
Files:
lib/cfi/cfi.cc
lib/sanitizer_common/CMakeLists.txt
lib/sanitizer_common/sanitizer_common.h
lib/sanitizer_common/sanitizer_posix.cc
lib/sanitizer_common/sanitizer_readonlyupdate.h
lib/sanitizer_common/tests/CMakeLists.txt
lib/sanitizer_common/tests/sanitizer_readonlyupdate_test.cc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D16098.44582.patch
Type: text/x-patch
Size: 10935 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160112/5a4268a6/attachment.bin>
More information about the llvm-commits
mailing list