Struct object::read::elf::RelocationSections [−][src]
pub struct RelocationSections { /* fields omitted */ }
Expand description
A mapping from section index to associated relocation sections.
Implementations
pub fn parse<Elf: FileHeader>(
endian: Elf::Endian,
sections: &SectionTable<'_, Elf>,
symbol_section: usize
) -> Result<Self>
pub fn parse<Elf: FileHeader>(
endian: Elf::Endian,
sections: &SectionTable<'_, Elf>,
symbol_section: usize
) -> Result<Self>
Create a new mapping using the section table.
Skips relocation sections that do not use the given symbol table section.