[PATCH] Adding diversity for security
Julian Lettner
julian.lettner at gmail.com
Wed Jan 22 13:20:47 PST 2014
Nadav mentioned that we do not want to slow down users by adding a flag 'isInsertedNOP' to the MachineInst class and checking against it in the MachineBasicBlock::getFirstTerminator methods.
This update addresses this concern by simply not inserting NOPs between terminators (less secure, but simplest solution for now).
Hi rinon, ahomescu,
http://llvm-reviews.chandlerc.com/D1802
CHANGE SINCE LAST DIFF
http://llvm-reviews.chandlerc.com/D1802?vs=4977&id=6581#toc
Files:
include/llvm/CodeGen/CommandFlags.h
include/llvm/MC/MCRegisterInfo.h
include/llvm/Support/RandomNumberGenerator.h
include/llvm/Target/TargetOptions.h
lib/CodeGen/LLVMBuild.txt
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
tools/llc/llc.cpp
tools/llvm-lto/llvm-lto.cpp
tools/lto/lto.cpp
tools/opt/opt.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D1802.8.patch
Type: text/x-patch
Size: 28924 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140122/abde2659/attachment.bin>
More information about the llvm-commits
mailing list