[PATCH] Insert random noops to increase security against ROP attacks (llvm)

Stephen Crane sjcrane at uci.edu
Mon Jan 5 14:59:37 PST 2015


- Revert loop termination back to include insertion slot before terminators.
- Fix spelling
- Update tests to reflect new default insertion percentage.
- Formatting fixes


http://reviews.llvm.org/D3392

Files:
  include/llvm/CodeGen/CommandFlags.h
  include/llvm/CodeGen/NoopInsertion.h
  include/llvm/CodeGen/Passes.h
  include/llvm/InitializePasses.h
  include/llvm/Support/RandomNumberGenerator.h
  include/llvm/Target/TargetInstrInfo.h
  include/llvm/Target/TargetOptions.h
  lib/CodeGen/CMakeLists.txt
  lib/CodeGen/CodeGen.cpp
  lib/CodeGen/NoopInsertion.cpp
  lib/CodeGen/Passes.cpp
  lib/Target/X86/X86InstrInfo.cpp
  lib/Target/X86/X86InstrInfo.h
  test/CodeGen/Mips/noop-insert.ll
  test/CodeGen/PowerPC/noop-insert.ll
  test/CodeGen/X86/noop-insert-percentage.ll
  test/CodeGen/X86/noop-insert.ll

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D3392.17815.patch
Type: text/x-patch
Size: 21181 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150105/3033a1be/attachment.bin>


More information about the llvm-commits mailing list