diff options
author | hexcoder- <heiko@hexco.de> | 2020-01-07 07:12:05 +0100 |
---|---|---|
committer | hexcoder- <heiko@hexco.de> | 2020-01-07 07:12:05 +0100 |
commit | f88910755b280fdd8681dfcfff62d76a4fc416e5 (patch) | |
tree | 320e534c6b347b9289eb0f43538f8ff132cf44d6 /src/afl-fuzz-one.c | |
parent | d176c59ea28c3830dce2b7aa5ac404bbd769420b (diff) | |
parent | b2bee5c32a4bd4d7b063f1189ac71a9658114f71 (diff) | |
download | afl++-f88910755b280fdd8681dfcfff62d76a4fc416e5.tar.gz |
Merge branch 'master' of https://github.com/vanhauser-thc/AFLplusplus
Diffstat (limited to 'src/afl-fuzz-one.c')
-rw-r--r-- | src/afl-fuzz-one.c | 23 |
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 } |