Expand description
EVM executor abstractions, which can execute calls.
Used for running tests, scripts, and interacting with the inner backend which holds the state.
Re-exportsยง
pub use fuzz::FuzzedExecutor;pub use invariant::InvariantExecutor;
Modulesยง
- ITest
- Module containing a contractโs types and functions.
- builder ๐
- corpus ๐
- Corpus management for parallel fuzzing with coverage-guided mutation.
- corpus_
io ๐ - Shared helpers for reading on-disk corpus directories.
- fuzz
- invariant
- sancov ๐
- showmap ๐
- AFL-
afl-showmap-style corpus replay. - trace ๐
Structsยง
- Call
Result - The result of a call.
- Deploy
Result - The result of a deployment.
- Dynamic
Target Ctx - Refs used during corpus replay to register contracts deployed mid-sequence as fuzz targets,
mirroring the campaign loop so follow-up calls into them arenโt dropped by
can_replay_tx. - Early
Exit - Helper struct to enable early exit behavior: when one test fails or run is interrupted, all other tests stop early.
- Execution
Err - Represents the context after an execution error occurred.
- Executor
- EVM executor.
- Executor
Builder - The builder that allows to configure an evm
Executorwhich a stack of optional [revm::Inspector]s, such asCheatcodes. - Fuzz
Test Timer - Timer for a fuzz test.
- RawCall
Result - The result of a raw call.
- Showmap
Opts - Per-replay options.
- Showmap
Stats - Stats returned from a single trial replay.
- Tracing
Executor - A default executor with tracing enabled
Enumsยง
- EvmError
- Showmap
Domain - Which coverage bitmap(s) to dump.
Constantsยง
Functionsยง
- collect_
debug_ ๐bytecodes - convert_
executed_ ๐result - Converts the data aggregated in the
inspectorandcallto aRawCallResult - replay_
corpus_ to_ showmap - Replay every corpus entry under
corpus_dirand emit showmap files.