This is an archive of the discontinued LLVM Phabricator instance.

[cfi] Move all vtables to .data.rel.ro in cross-DSO mode
AbandonedPublic

Authored by eugenis on Mar 8 2017, 1:50 PM.

Details

Reviewers
pcc
Summary

All call targets (which for virtual calls are vtable address points)
must be located above __cfi_check.
https://clang.llvm.org/docs/ControlFlowIntegrityDesign.html#cfi-shadow

Diff Detail

Repository
rL LLVM

Event Timeline

eugenis created this revision.Mar 8 2017, 1:50 PM
eugenis abandoned this revision.Mar 9 2017, 1:27 PM

We've decided to scrap the __cfi_check order requirement.