Struct solana_bpf_loader_program::syscalls::SyscallAllocFree [−][src]
pub struct SyscallAllocFree { /* fields omitted */ }
Expand description
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.