Function map_memory

pub fn map_memory(
    location: MemoryLocation,
    protections: MemoryProtections,
    bytes: usize,
) -> Result<*mut u8, MapMemoryError>
Expand description

Map a memory region into this process’s memory map

This function acts like mmap on common unix systems.