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,
}

Fields

Methods

impl Header
[src]

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

Returns the container type this header specifies

Returns the byte order this header specifies

Trait Implementations

impl Copy for Header
[src]

impl Clone for Header
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for Header
[src]

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

This method tests for !=.

impl Debug for Header
[src]

Formats the value using the given formatter.

impl SizeWith<Container> for Header
[src]

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

impl TryIntoCtx<(usize, DefaultCtx)> for Header
[src]

impl From<Header> for ElfHeader
[src]

Performs the conversion.

impl From<Header> for ElfHeader
[src]

Performs the conversion.