Function elf_parser::arch::get_relocate_pairs
source · pub fn get_relocate_pairs(
elf: &ElfFile<'_>,
elf_base_addr: Option<usize>
) -> Vec<RelocatePair>
Expand description
To parse the elf file and get the relocate pairs
Arguments
elf
- The elf fileelf_base_addr
- The base address of the elf file if the file will be loaded to the memory