about summary refs log tree commit diff
path: root/src/afl-fuzz.c
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2019-10-24 16:53:30 +0200
committervan Hauser <vh@thc.org>2019-10-24 16:53:30 +0200
commit6e5143681c0784d653d22a2b3791fff2b7ccf9ef (patch)
tree34754cf0f9995470d1e3c1802822261dbb4ae3b8 /src/afl-fuzz.c
parent4183bc35b2ccfbe9277b2ac4fca7c44f37bebce8 (diff)
downloadafl++-6e5143681c0784d653d22a2b3791fff2b7ccf9ef.tar.gz
enhanced radamsa integration
Diffstat (limited to 'src/afl-fuzz.c')
-rw-r--r--src/afl-fuzz.c11
1 files changed, 8 insertions, 3 deletions
diff --git a/src/afl-fuzz.c b/src/afl-fuzz.c
index d5dfa7cc..14462fb7 100644
--- a/src/afl-fuzz.c
+++ b/src/afl-fuzz.c
@@ -55,7 +55,10 @@ static void usage(u8* argv0) {
       "  -m megs       - memory limit for child process (%d MB)\n"
       "  -Q            - use binary-only instrumentation (QEMU mode)\n"
       "  -U            - use unicorn-based instrumentation (Unicorn mode)\n"
-      "  -W            - use qemu-based instrumentation with Wine (Wine mode)\n"
+      "  -W            - use qemu-based instrumentation with Wine (Wine mode)\n\n"
+
+      "Mutator settings:\n"
+      "  -R[R]         - add Radamsa as mutator, add another -R to exclusivly run it\n"
       "  -L minutes    - use MOpt(imize) mode and set the limit time for "
       "entering the\n"
       "                  pacemaker mode (minutes of no new paths, 0 = "
@@ -514,8 +517,10 @@ int main(int argc, char** argv) {
      
       case 'R':
       
-        if (use_radamsa) FATAL("Multiple -R options not supported");
-        use_radamsa = 1;
+        if (use_radamsa)
+          use_radamsa = 2;
+        else
+          use_radamsa = 1;
 
         break;