Expand description
This is an internal crate of PolkaVM; do not use it directly unless you absolutely know what you’re doing.
Modules§
- abi
- Everything in this module affects the ABI of the guest programs, either by affecting their observable behavior (no matter how obscure), or changing which programs are accepted by the VM.
- elf
- error
- operation
- program
- utils
- varint
- writer
- zygote
- This module defines the ABI boundary between the host and the zygote.
Macros§
Constants§
- HOSTCALL_
TRACE - A special hostcall number set by the guest to trigger a trace.
- VM_
RPC_ FLAG_ CLEAR_ PROGRAM_ AFTER_ EXECUTION - A flag which will trigger the sandbox to unload its program after execution.
- VM_
RPC_ FLAG_ RESET_ MEMORY_ AFTER_ EXECUTION - A flag which will trigger the sandbox to reset its memory after execution.
- VM_
RPC_ FLAG_ RESET_ MEMORY_ BEFORE_ EXECUTION - A flag which will trigger the sandbox to reset its memory before execution.