We only run the 3rd check if 2nd check finds unstable edges.
3rd UpdateUnstableCounters is now merged with ApplyUnstableCounters to only run 1 iteration.
Patch by Kyungtak Woo (@kevinwkt).
Differential D50411
[libFuzzer] Optimize handle unstable checks by reducing iterations kevinwkt on Aug 7 2018, 3:22 PM. Authored by
Details We only run the 3rd check if 2nd check finds unstable edges. Patch by Kyungtak Woo (@kevinwkt).
Diff Detail
Event TimelineComment Actions Nice! Do you have an estimate on the performance improvement? The code becomes slightly harder to read, but I guess it's worth it.
Comment Actions Obviously this would depend on how big and unstable the target is. We would be getting rid of the extra 3rd run for every new deterministic run we find.
|
Just to verify: if we haven't detected any instability, we don't need to apply the counters, right?