This uses the same class metadata currently used for virtual call and
cast checks.
The new flag is -fsanitize=cfi-nvcall. For consistency, the -fsanitize=cfi-vptr
flag has been renamed -fsanitize=cfi-vcall.
Paths
| Differential D8756
Implement CFI type checks for non-virtual calls. ClosedPublic Authored by pcc on Mar 31 2015, 7:09 PM.
Details Summary This uses the same class metadata currently used for virtual call and The new flag is -fsanitize=cfi-nvcall. For consistency, the -fsanitize=cfi-vptr
Diff Detail
Event Timelinepcc updated this object.
pcc edited edge metadata. Comment Actions
This revision is now accepted and ready to land.Apr 1 2015, 5:17 PM Closed by commit rL233874: Implement CFI type checks for non-virtual calls. (authored by pcc). · Explain WhyApr 1 2015, 5:26 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 23111 cfe/trunk/docs/ControlFlowIntegrity.rst
cfe/trunk/docs/UsersManual.rst
cfe/trunk/include/clang/Basic/Sanitizers.def
cfe/trunk/lib/CodeGen/CGClass.cpp
cfe/trunk/lib/CodeGen/CGExprCXX.cpp
cfe/trunk/lib/CodeGen/CGVTables.cpp
cfe/trunk/lib/CodeGen/ItaniumCXXABI.cpp
cfe/trunk/lib/Driver/SanitizerArgs.cpp
cfe/trunk/test/CodeGenCXX/cfi-nvcall.cpp
cfe/trunk/test/CodeGenCXX/cfi-vcall.cpp
cfe/trunk/test/CodeGenCXX/cfi-vptr.cpp
cfe/trunk/test/Driver/fsanitize.c
|