When a red dot turns to green because the fuzzer discovered an input that found a new edge in the control flow graph, it should load the respective source file and scroll that source location into view.
This should be a UI option that is toggleable, with a sensible default that is convenient (enabled by default under the right conditions) and not annoying (disabled by default under the right conditions). For example, it should only jump around a maximum of once per second or something like that.
When many new source locations gain coverage, there should be heuristics to pick one that is nearest to the current view. Same file, if possible.
Extracted from https://github.com/ziglang/zig/pull/20958.
When a red dot turns to green because the fuzzer discovered an input that found a new edge in the control flow graph, it should load the respective source file and scroll that source location into view.
This should be a UI option that is toggleable, with a sensible default that is convenient (enabled by default under the right conditions) and not annoying (disabled by default under the right conditions). For example, it should only jump around a maximum of once per second or something like that.
When many new source locations gain coverage, there should be heuristics to pick one that is nearest to the current view. Same file, if possible.