Struct object::read::elf::RelocationSections
source · pub struct RelocationSections { /* private fields */ }
Expand description
A mapping from section index to associated relocation sections.
Implementations§
source§impl RelocationSections
impl RelocationSections
sourcepub 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.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RelocationSections
impl RefUnwindSafe for RelocationSections
impl Send for RelocationSections
impl Sync for RelocationSections
impl Unpin for RelocationSections
impl UnwindSafe for RelocationSections
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more