foundry_evm/executors/fuzz/
types.rsuse crate::executors::RawCallResult;
use alloy_primitives::{map::HashMap, Bytes, Log};
use foundry_common::evm::Breakpoints;
use foundry_evm_coverage::HitMaps;
use foundry_evm_fuzz::FuzzCase;
use foundry_evm_traces::SparsedTraceArena;
use revm::interpreter::InstructionResult;
#[derive(Debug)]
pub struct CaseOutcome {
pub case: FuzzCase,
pub traces: Option<SparsedTraceArena>,
pub coverage: Option<HitMaps>,
pub breakpoints: Breakpoints,
pub logs: Vec<Log>,
pub deprecated_cheatcodes: HashMap<&'static str, Option<&'static str>>,
}
#[derive(Debug)]
pub struct CounterExampleOutcome {
pub counterexample: (Bytes, RawCallResult),
pub exit_reason: InstructionResult,
pub breakpoints: Breakpoints,
}
#[derive(Debug)]
pub enum FuzzOutcome {
Case(CaseOutcome),
CounterExample(CounterExampleOutcome),
}