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
..
2014-12-15 19:07:53 +00:00
2014-12-15 19:07:53 +00:00
2014-12-15 19:07:53 +00:00
2014-12-15 19:07:53 +00:00
2014-12-15 19:07:53 +00:00
2014-12-15 19:07:53 +00:00
2014-12-15 19:07:53 +00:00
2014-12-15 19:07:53 +00:00
2014-12-15 19:07:53 +00:00
2014-12-15 19:07:53 +00:00
2014-12-15 19:07:53 +00:00
2014-12-15 19:07:53 +00:00
2014-12-15 19:07:53 +00:00
2014-12-15 19:07:53 +00:00
2014-12-15 19:07:53 +00:00
2014-12-15 19:07:53 +00:00
2014-12-15 19:07:53 +00:00
2014-12-15 19:07:53 +00:00
2014-12-15 19:07:53 +00:00
2014-12-15 19:07:53 +00:00
2014-12-16 20:15:45 +00:00
2014-12-15 19:07:53 +00:00
2014-12-15 19:07:53 +00:00
2014-12-15 19:07:53 +00:00
2014-12-15 22:34:58 +00:00
2015-01-10 23:41:24 +00:00
2014-12-17 17:52:12 +00:00
2015-01-11 01:36:20 +00:00
2014-12-15 19:07:53 +00:00
2014-12-11 23:07:52 +00:00
2014-12-18 12:28:22 +00:00
2014-12-23 10:30:39 +00:00
2014-12-22 13:52:48 +00:00
2014-12-12 17:02:18 +00:00
2014-12-15 19:07:53 +00:00
2014-12-12 15:10:43 +00:00
2014-12-16 18:24:07 +00:00
2014-12-23 09:36:28 +00:00
2014-12-12 15:10:43 +00:00
2014-12-16 18:24:07 +00:00
2014-12-23 10:30:39 +00:00
2014-12-18 12:28:22 +00:00
2014-12-22 13:52:48 +00:00
2014-12-12 17:02:18 +00:00
2014-12-15 19:07:53 +00:00
2014-12-12 15:10:43 +00:00
2015-01-11 01:36:20 +00:00
2014-12-15 19:07:53 +00:00
2014-12-28 13:15:05 +00:00
2014-12-16 21:57:18 +00:00
2014-12-16 20:15:45 +00:00
2014-12-16 20:15:45 +00:00
2014-12-16 20:15:45 +00:00
2015-01-09 03:01:31 +00:00
2014-12-16 20:15:45 +00:00
2014-12-22 18:11:52 +00:00
2015-01-06 22:55:16 +00:00
2015-01-06 22:55:16 +00:00
2015-01-06 22:55:16 +00:00
2015-01-10 19:45:33 +00:00
2015-01-07 17:33:03 +00:00
2014-12-20 02:19:22 +00:00
2014-12-15 19:07:53 +00:00
2015-01-06 17:41:18 +00:00
2014-12-15 19:07:53 +00:00
2014-12-15 19:07:53 +00:00
2014-12-15 19:07:53 +00:00
2015-01-06 22:55:16 +00:00
2015-01-06 22:55:16 +00:00
2014-12-24 23:06:55 +00:00
2014-12-24 23:06:55 +00:00
2014-12-15 19:07:53 +00:00
2014-12-28 23:37:11 +00:00
2014-12-19 22:19:48 +00:00
2014-12-19 22:19:48 +00:00
2015-01-11 01:36:20 +00:00
2014-12-15 19:07:53 +00:00
2015-01-13 01:51:34 +00:00
2014-12-15 19:07:53 +00:00
2014-12-15 19:07:53 +00:00
2014-12-15 19:07:53 +00:00
2014-12-28 15:20:57 +00:00
2015-01-08 07:57:27 +00:00
2014-12-15 19:07:53 +00:00
2014-12-15 19:07:53 +00:00
2015-01-06 22:55:16 +00:00
2015-01-10 19:45:33 +00:00
2014-12-31 00:40:28 +00:00
2014-12-15 19:07:53 +00:00
2014-12-16 20:15:45 +00:00
2014-12-16 20:15:45 +00:00
2014-12-15 19:07:53 +00:00
2015-01-11 01:36:20 +00:00
2014-12-22 23:58:37 +00:00
2015-01-12 23:28:23 +00:00
2014-12-15 19:07:53 +00:00
2014-12-15 19:07:53 +00:00
2014-12-15 19:07:53 +00:00
2014-12-15 19:07:53 +00:00
2015-01-14 01:07:26 +00:00
2015-01-14 01:07:26 +00:00
2014-12-16 20:15:45 +00:00
2014-12-15 19:07:53 +00:00
2014-12-15 19:07:53 +00:00
2014-12-16 20:15:45 +00:00
2014-12-16 20:15:45 +00:00
2014-12-15 19:07:53 +00:00
2014-12-15 19:07:53 +00:00
2014-12-15 19:07:53 +00:00
2014-12-24 22:44:29 +00:00
2015-01-11 01:36:20 +00:00
2014-12-16 20:15:45 +00:00
2015-01-11 07:29:51 +00:00
2014-12-15 19:07:53 +00:00
2014-12-15 19:07:53 +00:00
2015-01-08 01:16:39 +00:00
2014-12-16 20:15:45 +00:00
2014-12-19 22:19:48 +00:00
2014-12-30 20:05:19 +00:00
2015-01-14 01:05:27 +00:00
2015-01-14 01:05:27 +00:00
2014-12-21 16:48:42 +00:00
2014-12-15 19:07:53 +00:00
2014-12-15 19:07:53 +00:00
2014-12-16 20:15:45 +00:00
2014-12-15 19:07:53 +00:00
2015-01-11 01:36:20 +00:00
2014-12-19 22:16:28 +00:00
2014-12-15 13:18:21 +00:00
2015-01-12 20:31:30 +00:00
2015-01-07 18:14:07 +00:00
2014-12-15 19:07:53 +00:00
2014-12-15 19:07:53 +00:00
2014-12-15 19:07:53 +00:00
2015-01-07 22:48:01 +00:00
2015-01-07 19:07:50 +00:00
2015-01-07 22:48:01 +00:00
2014-12-16 23:41:59 +00:00
2015-01-06 07:12:52 +00:00
2014-12-16 16:30:01 +00:00
2014-12-15 19:07:53 +00:00
2014-12-15 19:07:53 +00:00
2014-12-16 20:15:45 +00:00
2015-01-11 01:36:20 +00:00
2014-12-16 21:57:18 +00:00
2014-12-23 00:35:23 +00:00
2014-12-22 19:45:43 +00:00
2015-01-11 01:36:20 +00:00
2015-01-13 22:40:15 +00:00
2015-01-13 23:27:55 +00:00
2015-01-10 19:45:33 +00:00
2015-01-04 17:52:00 +00:00
2014-12-15 22:45:48 +00:00
2014-12-12 15:10:43 +00:00
2014-12-15 19:07:53 +00:00
2014-12-19 22:19:48 +00:00
2015-01-11 04:39:24 +00:00
2014-12-15 19:07:53 +00:00