Trait object::read::ObjectSymbolTable [−][src]
A symbol table.
Associated Types
type Symbol: ObjectSymbol<'data>
[src]
A symbol table entry.
type SymbolIterator: Iterator<Item = Self::Symbol>
[src]
An iterator over the symbols in a symbol table.
Required methods
fn symbols(&self) -> Self::SymbolIterator
[src]
Get an iterator over the symbols in the table.
This may skip over symbols that are malformed or unsupported.
fn symbol_by_index(&self, index: SymbolIndex) -> Result<Self::Symbol>
[src]
Get the symbol at the given index.
The meaning of the index depends on the object file.
Returns an error if the index is invalid.
Implementors
impl<'data, 'file> ObjectSymbolTable<'data> for CoffSymbolTable<'data, 'file>
[src]
type Symbol = CoffSymbol<'data, 'file>
type SymbolIterator = CoffSymbolIterator<'data, 'file>
fn symbols(&self) -> Self::SymbolIterator
[src]
fn symbol_by_index(&self, index: SymbolIndex) -> Result<Self::Symbol>
[src]
impl<'data, 'file, Elf: FileHeader> ObjectSymbolTable<'data> for ElfSymbolTable<'data, 'file, Elf>
[src]
type Symbol = ElfSymbol<'data, 'file, Elf>
type SymbolIterator = ElfSymbolIterator<'data, 'file, Elf>
fn symbols(&self) -> Self::SymbolIterator
[src]
fn symbol_by_index(&self, index: SymbolIndex) -> Result<Self::Symbol>
[src]
impl<'data, 'file, Mach, R> ObjectSymbolTable<'data> for MachOSymbolTable<'data, 'file, Mach, R> where
Mach: MachHeader,
R: ReadRef<'data>,
[src]
Mach: MachHeader,
R: ReadRef<'data>,