Struct object::read::elf::RelocationSections [−][src]
A mapping from section index to associated relocation sections.
Implementations
impl RelocationSections
[src]
pub fn parse<Elf: FileHeader>(
endian: Elf::Endian,
sections: &SectionTable<'_, Elf>,
symbol_section: usize
) -> Result<Self>
[src]
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.
pub fn get(&self, index: usize) -> Option<usize>
[src]
Given a section index, return the section index of the associated relocation section.
This may also be called with a relocation section index, and it will return the next associated relocation 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
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,