Module process_builder::elf_load

source ·
Expand description

Utilities for loading ELF files into an existing address space.

Structs§

Enums§

  • Possible errors that can occur during ELF loading.

Traits§

  • A trait so that callers of map_elf_segments can hook the map operation.

Functions§

  • Load an ELF into a new sub-VMAR of the specified root.
  • Returns the address space requirements to load this ELF. Attempting to load it into a VMAR with permissions less than max_perm, or at a base such that the range [base+low, base+high] is not entirely valid, will fail.
  • Map the segments of an ELF into an existing VMAR.