Trait elrond::ElfMagicNumber
[−]
[src]
pub trait ElfMagicNumber: Abi + Endian + Class {
fn get_abi_version(&self) -> u8;
}Elf Magic Number information
A lot of data is packed into the first 16bytes of an ElfFile.
This provides a simple way to extract it.
Required Methods
fn get_abi_version(&self) -> u8
Get the specific version of ABI
This field is ABI and Platform specific, so its values are not standardized, so no enum.
Implementors
impl<'a> ElfMagicNumber for ElfHeaderBase<'a>