Skip to main content

Module builder

Module builder 

Source
Expand description

Debugger builder.

Re-exportsΒ§

use crate::soldb::SoldbDebugger; πŸ”’
use crate::soldb::write_bundle; πŸ”’
use alloy_primitives::Address; πŸ”’
use alloy_primitives::Bytes; πŸ”’
use alloy_primitives::map::HashMap; πŸ”’
use eyre::Result; πŸ”’
use foundry_common::ContractsByArtifact; πŸ”’
use foundry_common::get_contract_name; πŸ”’
use foundry_evm_core::Breakpoints; πŸ”’
use foundry_evm_traces::CallTraceArena; πŸ”’
use foundry_evm_traces::CallTraceDecoder; πŸ”’
use foundry_evm_traces::CallTraceNode; πŸ”’
use foundry_evm_traces::Traces; πŸ”’
use foundry_evm_traces::debug::ContractSources; πŸ”’
use foundry_evm_traces::debug::DebugRecording; πŸ”’
use std::path::Path; πŸ”’

StructsΒ§

DebuggerBuilder
Debugger builder.

FunctionsΒ§

identify_code πŸ”’
Identifies code by an exact match against local artifacts. Identities that aren’t local artifacts (e.g. from Etherscan) can’t be checked, so they are kept when nothing matches.
node_contract_name πŸ”’
Identifies the contract executed by node from its recorded bytecode, since an address can execute different code over time (e.g. after vm.etch).