afl_custom_describe api added

This commit is contained in:
Dominik Maier
2020-12-03 19:22:44 +01:00
parent aca5b55b6d
commit a19b3022d9
6 changed files with 143 additions and 35 deletions

View File

@ -1790,11 +1790,16 @@ custom_mutator_stage:
afl->current_custom_fuzz = el;
if (el->afl_custom_fuzz_count)
if (el->afl_custom_fuzz_count) {
afl->stage_max = el->afl_custom_fuzz_count(el->data, out_buf, len);
else
} else {
afl->stage_max = saved_max;
}
has_custom_fuzz = true;
afl->stage_short = el->name_short;