Expand description
The state module is used to track state of a running web assembly instances so that state could read or updated at runtime. Use cases include generating stack traces, switching generated code from one tier to another, or serializing state of a running instace.
Modules§
- x64
- X64-specific structures and methods that only work on an x64 machine. The x64 state module contains functions to generate state and code for x64 targets.
- x64_
decl - X64-specific structures and methods that do not depend on an x64 machine to run.
Structs§
- Code
Version - A
CodeVersionis a container for a unit of generated code for a module. - Execution
State Image - An image of the execution state.
- Function
State Map - A map of function states.
- Instance
Image - Represents an image of an
Instanceincluding its memory, globals, and execution state. - Machine
State - A container for the state of a running wasm instance.
- Machine
State Diff - A diff of two
MachineStates. - Module
State Map - A map of module state.
- Offset
Info - Info for an offset.
- Register
Index - An index to a register
- Wasm
Function State Dump - State dump of a wasm function.
Enums§
- Machine
Value - A kind of machine value.
- Suspend
Offset - A kind of suspend offset.
- Wasm
Abstract Value - A kind of wasm or constant value