about summary refs log tree commit diff
path: root/src/afl-fuzz-one.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/afl-fuzz-one.c')
-rw-r--r--src/afl-fuzz-one.c23
1 files changed, 8 insertions, 15 deletions
diff --git a/src/afl-fuzz-one.c b/src/afl-fuzz-one.c
index 4d1ac541..74123300 100644
--- a/src/afl-fuzz-one.c
+++ b/src/afl-fuzz-one.c
@@ -482,6 +482,8 @@ u8 fuzz_one_original(char** argv) {
 
   if (use_radamsa > 1) goto radamsa_stage;
 
+  // custom_stage:	// not used - yet
+
   if (custom_mutator) {
 
     stage_short = "custom";
@@ -541,13 +543,10 @@ u8 fuzz_one_original(char** argv) {
                          : havoc_max_mult * 100)) ||
       queue_cur->passed_det) {
 
-    if (use_radamsa > 1)
-      goto radamsa_stage;
-    else
 #ifdef USE_PYTHON
-      goto python_stage;
+    goto python_stage;
 #else
-      goto havoc_stage;
+    goto havoc_stage;
 #endif
 
   }
@@ -557,13 +556,10 @@ u8 fuzz_one_original(char** argv) {
 
   if (master_max && (queue_cur->exec_cksum % master_max) != master_id - 1) {
 
-    if (use_radamsa > 1)
-      goto radamsa_stage;
-    else
 #ifdef USE_PYTHON
-      goto python_stage;
+    goto python_stage;
 #else
-      goto havoc_stage;
+    goto havoc_stage;
 #endif
 
   }
@@ -2266,13 +2262,10 @@ retry_splicing:
     out_buf = ck_alloc_nozero(len);
     memcpy(out_buf, in_buf, len);
 
-    if (use_radamsa > 1)
-      goto radamsa_stage;
-    else
 #ifdef USE_PYTHON
-      goto python_stage;
+    goto python_stage;
 #else
-      goto havoc_stage;
+    goto havoc_stage;
 #endif
 
   }