Struct goblin::mach::symbols::Symbols [] [src]

pub struct Symbols<'a> {
    pub nsyms: usize,
    // some fields omitted
}

A zero-copy "nlist" style symbol table ("stab"), including the string table

Fields

Methods

impl<'a> Symbols<'a>
[src]

Creates a new symbol table with count elements, from the start offset, using the string table at strtab, with a default ctx. Beware, this will provide incorrect results if you construct this on a 32-bit mach binary, using a 64-bit machine; use parse instead if you want 32/64 bit support

Parses a single Nlist symbol from the binary, with its accompanying name

Trait Implementations

impl<'a, T: ?Sized> TryFromCtx<'a, (usize, SymbolsCtx), T> for Symbols<'a> where
    T: AsRef<[u8]>, 
[src]

impl<'a> Debug for Symbols<'a>
[src]

Formats the value using the given formatter.