[PATCH] Add Forward-Edge Control-Flow Integrity support

Tom Roeder tmroeder at google.com
Mon Jun 30 10:06:55 PDT 2014


This changes the FCFI code to drop all mention of JumpTableAll, as per the discussion on D4128 on llvm-commits; it will be up to the front end to set jumptable and unnamed_addr on functions that should be transformed by CFI.

http://reviews.llvm.org/D4167

Files:
  include/llvm/CodeGen/CommandFlags.h
  include/llvm/CodeGen/ForwardControlFlowIntegrity.h
  include/llvm/CodeGen/JumpInstrTables.h
  include/llvm/CodeGen/Passes.h
  include/llvm/InitializePasses.h
  include/llvm/Target/TargetOptions.h
  lib/CodeGen/AsmPrinter/AsmPrinter.cpp
  lib/CodeGen/CMakeLists.txt
  lib/CodeGen/ForwardControlFlowIntegrity.cpp
  lib/CodeGen/JumpInstrTables.cpp
  lib/CodeGen/LLVMTargetMachine.cpp
  lib/CodeGen/TargetOptionsImpl.cpp
  test/CodeGen/ARM/jump_tables.ll
  test/CodeGen/X86/cfi_enforcing.ll
  test/CodeGen/X86/cfi_non_default_function.ll
  test/CodeGen/X86/cfi_simple_indirect_call.ll
  test/CodeGen/X86/jump_table_alias.ll
  test/CodeGen/X86/jump_table_bitcast.ll
  test/CodeGen/X86/jump_tables.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D4167.10978.patch
Type: text/x-patch
Size: 49707 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140630/bbf97d51/attachment.bin>


More information about the llvm-commits mailing list