Skip to content

feat(fuzz): keep observed calls out of corpus - #15817

Open
decofe wants to merge 5 commits into
centaur/immediate-corpus-persistence-1784381329from
centaur/observed-call-dictionary-1784381979
Open

feat(fuzz): keep observed calls out of corpus#15817
decofe wants to merge 5 commits into
centaur/immediate-corpus-persistence-1784381329from
centaur/observed-call-dictionary-1784381979

Conversation

@decofe

@decofe decofe commented Jul 18, 2026

Copy link
Copy Markdown
Contributor

Stacked on #15816.

Keep coverage-winning observed calls in a separate, deduplicated generation dictionary, analogous to Echidna GenDict.wholeCalls. Sibling zero-input tests contribute direct observed calls only when their execution adds coverage; they are never persisted or counted as corpus entries. A later fuzz execution must gain coverage before normal corpus promotion.

Validation: cargo +nightly fmt and git diff --check pass. Focused foundry-evm tests are blocked before compilation because Cargo cannot fetch the pinned foundry-rs/optimism Git dependency (HTTP 401).

Prompted by: @0xalpharush

@0xalpharush

Copy link
Copy Markdown
Collaborator

TBD if this is desired 46180e7

I think also mutating immediately upon selecting an observed call remains

mablr added 2 commits July 22, 2026 15:42
Initialize the isolated coverage snapshots in the test-trace seeding path where they are consumed. Remove a stale test variable so the branch remains warning-free.
Comment thread crates/evm/evm/src/executors/corpus.rs Outdated
Comment thread crates/evm/evm/src/executors/corpus.rs Outdated
…entaur/observed-call-dictionary-1784381979

# Conflicts:
#	crates/evm/evm/src/executors/corpus.rs
#	crates/evm/evm/src/executors/invariant/mod.rs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

3 participants