Struct gimli::read::SectionBaseAddresses[][src]

pub struct SectionBaseAddresses {
    pub section: Option<u64>,
    pub text: Option<u64>,
    pub data: Option<u64>,
}
Expand description

Optional base addresses for the relative DW_EH_PE_* encoded pointers in a particular section.

See BaseAddresses for methods that are helpful in setting these addresses.

Fields

section: Option<u64>

The address of the section containing the pointer.

text: Option<u64>

The base address for text relative pointers. This is generally the address of the .text section.

data: Option<u64>

The base address for data relative pointers.

For pointers in the .eh_frame_hdr section, this is the address of the .eh_frame_hdr section

For pointers in the .eh_frame section, this is generally the global pointer, such as the address of the .got section.

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

Returns the “default value” for a type. 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

Performs the conversion.

Performs the conversion.

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.