Module solana_rbpf::vm[][src]

Virtual machine and JIT compiler for eBPF programs.

Structs

Config

VM configuration settings

DefaultInstructionMeter

Instruction meter without a limit

DynTraitFatPointer

A dyn trait fat pointer for SyscallObject

DynTraitVtable

A virtual method table for dyn trait objects

EbpfVm

A virtual machine to run eBPF program.

Syscall

Syscall function and binding slot for a context object

SyscallRegistry

Holds the syscall function pointers of an Executable

Tracer

Used for instruction tracing

Constants

SYSCALL_CONTEXT_OBJECTS_OFFSET

The syscall_context_objects field also stores some metadata in the front, thus the entries are shifted

Traits

Executable

An relocated and ready to execute binary

InstructionMeter

Instruction meter

SyscallObject

Syscall with context

Type Definitions

ProgramResult

Return value of programs and syscalls

SyscallFunction

Syscall function without context

Verifier

eBPF verification function that returns an error if the program does not meet its requirements.