Skip to main content

Module debug

Module debug 

Source

Modulesยง

sources ๐Ÿ”’

Structsยง

ArtifactData
ContractSources
Container with artifacts data useful for identifying individual execution steps.
DebugSourceScope
DebugStepsWalker ๐Ÿ”’
Walks through the [CallTraceStep]s attempting to match JUMPs to internal functions.
DebugTraceIdentifier
DebugVariable
SourceData

Functionsยง

canonical_function_signature ๐Ÿ”’
decode_from_calldata ๐Ÿ”’
decode_from_memory ๐Ÿ”’
Decodes given [DynSolType] from memory.
decode_parameter ๐Ÿ”’
decode_step_parameters
Given [Parameters] and [CallTraceStep], tries to decode parameters by using stack, memory, and call data.
function_signature
Formats an ABI-style function signature from a name and canonical parameter types.
internal_function_identifier ๐Ÿ”’
memory_range ๐Ÿ”’
parse_function_from_loc ๐Ÿ”’
Tries to parse the function name from the source code and detect the contract name which contains the given function.
parse_types ๐Ÿ”’
Parses function input and output types into [Parameters].
source_span ๐Ÿ”’
stack_slots ๐Ÿ”’