Expand description
Internal EVM bytecode and opcode representation.
Re-exportsยง
Modulesยง
- asm ๐
- EVM bytecode assembler.
- fmt ๐
- info ๐
- interner ๐
- opcode ๐
- passes ๐
- Analysis and optimization passes over EVM bytecode.
Macrosยง
- impl_
index_ ๐display - Implements
Displayfor a nonmax index type using a format string.
Structsยง
- Analysis
Config ๐ - Controls which analysis passes run during [
Bytecode::analyze]. - GasParams ๐
- Gas table for dynamic gas constants.
- Inst ๐
- An EVM instruction index into [
Bytecode] instructions. - Inst
Data ๐ - A single instruction in the bytecode.
- Inst
Flags ๐ - [
InstrData] flags. - IrStats ๐
- Summary IR statistics for a compiled bytecode.
- U256Idx ๐
- Index into the deduplicated U256 constant pool.
- U256Imm ๐
- Compact handle to a
U256constant.
Constantsยง
- DEFAULT_
COMPILER_ ๐GAS_ LIMIT - Default compiler gas limit for compile-time evaluation (100k gas).
- TEST_
SUSPEND ๐__fuzzing - Noop opcode used to test suspend-resume.
Functionsยง
- bitvec_
as_ ๐bytes - slice_
as_ ๐bytes
Type Aliasesยง
- U256
Interner ๐ - Type alias for the bytecode-level U256 constant interner.