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

Stephen Crane sjcrane at uci.edu
Mon Dec 29 16:39:58 PST 2014


- Use a unique_ptr for the RNG
- Simplify RNG type reuse
- Expanded X86 NOP comments
- Add 32 bit X86 Noop Insertion tests
- Formatting
- Noop insertion tests for MIPS and PPC.


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.17699.patch
Type: text/x-patch
Size: 20069 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20141230/16dd96fc/attachment.bin>


More information about the llvm-commits mailing list