This is an archive of the discontinued LLVM Phabricator instance.

[cfi] Make the shadow read-only.
AbandonedPublic

Authored by eugenis on Jan 11 2016, 4:49 PM.

Details

Reviewers
kcc
pcc
Summary

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.

Diff Detail

Repository
rL LLVM

Event Timeline

eugenis updated this revision to Diff 44582.Jan 11 2016, 4:49 PM
eugenis retitled this revision from to [cfi] Make the shadow read-only..
eugenis updated this object.
eugenis added reviewers: pcc, kcc.
eugenis set the repository for this revision to rL LLVM.
eugenis added a subscriber: llvm-commits.
pcc edited edge metadata.Jan 25 2016, 1:59 PM

This should be closed, right?

eugenis abandoned this revision.Jan 25 2016, 2:27 PM