[−][src]Trait elf_rs::GenElf
Associated Types
type Word: Into<u64> + Debug + Display + LowerHex + UpperHex
type ElfHeaderType: GenElfHeader
type ProgramHeaderType: GenProgramHeader
type SectionHeaderType: GenSectionHeader
Required methods
fn as_bytes(&self) -> &[u8]
Provided methods
fn header(&self) -> &Self::ElfHeaderType
fn program_headers(&self) -> &[Self::ProgramHeaderType]
ⓘImportant traits for ProgramHeaderIter<'a, E>fn program_header_iter(&self) -> ProgramHeaderIter<Self>
ⓘImportant traits for ProgramHeaderIter<'a, E>
fn section_headers(&self) -> &[Self::SectionHeaderType]
ⓘImportant traits for SectionHeaderIter<'a, E>fn section_header_iter(&self) -> SectionHeaderIter<Self>
ⓘImportant traits for SectionHeaderIter<'a, E>
fn shstr_section(&self) -> &[u8]
fn lookup_section(&self, name: &[u8]) -> Option<SectionHeader<Self>>
Implementors
impl<'a> GenElf for Elf32<'a>
[src]
type Word = u32
type ElfHeaderType = ElfHeader32
type ProgramHeaderType = ProgramHeader32
type SectionHeaderType = SectionHeader32
fn as_bytes(&self) -> &[u8]
[src]
fn header(&self) -> &Self::ElfHeaderType
[src]
fn program_headers(&self) -> &[Self::ProgramHeaderType]
[src]
ⓘImportant traits for ProgramHeaderIter<'a, E>fn program_header_iter(&self) -> ProgramHeaderIter<Self>
[src]
ⓘImportant traits for ProgramHeaderIter<'a, E>
fn section_headers(&self) -> &[Self::SectionHeaderType]
[src]
ⓘImportant traits for SectionHeaderIter<'a, E>fn section_header_iter(&self) -> SectionHeaderIter<Self>
[src]
ⓘImportant traits for SectionHeaderIter<'a, E>
fn shstr_section(&self) -> &[u8]
[src]
fn lookup_section(&self, name: &[u8]) -> Option<SectionHeader<Self>>
[src]
impl<'a> GenElf for Elf64<'a>
[src]
type Word = u64
type ElfHeaderType = ElfHeader64
type ProgramHeaderType = ProgramHeader64
type SectionHeaderType = SectionHeader64
fn as_bytes(&self) -> &[u8]
[src]
fn header(&self) -> &Self::ElfHeaderType
[src]
fn program_headers(&self) -> &[Self::ProgramHeaderType]
[src]
ⓘImportant traits for ProgramHeaderIter<'a, E>fn program_header_iter(&self) -> ProgramHeaderIter<Self>
[src]
ⓘImportant traits for ProgramHeaderIter<'a, E>
fn section_headers(&self) -> &[Self::SectionHeaderType]
[src]
ⓘImportant traits for SectionHeaderIter<'a, E>fn section_header_iter(&self) -> SectionHeaderIter<Self>
[src]
ⓘImportant traits for SectionHeaderIter<'a, E>