Struct elfloader::elf::ElfIdent[][src]

#[repr(C, packed)]
pub struct ElfIdent { pub magic: [u8; 4], pub class: Class, pub data: Data, pub version: Version, pub osabi: OSABI, pub abiversion: u8, pub padding: [u8; 7], }

First 16 bytes of the ELF file header.

Fields

Must have value [0x7f, 'E', 'L', 'F'].

32-bit vs 64-bit

little vs big endian

elf version

OS ABI

Version of the OS ABI

Trait Implementations

impl Copy for ElfIdent
[src]

impl Clone for ElfIdent
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for ElfIdent
[src]

Formats the value using the given formatter. Read more

impl Display for ElfIdent
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for ElfIdent

impl Sync for ElfIdent