revm_
bytecode
2.0.0
Module legacy
Module Items
Structs
Functions
In crate revm_
bytecode
revm_bytecode
Module
legacy
Copy item path
Source
Structs
§
Jump
Table
A table of valid
jump
destinations. Cheap to clone and memory efficient, one bit per opcode.
Legacy
Analyzed
Bytecode
Legacy analyzed bytecode represents the original bytecode format used in Ethereum.
Legacy
RawBytecode
Used only as intermediate representation for legacy bytecode. Please check
LegacyAnalyzedBytecode
for the main structure that is used in Revm.
Functions
§
analyze_
legacy
Analyze the bytecode to find the jumpdests. Used to create a jump table that is needed for
crate::LegacyAnalyzedBytecode
. This function contains a hot loop and should be optimized as much as possible.