From f2f50c27be37b74beb654c48f9f4f64398d5785b Mon Sep 17 00:00:00 2001 From: van Hauser Date: Tue, 20 Mar 2018 23:02:00 +0100 Subject: pre -x --- afl-dyninst.cpp | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/afl-dyninst.cpp b/afl-dyninst.cpp index d9db33a..5ba3d3c 100644 --- a/afl-dyninst.cpp +++ b/afl-dyninst.cpp @@ -32,15 +32,15 @@ set < string > skipAddresses; set < unsigned long > exitAddresses; unsigned int bbMinSize = 1; int bbSkip = 0; -bool skipMainModule = false, do_bb = true, dynfix = false; +bool skipMainModule = false, do_bb = true, dynfix = false, performance = false; BPatch_function *save_rdi; BPatch_function *restore_rdi; const char *instLibrary = "libAflDyninst.so"; -static const char *OPT_STR = "fi:o:l:e:E:vs:dr:m:S:D"; -static const char *USAGE = "-dfvD -i -o -l -e
-E
-s -S -m \n \ +static const char *OPT_STR = "fi:o:l:e:E:vs:dr:m:S:Dx"; +static const char *USAGE = "-dfvxD -i -o -l -e
-E
-s -S -m \n \ -i: input binary \n \ -o: output binary\n \ -d: do not instrument the binary, only supplied libraries\n \ @@ -53,6 +53,7 @@ static const char *USAGE = "-dfvD -i -o -l -e