Expand description
This module defines the ABI boundary between the host and the zygote.
In general everything here can be modified at will, provided the zygote is recompiled.
Structs§
- Address
Table - Address
Table Packed - Address
Table Raw - Cache
Aligned - ExtTable
- ExtTable
Packed - ExtTable
Raw - JmpBuf
- VmCtx
- The virtual machine context.
- VmCtx
Counters - VmCtx
Heap Info - VmInit
- VmMap
Enums§
Constants§
- FD_
DUMMY_ STDIN - FD_
LIFETIME_ PIPE - FD_
LOGGER_ STDERR - FD_
LOGGER_ STDOUT - FD_MEM
- FD_SHM
- FD_
SOCKET - FD_
VMCTX - LAST_
USED_ FD - VMCTX_
FUTEX_ BUSY - The VM is busy.
- VMCTX_
FUTEX_ GUEST_ ECALLI - The VM has triggered a host call and is idle.
- VMCTX_
FUTEX_ GUEST_ NOT_ ENOUGH_ GAS - The VM gas ran out of gas.
- VMCTX_
FUTEX_ GUEST_ PAGEFAULT - The VM has triggered a page fault.
- VMCTX_
FUTEX_ GUEST_ SIGNAL - The VM’s signal handler was triggered.
- VMCTX_
FUTEX_ GUEST_ STEP - The VM has went through a single instruction is idle.
- VMCTX_
FUTEX_ GUEST_ TRAP - The VM has triggered a trap and is idle.
- VMCTX_
FUTEX_ IDLE - The VM is idle.
- VM_
ADDR_ JUMP_ TABLE - The address where the indirect jump table starts inside of the VM.
- VM_
ADDR_ JUMP_ TABLE_ RETURN_ TO_ HOST - The address where the return-to-host jump table vector physically resides.
- VM_
ADDR_ NATIVE_ CODE - The address where the native code starts inside of the VM.
- VM_
ADDR_ NATIVE_ STACK_ HIGH - The address of the top of the native stack.
- VM_
ADDR_ NATIVE_ STACK_ LOW - The address of the native stack.
- VM_
ADDR_ NATIVE_ STACK_ SIZE - The size of the native stack.
- VM_
ADDR_ SHARED_ MEMORY - Address where the shared memory is mapped.
- VM_
ADDR_ SIGSTACK - The address of the signal stack.
- VM_
ADDR_ VMCTX - The address of the global per-VM context struct.
- VM_
COMPILER_ MAXIMUM_ INSTRUCTION_ LENGTH - The maximum number of native code bytes that can be emitted by a single VM instruction.
- VM_
SANDBOX_ MAXIMUM_ JUMP_ TABLE_ SIZE - The maximum number of bytes the jump table can be.
- VM_
SANDBOX_ MAXIMUM_ JUMP_ TABLE_ VIRTUAL_ SIZE - The maximum number of bytes the jump table can span in virtual memory.
- VM_
SANDBOX_ MAXIMUM_ NATIVE_ CODE_ SIZE - The maximum number of bytes the native code can be.
- VM_
SHARED_ MEMORY_ SIZE - The size of the shared memory region.