[][src]Module solana_bpf_loader_program::syscalls

Structs

SyscallLog

Log a user's info message

SyscallLogU64

Log 5 64-bit values

SyscallPanic

Panic syscall function, called when the BPF program calls 'sol_panic_()` Causes the BPF program to be halted immediately

SyscallProcessInstructionRust

Cross-program invocation called from Rust

SyscallProcessSolInstructionC

Cross-program invocation called from C

SyscallSolAllocFree

Dynamic memory allocation syscall called when the BPF program calls sol_alloc_free_(). The allocator is expected to allocate/free from/to a given chunk of memory and enforce size restrictions. The memory chunk is given to the allocator during allocator creation and information about that memory (start address and size) is passed to the VM to use for enforcement.

Enums

SyscallError

Error definitions

Functions

register_syscalls
syscall_abort

Abort syscall functions, called when the BPF program calls abort() LLVM will insert calls to abort() if it detects an untenable situation, abort() is not intended to be called explicitly by the program. Causes the BPF program to be halted immediately

Type Definitions

TranslatedAccounts