Skip to content

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

Merged
anishnaik merged 5 commits intomasterfrom
fix/weight-corpus
Jan 9, 2025
Merged

fix: weight corpus by timestamp to favor 'hardest-to-discover' inputs#383
anishnaik merged 5 commits intomasterfrom
fix/weight-corpus

Conversation

@0xalpharush
Copy link
Copy Markdown
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
@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