Expand description
Records the debuggerβs opcode steps straight into a SolDB step table.
Re-exportsΒ§
use alloy_primitives::U256;πuse foundry_evm_traces::debug::DebugRecording;πuse foundry_evm_traces::debug::DebugStepSink;πuse foundry_evm_traces::debug::RecordedFrame;πuse foundry_evm_traces::debug::StepConverter;πuse revm::Inspector;πuse revm::JournalEntry;πuse revm::bytecode::opcode::OpCode;πuse revm::context::ContextTr;πuse revm::context::JournalTr;πuse revm::inspector::JournalExt;πuse revm::interpreter::CallInputs;πuse revm::interpreter::CallOutcome;πuse revm::interpreter::CreateInputs;πuse revm::interpreter::CreateOutcome;πuse revm::interpreter::InstructionResult;πuse revm::interpreter::Interpreter;πuse revm::interpreter::interpreter_types::Jumps;πuse revm::interpreter::interpreter_types::LoopControl;πuse revm::interpreter::interpreter_types::ReturnData;πuse soldb_core::EvmWord;πuse soldb_core::StepRecord;πuse soldb_core::StepTable;πuse std::borrow::Borrow;πuse std::fmt;πuse std::sync::Arc;π
StructsΒ§
- Debug
Recorder - Records every opcode step of the debugged calls into a [
StepTable], with the steps that each call and creation spans. - Open
Frame π - A frame that runs now.
- Pending
Step π - What a step records when it starts.
ConstantsΒ§
- MAX_
INPUTS π - The most stack words one instruction reads:
SWAP16reads 17.
FunctionsΒ§
- memory_
write π - The destination a memory-writing opcode takes from its pre-execution stack. Memory-reading opcodes can expand memory but leave all new bytes zero.