Module revm_interpreter::interpreter
source · Re-exports§
pub use analysis::BytecodeLocked;
Modules§
Structs§
- EVM contract information.
- EVM bytecode interpreter.
- The result of an interpreter operation.
- A sequential memory shared between calls, which uses a
Vec
for internal representation. A SharedMemory instance should always be obtained using thenew
static method to ensure memory safety. - EVM stack with STACK_LIMIT capacity of words.
Enums§
Constants§
- Empty shared memory.
- EVM interpreter stack limit.
Functions§
- Rounds up
x
to the closest multiple of 32. Ifx % 32 == 0
thenx
is returned. Note, ifx
is greater thanusize::MAX - 31
this will returnusize::MAX
which isn’t a multiple of 32.