[][src]Trait elf_rs::GenElfHeader

pub trait GenElfHeader {
    type Word: Into<u64> + Debug + Display + LowerHex + UpperHex;
    fn class(&self) -> ElfClass;
fn endianness(&self) -> ElfEndian;
fn header_version(&self) -> u8;
fn abi(&self) -> ElfAbi;
fn abi_version(&self) -> u8;
fn elftype(&self) -> ElfType;
fn machine(&self) -> ElfMachine;
fn elf_version(&self) -> u32;
fn entry_point(&self) -> Self::Word;
fn program_header_offset(&self) -> Self::Word;
fn section_header_offset(&self) -> Self::Word;
fn flags(&self) -> u32;
fn elf_header_size(&self) -> u16;
fn program_header_entry_size(&self) -> u16;
fn program_header_entry_num(&self) -> u16;
fn section_header_entry_size(&self) -> u16;
fn section_header_entry_num(&self) -> u16;
fn shstr_index(&self) -> u16; }

Associated Types

type Word: Into<u64> + Debug + Display + LowerHex + UpperHex

Loading content...

Required methods

fn class(&self) -> ElfClass

fn endianness(&self) -> ElfEndian

fn header_version(&self) -> u8

fn abi(&self) -> ElfAbi

fn abi_version(&self) -> u8

fn elftype(&self) -> ElfType

fn machine(&self) -> ElfMachine

fn elf_version(&self) -> u32

fn entry_point(&self) -> Self::Word

fn program_header_offset(&self) -> Self::Word

fn section_header_offset(&self) -> Self::Word

fn flags(&self) -> u32

fn elf_header_size(&self) -> u16

fn program_header_entry_size(&self) -> u16

fn program_header_entry_num(&self) -> u16

fn section_header_entry_size(&self) -> u16

fn section_header_entry_num(&self) -> u16

fn shstr_index(&self) -> u16

Loading content...

Implementors

impl GenElfHeader for ElfHeader32[src]

type Word = u32

impl GenElfHeader for ElfHeader64[src]

type Word = u64

Loading content...