Struct object::read::elf::SymbolTable [−][src]
pub struct SymbolTable<'data, Elf: FileHeader> { /* fields omitted */ }
Expand description
A table of symbol entries in an ELF file.
Also includes the string table used for the symbol names.
Implementations
pub fn parse<R: ReadRef<'data>>(
endian: Elf::Endian,
data: R,
sections: &SectionTable<'_, Elf>,
section_index: usize,
section: &Elf::SectionHeader
) -> Result<SymbolTable<'data, Elf>>
pub fn parse<R: ReadRef<'data>>(
endian: Elf::Endian,
data: R,
sections: &SectionTable<'_, Elf>,
section_index: usize,
section: &Elf::SectionHeader
) -> Result<SymbolTable<'data, Elf>>
Parse the given symbol table section.
Return the string table used for the symbol names.
Return the symbol at the given index.
Return the extended section index for the given symbol if present.
Return the symbol name for the given symbol.
Trait Implementations
Auto Trait Implementations
impl<'data, Elf> RefUnwindSafe for SymbolTable<'data, Elf> where
<Elf as FileHeader>::Sym: RefUnwindSafe,
impl<'data, Elf> Send for SymbolTable<'data, Elf> where
<Elf as FileHeader>::Sym: Sync,
impl<'data, Elf> Sync for SymbolTable<'data, Elf> where
<Elf as FileHeader>::Sym: Sync,
impl<'data, Elf> Unpin for SymbolTable<'data, Elf>
impl<'data, Elf> UnwindSafe for SymbolTable<'data, Elf> where
<Elf as FileHeader>::Sym: RefUnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more