[][src]Struct object::elf::SectionHeader64

#[repr(C)]pub struct SectionHeader64<E: Endian> {
    pub sh_name: U32<E>,
    pub sh_type: U32<E>,
    pub sh_flags: U64<E>,
    pub sh_addr: U64<E>,
    pub sh_offset: U64<E>,
    pub sh_size: U64<E>,
    pub sh_link: U32<E>,
    pub sh_info: U32<E>,
    pub sh_addralign: U64<E>,
    pub sh_entsize: U64<E>,
}

Section header.

Fields

sh_name: U32<E>

Section name.

This is an offset into the section header string table.

sh_type: U32<E>

Section type. One of the SHT_* constants.

sh_flags: U64<E>

Section flags. A combination of the SHF_* constants.

sh_addr: U64<E>

Section virtual address at execution.

sh_offset: U64<E>

Section file offset.

sh_size: U64<E>

Section size in bytes.

sh_link: U32<E>

Link to another section.

The section relationship depends on the sh_type value.

sh_info: U32<E>

Additional section information.

The meaning of this field depends on the sh_type value.

sh_addralign: U64<E>

Section alignment.

sh_entsize: U64<E>

Entry size if the section holds a table.

Trait Implementations

impl<E: Clone + Endian> Clone for SectionHeader64<E>[src]

impl<E: Copy + Endian> Copy for SectionHeader64<E>[src]

impl<E: Debug + Endian> Debug for SectionHeader64<E>[src]

impl<E: Endian> Pod for SectionHeader64<E>[src]

impl<Endian: Endian> SectionHeader for SectionHeader64<Endian>[src]

type Word = u64

type Endian = Endian

type Elf = FileHeader64<Endian>

Auto Trait Implementations

impl<E> Send for SectionHeader64<E> where
    E: Send

impl<E> Sync for SectionHeader64<E> where
    E: Sync

impl<E> Unpin for SectionHeader64<E> where
    E: Unpin

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.