Expand description
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.
Structs§
- Memory
Map - The memory map of a given guest program.
Constants§
- VM_
ADDR_ RETURN_ TO_ HOST - The address which, when jumped to, will return to the host.
- VM_
ADDR_ USER_ STACK_ HIGH - The address at which the program’s stack starts inside of the VM.
- VM_
CODE_ ADDRESS_ ALIGNMENT - The minimum required alignment of runtime code pointers.
- VM_
MAXIMUM_ EXPORT_ COUNT - The maximum number of functions the program can export.
- VM_
MAXIMUM_ IMPORT_ COUNT - The maximum number of functions the program can import.
- VM_
MAXIMUM_ INSTRUCTION_ COUNT - The maximum number of VM instructions a program can be composed of.
- VM_
MAX_ PAGE_ SIZE - The maximum page size of the VM.
- VM_
MIN_ PAGE_ SIZE - The minimum page size of the VM.