Function solana_bpf_loader_program::create_vm
source · pub fn create_vm<'a, 'b>(
program: &'a Executable<RequisiteVerifier, InvokeContext<'b>>,
regions: Vec<MemoryRegion>,
orig_account_lengths: Vec<usize>,
invoke_context: &'a mut InvokeContext<'b>,
stack: &mut AlignedMemory<HOST_ALIGN>,
heap: &mut AlignedMemory<HOST_ALIGN>
) -> Result<EbpfVm<'a, InvokeContext<'b>>, Box<dyn Error>>
Expand description
Only used in macro, do not use directly!