Skip to main content

Module state

Module state 

Source

Re-exportsยง

use crate::BasicTxDetails; ๐Ÿ”’
use crate::invariant::FuzzRunIdentifiedContracts; ๐Ÿ”’
use crate::invariant::TargetedContract; ๐Ÿ”’
use crate::invariant::TargetedContractEvent; ๐Ÿ”’
use crate::invariant::TargetedContracts; ๐Ÿ”’
use crate::strategies::literals::LiteralsDictionary; ๐Ÿ”’
use alloy_dyn_abi::DynSolType; ๐Ÿ”’
use alloy_dyn_abi::DynSolValue; ๐Ÿ”’
use alloy_dyn_abi::EventExt; ๐Ÿ”’
use alloy_dyn_abi::FunctionExt; ๐Ÿ”’
use alloy_json_abi::Function; ๐Ÿ”’
use alloy_primitives::Address; ๐Ÿ”’
use alloy_primitives::B256; ๐Ÿ”’
use alloy_primitives::Bytes; ๐Ÿ”’
use alloy_primitives::Log; ๐Ÿ”’
use alloy_primitives::U256; ๐Ÿ”’
use alloy_primitives::keccak256; ๐Ÿ”’
use alloy_primitives::map::AddressIndexSet; ๐Ÿ”’
use alloy_primitives::map::B256IndexSet; ๐Ÿ”’
use alloy_primitives::map::HashMap; ๐Ÿ”’
use alloy_primitives::map::HashSet; ๐Ÿ”’
use alloy_primitives::map::IndexMap; ๐Ÿ”’
use alloy_primitives::map::IndexSet; ๐Ÿ”’
use evm2::bytecode::Bytecode; ๐Ÿ”’
use evm2::evm::AccountChanges; ๐Ÿ”’
use evm2::evm::AccountInfo; ๐Ÿ”’
use evm2::evm::CacheDB; ๐Ÿ”’
use foundry_common::ignore_metadata_hash; ๐Ÿ”’
use foundry_common::slot_identifier::SlotIdentifier; ๐Ÿ”’
use foundry_common::slot_identifier::SlotInfo; ๐Ÿ”’
use foundry_config::FuzzDictionaryConfig; ๐Ÿ”’
use foundry_evm_core::bytecode::InstIter; ๐Ÿ”’
use foundry_evm_core::eip2935::is_history_storage_address; ๐Ÿ”’
use std::cell::RefCell; ๐Ÿ”’
use std::fmt; ๐Ÿ”’
use std::rc::Rc; ๐Ÿ”’
use std::sync::Arc; ๐Ÿ”’

Structsยง

EvmFuzzState
Immutable fuzz dictionary seed used by parallel stateless fuzz workers.
FuzzDictionary
FuzzState
Worker-local fuzz state.

Enumsยง

FuzzStateInner ๐Ÿ”’

Constantsยง

MAX_ADDRESS_SAMPLES ๐Ÿ”’
Maximum number of account addresses kept as typed address samples.
MAX_COMPOSITE_BYTES_LEN ๐Ÿ”’
The maximum length in bytes of a bytes or string value recorded whole on its own in the composite dictionary. Longer values are not recorded, since they have no word leaves; composites containing them are still recorded whole.
MAX_PERSISTENT_VALUES ๐Ÿ”’
Maximum number of persistent values from sancov trace-cmp.
MAX_SLOT_INFO_CACHE_ENTRIES ๐Ÿ”’
Maximum cached storage slot layout lookups per fuzz dictionary.
PUSH_BYTE_ANALYSIS_LIMIT ๐Ÿ”’
The maximum number of bytes we will look at in bytecodes to find push bytes (24 KiB).

Traitsยง

DictionaryRead ๐Ÿ”’

Functionsยง

canonical_type ๐Ÿ”’
Returns the type with every struct replaced by its plain tuple, which is how ABI function parameters resolve, so values decoded with struct names still match parameter types.