[][src]Trait mach_object::SymbolReference

pub trait SymbolReference {
    fn desc(&self) -> u16;

    fn ref_type(&self) -> u8 { ... }
fn is_ref_dyn(&self) -> bool { ... }
fn lib_ordinal(&self) -> u8 { ... }
fn is_no_dead_strip(&self) -> bool { ... }
fn is_discarded(&self) -> bool { ... }
fn is_weak_ref(&self) -> bool { ... }
fn is_weak_def(&self) -> bool { ... }
fn is_ref_to_weak(&self) -> bool { ... }
fn is_arm_thumb_def(&self) -> bool { ... }
fn is_resolver(&self) -> bool { ... }
fn is_alt_entry(&self) -> bool { ... } }

Reference type and flags of symbol

Required methods

fn desc(&self) -> u16

raw desc value

Loading content...

Provided methods

fn ref_type(&self) -> u8

types of references

fn is_ref_dyn(&self) -> bool

To simplify stripping of objects that use are used with the dynamic link editor, the static link editor marks the symbols defined an object that are referenced by a dynamicly bound object (dynamic shared libraries, bundles). With this marking strip knows not to strip these symbols.

fn lib_ordinal(&self) -> u8

The ordinal recorded references the libraries listed in the Mach-O file

fn is_no_dead_strip(&self) -> bool

symbol is not to be dead stripped

fn is_discarded(&self) -> bool

symbol is discarded

fn is_weak_ref(&self) -> bool

symbol is weak referenced

fn is_weak_def(&self) -> bool

coalesed symbol is a weak definition

fn is_ref_to_weak(&self) -> bool

reference to a weak symbol

fn is_arm_thumb_def(&self) -> bool

symbol is a Thumb function (ARM)

fn is_resolver(&self) -> bool

the function is actually a resolver function and should be called to get the address of the real function to use.

fn is_alt_entry(&self) -> bool

symbol is pinned to the previous content.

Loading content...

Implementors

impl<'a> SymbolReference for Symbol<'a>[src]

Loading content...