refactor(fuzz): unify fuzz input pipeline#15835
Open
stevencartavia wants to merge 5 commits into
Open
Conversation
stevencartavia
requested review from
0xrusowsky,
DaniPopes,
figtracer,
grandizzy,
mablr and
mattsse
as code owners
July 20, 2026 18:19
mablr
previously approved these changes
Jul 21, 2026
mablr
left a comment
Member
There was a problem hiding this comment.
LGTM.
Persistent CMP dictionary values now correctly survive between runs, maybe it would worth to benchmark.
mablr
dismissed stale reviews from mattsse and themself
July 23, 2026 15:41
The base branch was changed.
…z-inputs Amp-Thread-ID: https://ampcode.com/threads/T-019f8fa9-a3fd-76c8-b6d7-6cfb9696dafc Co-authored-by: Amp <amp@ampcode.com> # Conflicts: # crates/evm/evm/src/executors/corpus.rs # crates/evm/evm/src/executors/fuzz/mod.rs
Member
|
Should we run bench here finally ? |
Member
Author
|
derek bench fuzz compare-ref=master timeout=600 |
Contributor
|
bench (fuzz) event published. Results will be reported separately. View publisher run Config: subcommand: |
mablr
approved these changes
Jul 24, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Stacked on #15814.
This PR moves transaction and sequence generation into
foundry-evm-fuzzbehind concreteTxGenerator,FuzzState,SequenceGenerator, andSequencePlantypes. Stateless fuzzing uses a fixed depth-one plan, while invariant fuzzing retains isolated worker feedback, lazy target discovery, and lazy sequence continuation.The existing execution loops remain separate. Corpus persistence and replay stay in the executor crate, while sequence and ABI/CMP mutation move into the fuzz crate. There is no implicit funding behavior or on-disk format change.
This is the second staged PR because the shared input pipeline must exist before execution campaigns can be unified. Commit, check, replay, shrinking, scheduling, and result semantics remain deferred to PR 3.
Part of OSS-252