[−][src]Function sunrise_loader::elf_loader::load_file
pub fn load_file(
process: &Process,
elf: &ElfFile,
base: usize
) -> Result<(), Error>
Loads the given executable into the given process/address space.
Errors
InvalidElf
- The entrypoint was not at the expected address.
- ELF is corrupted.
KernelError
- A syscall failed while trying to map the remote process memory or set the mappings' permissions.