pub struct RelocationSections { /* private fields */ }
Expand description
A mapping from section index to associated relocation sections.
Implementations
sourceimpl RelocationSections
impl RelocationSections
sourcepub fn parse<'data, Elf: FileHeader, R: ReadRef<'data>>(
endian: Elf::Endian,
sections: &SectionTable<'data, Elf, R>,
symbol_section: usize
) -> Result<Self>
pub fn parse<'data, Elf: FileHeader, R: ReadRef<'data>>(
endian: Elf::Endian,
sections: &SectionTable<'data, Elf, R>,
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.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for RelocationSections
impl Send for RelocationSections
impl Sync for RelocationSections
impl Unpin for RelocationSections
impl UnwindSafe for RelocationSections
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more