llvm-6502/test
JF Bastien 21befa7761 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)

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@225908 91177308-0d34-0410-b5e6-96231b3b80d8
2015-01-14 01:07:26 +00:00
..
Analysis Fix PR22179. 2015-01-10 23:41:24 +00:00
Assembler AsmParser/Bitcode: Add support for MDLocation 2015-01-13 21:10:44 +00:00
Bindings Disable Go bindings test under UBSan. 2015-01-09 23:17:23 +00:00
Bitcode Use the DiagnosticHandler to print diagnostics when reading bitcode. 2015-01-10 00:07:30 +00:00
BugPoint
CodeGen Insert random noops to increase security against ROP attacks (llvm) 2015-01-14 01:07:26 +00:00
DebugInfo Debug Info: Move the complex expression handling (=the remainder) of 2015-01-13 23:39:11 +00:00
ExecutionEngine [MCJIT] Remove a few redundant MCJIT tests, and drop the extraneous datalayout 2015-01-08 18:52:15 +00:00
Feature
FileCheck
Instrumentation
Integer
JitListener Fix the JIT event listeners and replace the associated tests. 2015-01-09 22:53:24 +00:00
Linker Utils: Keep distinct MDNodes distinct in MapMetadata() 2015-01-08 22:42:30 +00:00
LTO Put this test's input in the Inputs directory where it belongs, rather than 2015-01-12 08:50:47 +00:00
MC Add r224985 back with two fixes. 2015-01-12 18:13:07 +00:00
Object
Other [PM] Remove the defunt CGSCC-specific debug flag. 2015-01-13 22:45:13 +00:00
SymbolRewriter
TableGen
tools Add the option, -universal-headers, used with -macho to print the Mach-O universal headers to llvm-objdump. 2015-01-09 19:22:37 +00:00
Transforms [SimplifyLibCalls] Don't try to simplify indirect calls. 2015-01-14 00:55:05 +00:00
Unit
Verifier Rename llvm.recoverframeallocation to llvm.framerecover 2015-01-13 01:51:34 +00:00
YAMLParser
.clang-format
CMakeLists.txt
lit.cfg
lit.site.cfg.in
Makefile
Makefile.tests
TestRunner.sh