Struct goblin::elf::header::Header [] [src]

pub struct Header {
    pub e_ident: [u8; 16],
    pub e_type: u16,
    pub e_machine: u16,
    pub e_version: u32,
    pub e_entry: u64,
    pub e_phoff: u64,
    pub e_shoff: u64,
    pub e_flags: u32,
    pub e_ehsize: u16,
    pub e_phentsize: u16,
    pub e_phnum: u16,
    pub e_shentsize: u16,
    pub e_shnum: u16,
    pub e_shstrndx: u16,
}

An ELF header

Fields

Methods

impl Header
[src]

[src]

Return the size of the underlying program header, given a container

[src]

Returns the container type this header specifies

[src]

Returns the byte order this header specifies

[src]

Trait Implementations

impl From<Header> for ElfHeader
[src]

[src]

Performs the conversion.

impl From<Header> for ElfHeader
[src]

[src]

Performs the conversion.

impl Copy for Header
[src]

impl Clone for Header
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for Header
[src]

[src]

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

[src]

This method tests for !=.

impl Debug for Header
[src]

[src]

Formats the value using the given formatter.

impl SizeWith<Ctx> for Header
[src]

[src]

impl<'a> TryFromCtx<'a, Endian> for Header
[src]

[src]

impl TryIntoCtx<Endian> for Header
[src]

[src]

impl IntoCtx<Ctx> for Header
[src]

[src]