pub fn map_phdrs_and_copy_elf(
addr_space: &mut AddressSpace,
phdrs: &[ElfPhdr],
elf: &[u8],
) -> Result<(), MmError>Expand description
Map VMAs and pages according to the ELF phdrs and copy the ELF binary into the freshly mapped memory
pub fn map_phdrs_and_copy_elf(
addr_space: &mut AddressSpace,
phdrs: &[ElfPhdr],
elf: &[u8],
) -> Result<(), MmError>Map VMAs and pages according to the ELF phdrs and copy the ELF binary into the freshly mapped memory