pub trait Nlist: Debug + Pod {
    type Word: Into<u64>;
    type Endian: Endian;
    fn n_strx(&self, endian: Self::Endian) -> u32;
fn n_type(&self) -> u8;
fn n_sect(&self) -> u8;
fn n_desc(&self, endian: Self::Endian) -> u16;
fn n_value(&self, endian: Self::Endian) -> Self::Word; fn name<'data, R: ReadRef<'data>>(
        &self,
        endian: Self::Endian,
        strings: StringTable<'data, R>
    ) -> Result<&'data [u8]> { ... }
fn is_stab(&self) -> bool { ... }
fn is_undefined(&self) -> bool { ... }
fn is_definition(&self) -> bool { ... }
fn library_ordinal(&self, endian: Self::Endian) -> u8 { ... } }
Expand description

A trait for generic access to Nlist32 and Nlist64.

Associated Types

Required methods

Provided methods

Return true if this is a STAB symbol.

This determines the meaning of the n_type field.

Return true if this is an undefined symbol.

Return true if the symbol is a definition of a function or data object.

Return the library ordinal.

This is either a 1-based index into the dylib load commands, or a special ordinal.

Implementors