pub struct NList64 {
    pub n_strx: u32,
    pub n_type: NTypeField,
    pub n_sect: u8,
    pub n_desc: u16,
    pub n_value: u64,
}

Fields

n_strx: u32

An index into the string table. To specify an empty string (“”), set this value to 0.

n_type: NTypeField

this field really contains four fields.

n_sect: u8

If the type is NType::Sect then the n_sect field contains an ordinal of the section the symbol is defined in. The sections are numbered from 1 and refer to sections in order they appear in the load commands for the file they are in. This means the same ordinal may very well refer to different sections in different files.

The n_value field for all symbol table entries (including n_stab’s) gets updated by the link editor based on the value of its n_sect field and where the section n_sect references gets relocated. If the value of the n_sect field is NO_SECT then it’s n_value field is not changed by the link editor.

n_desc: u16

A 16-bit value providing additional information about the nature of this symbol.

n_value: u64

An integer that contains the value of the symbol. The format of this value is different for each type of symbol table entry (as specified by the n_type field). For the N_SECT symbol type, n_value is the address of the symbol. See the description of the n_type field for information on other possible values.

Implementations

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.