#[repr(C)]pub struct Elf64Ehdr {}Expand description
Represents the ELF64 file header.
Contains metadata about the ELF executable, including entry point, program header table, and section header table offsets.
Fields§
§e_ident: [u8; 16]Identification bytes (magic number, class, data encoding, etc.).
e_type: u16Object file type (e.g., ET_EXEC, ET_DYN).
e_machine: u16Target machine architecture (e.g., EM_X86_64).
e_version: u32ELF version.
e_entry: u64Entry point virtual address.
e_phoff: u64File offset of the program header table.
e_shoff: u64File offset of the section header table.
e_flags: u32Processor-specific flags.
e_ehsize: u16ELF header size in bytes.
e_phentsize: u16Size of each program header entry.
e_phnum: u16Number of entries in the program header table.
e_shentsize: u16Size of each section header entry.
e_shnum: u16Number of entries in the section header table.
e_shstrndx: u16Section name string table index.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Elf64Ehdr
impl RefUnwindSafe for Elf64Ehdr
impl Send for Elf64Ehdr
impl Sync for Elf64Ehdr
impl Unpin for Elf64Ehdr
impl UnwindSafe for Elf64Ehdr
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more