[PATCH] Insert random NOPs to increase security against ROP attacks (clang)
Stephen Crane
sjcrane at uci.edu
Fri Dec 19 13:51:20 PST 2014
================
Comment at: include/clang/Driver/CC1Options.td:198
@@ -197,1 +197,3 @@
+def noop_insertion : Flag<["-"], "noop-insertion">,
+ HelpText<"Randomly insert NOOPs">;
def masm_verbose : Flag<["-"], "masm-verbose">,
----------------
I think this should be a CC1 option to simplify the "public" interface to just -fdiversify. However, I'm completely open to switching this to a frontend option instead.
http://reviews.llvm.org/D3393
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
More information about the cfe-commits
mailing list