Crate inspector
Expand description
Inspector is a crate that provides a set of traits that allow inspecting the EVM execution.
It is used to implement tracers that can be used to inspect the EVM execution. Implementing inspection is optional and it does not effect the core execution.
Modules§
- handler
- Handler implementations for inspector integration.
- inspectors
- Inspector implementations.
- test_
inspector - Test inspector for testing EVM execution. Test inspector for testing EVM execution.
Structs§
- Count
Inspector - Inspector that counts all opcodes that were called during execution.
- Interpreter
State - Interpreter state at a specific point in execution.
- NoOp
Inspector - Dummy Inspector, helpful as standalone replacement.
- Step
Record - Step execution record.
- Test
Inspector - Test inspector that records execution events.
Enums§
- Inspector
Event - Events captured during EVM execution.
Traits§
- Inspect
Commit Evm - InspectCommitEvm is a API that allows inspecting similar to
InspectEvmbut it has functions that commit the state diff to the database. - Inspect
Evm - InspectEvm is a API that allows inspecting the EVM.
- Inspect
System Call Evm - InspectSystemCallEvm is an API that allows inspecting system calls in the EVM.
- Inspector
- EVM hooks into execution.
- Inspector
EvmTr - Inspector EVM trait. Extends the
EvmTrtrait with inspector related methods. - Inspector
Frame - Trait that extends the
FrameTrtrait with additional functionality that is needed for inspection. - Inspector
Handler - Trait that extends
Handlerwith inspection functionality. - Journal
Ext - Extends the journal with additional methods that are used by the inspector.
Functions§
- inspect_
instructions - Run Interpreter loop with inspection support.