Skip to content

fuzzer web interface: ability to scroll to source locations that newly gain coverage #20996

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
andrewrk opened this issue Aug 8, 2024 · 1 comment
Labels
enhancement Solving this issue will likely involve adding new logic or components to the codebase. fuzzing
Milestone

Comments

@andrewrk
Copy link
Member

andrewrk commented Aug 8, 2024

Extracted from #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.

@andrewrk andrewrk added enhancement Solving this issue will likely involve adding new logic or components to the codebase. fuzzing labels Aug 8, 2024
@andrewrk andrewrk added this to the 1.1.0 milestone Aug 8, 2024
@xdBronch
Copy link
Contributor

xdBronch commented Aug 8, 2024

I think a nice UX would be to automatically disable it if the user scrolls manually

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Solving this issue will likely involve adding new logic or components to the codebase. fuzzing
Projects
None yet
Development

No branches or pull requests

2 participants