Struct object::read::elf::ElfSection [−][src]
pub struct ElfSection<'data, 'file, Elf, R = &'data [u8]> where
'data: 'file,
Elf: FileHeader,
R: ReadRef<'data>, { /* fields omitted */ }
Expand description
A section of an ElfFile
.
Trait Implementations
impl<'data, 'file, Elf: Debug, R: Debug> Debug for ElfSection<'data, 'file, Elf, R> where
'data: 'file,
Elf: FileHeader,
R: ReadRef<'data>,
Elf::SectionHeader: Debug,
impl<'data, 'file, Elf: Debug, R: Debug> Debug for ElfSection<'data, 'file, Elf, R> where
'data: 'file,
Elf: FileHeader,
R: ReadRef<'data>,
Elf::SectionHeader: Debug,
impl<'data, 'file, Elf, R> ObjectSection<'data> for ElfSection<'data, 'file, Elf, R> where
Elf: FileHeader,
R: ReadRef<'data>,
impl<'data, 'file, Elf, R> ObjectSection<'data> for ElfSection<'data, 'file, Elf, R> where
Elf: FileHeader,
R: ReadRef<'data>,
type RelocationIterator = ElfSectionRelocationIterator<'data, 'file, Elf, R>
type RelocationIterator = ElfSectionRelocationIterator<'data, 'file, Elf, R>
An iterator over the relocations for a section. Read more
Returns the section index.
Return the raw contents of the section data in the given range. Read more
Returns the potentially compressed file range of the section, along with information about the compression. Read more
Returns the potentially compressed contents of the section, along with information about the compression. Read more
Returns the name of the segment for this section.
Return the kind of this section.
fn relocations(&self) -> ElfSectionRelocationIterator<'data, 'file, Elf, R>ⓘNotable traits for ElfSectionRelocationIterator<'data, 'file, Elf, R>impl<'data, 'file, Elf, R> Iterator for ElfSectionRelocationIterator<'data, 'file, Elf, R> where
Elf: FileHeader,
R: ReadRef<'data>, type Item = (u64, Relocation);
fn relocations(&self) -> ElfSectionRelocationIterator<'data, 'file, Elf, R>ⓘNotable traits for ElfSectionRelocationIterator<'data, 'file, Elf, R>impl<'data, 'file, Elf, R> Iterator for ElfSectionRelocationIterator<'data, 'file, Elf, R> where
Elf: FileHeader,
R: ReadRef<'data>, type Item = (u64, Relocation);
Notable traits for ElfSectionRelocationIterator<'data, 'file, Elf, R>
impl<'data, 'file, Elf, R> Iterator for ElfSectionRelocationIterator<'data, 'file, Elf, R> where
Elf: FileHeader,
R: ReadRef<'data>, type Item = (u64, Relocation);
Get the relocations for this section.
Section flags that are specific to each file format.