[PATCH] D11857: CFI: Introduce -fsanitize=cfi-icall flag.

Peter Collingbourne via cfe-commits cfe-commits at lists.llvm.org
Fri Aug 7 18:31:30 PDT 2015


pcc created this revision.
pcc added reviewers: kcc, samsonov, rsmith.
pcc added a subscriber: cfe-commits.

This flag causes the compiler to emit bit set entries for functions as well
as runtime bitset checks at indirect call sites. Depends on the new function
bitset mechanism.

http://reviews.llvm.org/D11857

Files:
  docs/ControlFlowIntegrity.rst
  include/clang/AST/Mangle.h
  include/clang/Basic/Sanitizers.def
  lib/AST/ItaniumMangle.cpp
  lib/AST/MicrosoftMangle.cpp
  lib/CodeGen/CGExpr.cpp
  lib/CodeGen/CodeGenModule.cpp
  lib/Driver/ToolChain.cpp
  lib/Driver/ToolChains.cpp
  test/CodeGen/cfi-icall.c
  test/CodeGenCXX/cfi-icall.cpp
  test/Driver/fsanitize.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D11857.31568.patch
Type: text/x-patch
Size: 13060 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150808/7998a1b9/attachment-0001.bin>


More information about the cfe-commits mailing list