Re-exportsยง
use alloy_primitives::Address;๐use alloy_primitives::U256;๐use alloy_primitives::map::Entry;๐use alloy_primitives::map::HashMap;๐use core::fmt;๐use core::hash::Hash;๐use core::hash::Hash;๐use core::hash::Hasher;๐use evm2::Inspector;๐use evm2::InspectorConfig;๐use evm2::OpcodeSet;๐use evm2::interpreter::Interpreter;๐use evm2::interpreter::op as opcode;๐use foundry_evm_core::edgecov::InstrumentedEdgeHit;๐use foundry_evm_core::edgecov::MAX_CMP_LOG_SITES;๐use foundry_evm_core::edgecov::MAX_CMP_OBSERVATIONS_PER_SITE;๐use foundry_evm_core::utils::opcodes;๐
Structsยง
- CmpOperands
- A comparison operand pair captured during execution.
- CmpSite
Key ๐ - Edge
CovConfig - Configuration for
EdgeCovInspector. - Edge
CovHit - Edge
CovInspector - An
Inspectorthat tracks edge coverage. Covered edges will not wrap to zero e.g. a loop edge hit more than 255 will still be retained. - Edge
Index Map - EdgeKey
- Identity of a control-flow edge: the jump at
pcin the code running ataddresstojump_dest, optionally split by call depth. - Packed
Edge ๐ - An
EdgeKeyin 64 bits: the index of its address among those of the execution, its depth, its pc and its jump destination.
Enumsยง
- Edge
CovKind - Edge coverage collection kind.
- Edge
Coverage
Constantsยง
- CMP_
OPCODES ๐ - The instructions at which the inspector records comparison operands.
- EDGE_
OPCODES ๐ - The instructions at which the inspector records an edge.
- FNV_
OFFSET_ ๐BASIS - FNV_
PRIME ๐ - MAX_
EDGE_ COUNT - Default capacity for the hitcount buffer.
Functionsยง
- hash_
bytes ๐