Enum mach_object::Symbol [] [src]

pub enum Symbol<'a> {
    Undefined {
        name: Option<&'a str>,
        external: bool,
        desc: u16,
    },
    Absolute {
        name: Option<&'a str>,
        external: bool,
        desc: u16,
        entry: usize,
    },
    Defined {
        name: Option<&'a str>,
        external: bool,
        section: Option<Rc<Section>>,
        desc: u16,
        entry: usize,
    },
    Prebound {
        name: Option<&'a str>,
        external: bool,
        desc: u16,
    },
    Indirect {
        name: Option<&'a str>,
        external: bool,
        desc: u16,
        symbol: Option<&'a str>,
    },
    Debug {
        name: Option<&'a str>,
        section: Option<Rc<Section>>,
        desc: u16,
        addr: usize,
    },
}

the link-edit 4.3BSD "stab" style symbol

Variants

Fields of Undefined

Fields of Absolute

Fields of Defined

Fields of Prebound

Fields of Indirect

Fields of Debug

Methods

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

[src]

[src]

Trait Implementations

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

[src]

Formats the value using the given formatter.

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

[src]

Formats the value using the given formatter. Read more

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

[src]

raw desc value

[src]

types of references

[src]

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. Read more

[src]

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

[src]

symbol is not to be dead stripped

[src]

symbol is discarded

[src]

symbol is weak referenced

[src]

coalesed symbol is a weak definition

[src]

reference to a weak symbol

[src]

symbol is a Thumb function (ARM)

[src]

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

[src]

symbol is pinned to the previous content.