Skip to content
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

fix: weight corpus by timestamp to favor 'hardest-to-discover' inputs #383

Merged
merged 5 commits into from
Jan 9, 2025

Conversation

0xalpharush
Copy link
Contributor

@0xalpharush 0xalpharush commented Jun 26, 2024

When the fuzzer is restarted, it currently weights all seeds equally despite use the aggregate call count as it does at runtime. The thinking is that an input that took the longest to discover. Using the timestamp of the corpus sort of approximates using the call count at runtime (time and call count both increase as the fuzzer runs). This is how Echidna does it fwiw

@anishnaik anishnaik marked this pull request as ready for review January 7, 2025 15:38
@anishnaik anishnaik merged commit 5642046 into master Jan 9, 2025
12 checks passed
@anishnaik anishnaik deleted the fix/weight-corpus branch January 9, 2025 15:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants