mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-15 03:18:07 +00:00
afl_custom_describe api added
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user