pub fn get_auxv_vector(
    elf: &ElfFile<'_>,
    elf_base_addr: Option<usize>
) -> BTreeMap<u8, usize>
Expand description

To parse the elf file and get the auxv vectors

Arguments

  • elf - The elf file
  • elf_base_addr - The base address of the elf file if the file will be loaded to the memory