internal/fuzz: limit the number of consecutive mutations applied to an input #49601
Labels
FrozenDueToAge
fuzz
Issues related to native fuzzing support
NeedsFix
The path to resolution is known, but the work has not been done.
Milestone
Currently, each time an input is sent to the worker a very large number of mutations can be consecutively applied. Resulting in a significantly different input at the end of the fuzzing than at the start. This significantly reduces the diversity of inputs, since a new "interesting" input is likely to be very different from the original input.
Instead we should limit the number of mutations to some small number, resetting the input back to its initial state if nothing new if found after that number of mutations (this matches the behavior of libFuzzer.) This is related to #47090.
Requesting a freeze exception, since this isn't a bug but has a significant impact on the efficiency/performance of the fuzzing engine, and has little risk.
cc @golang/release
The text was updated successfully, but these errors were encountered: