[PATCH] Adding diversity for security

Stephen Crane sjcrane at uci.edu
Tue Oct 1 15:13:27 PDT 2013


Adds the capability to randomly insert NOPs, permuting the code layout, as well as the option to randomize scheduling decisions. Includes an OpenSSL-linked RNG to provide secure random number generation.

http://llvm-reviews.chandlerc.com/D1802

Files:
  CMakeLists.txt
  Makefile.config.in
  autoconf/configure.ac
  cmake/config-ix.cmake
  cmake/modules/LLVM-Config.cmake
  configure
  include/llvm/CodeGen/CommandFlags.h
  include/llvm/CodeGen/MachineInstr.h
  include/llvm/Config/config.h.cmake
  include/llvm/Config/config.h.in
  include/llvm/MC/MCRegisterInfo.h
  include/llvm/Support/RandomNumberGenerator.h
  include/llvm/Target/TargetOptions.h
  lib/CodeGen/LLVMBuild.txt
  lib/CodeGen/MachineBasicBlock.cpp
  lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp
  lib/LTO/LTOCodeGenerator.cpp
  lib/LTO/LTOModule.cpp
  lib/Support/CMakeLists.txt
  lib/Support/RandomNumberGenerator.cpp
  lib/Target/X86/CMakeLists.txt
  lib/Target/X86/NOPInsertion.cpp
  lib/Target/X86/X86.h
  lib/Target/X86/X86TargetMachine.cpp
  test/CodeGen/X86/nop-insert-percentage.ll
  test/CodeGen/X86/nop-insert.ll
  test/CodeGen/X86/sched-rnd-test.ll
  test/Makefile
  test/lit.cfg
  test/lit.site.cfg.in
  tools/llc/llc.cpp
  tools/opt/opt.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D1802.1.patch
Type: text/x-patch
Size: 56344 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20131001/671c39de/attachment.bin>


More information about the llvm-commits mailing list