Struct object::elf::FileHeader32 [−][src]
The header at the start of every 32-bit ELF file.
Fields
e_ident: Ident
Magic number and other information.
e_type: U16<E>
Object file type. One of the ET_*
constants.
e_machine: U16<E>
Architecture. One of the EM_*
constants.
e_version: U32<E>
Object file version. Must be EV_CURRENT
.
e_entry: U32<E>
Entry point virtual address.
e_phoff: U32<E>
Program header table file offset.
e_shoff: U32<E>
Section header table file offset.
e_flags: U32<E>
Processor-specific flags.
A combination of the EF_*
constants.
e_ehsize: U16<E>
Size in bytes of this header.
e_phentsize: U16<E>
Program header table entry size.
e_phnum: U16<E>
Program header table entry count.
If the count is greater than or equal to PN_XNUM
then this field is set to
PN_XNUM
and the count is stored in the sh_info
field of section 0.
e_shentsize: U16<E>
Section header table entry size.
e_shnum: U16<E>
Section header table entry count.
If the count is greater than or equal to SHN_LORESERVE
then this field is set to
0
and the count is stored in the sh_size
field of section 0.
first section header.
e_shstrndx: U16<E>
Section header string table index.
If the index is greater than or equal to SHN_LORESERVE
then this field is set to
SHN_XINDEX
and the index is stored in the sh_link
field of section 0.
Trait Implementations
impl<E: Clone + Endian> Clone for FileHeader32<E>
[src][+]
impl<E: Copy + Endian> Copy for FileHeader32<E>
[src]
impl<E: Debug + Endian> Debug for FileHeader32<E>
[src][+]
impl<Endian: Endian> FileHeader for FileHeader32<Endian>
[src][+]
impl<E: Endian> Pod for FileHeader32<E>
[src]
Auto Trait Implementations
impl<E> Send for FileHeader32<E> where
E: Send,
E: Send,
impl<E> Sync for FileHeader32<E> where
E: Sync,
E: Sync,
impl<E> Unpin for FileHeader32<E> where
E: Unpin,
E: Unpin,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> From<T> for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src][+]
T: Clone,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,