Go to file
JF Bastien dcdd5ad252 Insert random noops to increase security against ROP attacks (llvm)
A pass that adds random noops to X86 binaries to introduce diversity with the goal of increasing security against most return-oriented programming attacks.

Command line options:
  -noop-insertion // Enable noop insertion.
  -noop-insertion-percentage=X // X% of assembly instructions will have a noop prepended (default: 50%, requires -noop-insertion)
  -max-noops-per-instruction=X // Randomly generate X noops per instruction. ie. roll the dice X times with probability set above (default: 1). This doesn't guarantee X noop instructions.

In addition, the following 'quick switch' in clang enables basic diversity using default settings (currently: noop insertion and schedule randomization; it is intended to be extended in the future).
  -fdiversify

This is the llvm part of the patch.
clang part: D3393

http://reviews.llvm.org/D3392
Patch by Stephen Crane (@rinon)

llvm-svn: 225908
2015-01-14 01:07:26 +00:00
clang Update HelpText for -fsanitize= option. 2015-01-14 00:51:17 +00:00
clang-tools-extra Make LoopConvert work with containers that are used like arrays. 2015-01-12 13:17:56 +00:00
compiler-rt Update test cases for new -fsanitize-recover= semantics. 2015-01-12 23:02:42 +00:00
debuginfo-tests New round of fixes for "Always compile debuginfo-tests for the host triple" 2014-10-18 23:47:59 +00:00
libclc Use amdgcn triple for SI+ GPUs 2015-01-06 20:42:12 +00:00
libcxx Make regex::assign not clobber the regex in case of failure. Fixes PR#22213 2015-01-13 16:49:52 +00:00
libcxxabi Fix some formatting I messed up in r225187. 2015-01-05 19:31:59 +00:00
lld Revert "Convert other drivers to use WrapperNode" and subsequent commits. 2015-01-14 00:21:34 +00:00
lldb Save & restore the array of which registers have already been 2015-01-13 23:48:53 +00:00
llgo Roll gotools to 47f2109c. 2015-01-13 20:45:08 +00:00
llvm Insert random noops to increase security against ROP attacks (llvm) 2015-01-14 01:07:26 +00:00
openmp fixed the missed bracket introduced by checkin rev 225792 2015-01-13 15:16:49 +00:00
polly Use types of matching size when generating multi-dimensional address expressions 2015-01-13 19:37:59 +00:00