added afl_custom_mutator_only

This commit is contained in:
van Hauser
2019-09-16 16:17:16 +02:00
parent 46ac559003
commit 428b88a82a
8 changed files with 33 additions and 8 deletions

View File

@ -516,7 +516,14 @@ u8 fuzz_one_original(char** argv) {
stage_finds[STAGE_CUSTOM_MUTATOR] += new_hit_cnt - orig_hit_cnt;
stage_cycles[STAGE_CUSTOM_MUTATOR] += stage_max;
goto abandon_entry;
if (custom_only) {
/* Skip other stages */
ret_val = 0;
goto abandon_entry;
}
}