[][src]Function solana_rbpf::memory_region::translate_addr

pub fn translate_addr<E: UserDefinedError>(
    vm_addr: u64,
    len: usize,
    access_type: &str,
    pc: usize,
    regions: &[MemoryRegion]
) -> Result<u64, EbpfError<E>>

Given a list of regions translate from virtual machine to host address