pub struct RelocationSections { /* private fields */ }
Expand description
A mapping from section index to associated relocation sections.
Implementations
pub fn parse<'data, Elf: FileHeader, R: ReadRef<'data>>(
endian: Elf::Endian,
sections: &SectionTable<'data, Elf, R>,
symbol_section: SectionIndex
) -> Result<Self>
pub fn parse<'data, Elf: FileHeader, R: ReadRef<'data>>(
endian: Elf::Endian,
sections: &SectionTable<'data, Elf, R>,
symbol_section: SectionIndex
) -> Result<Self>
Create a new mapping using the section table.
Skips relocation sections that do not use the given symbol table section.