[−][src]Struct object::read::elf::ElfSection
A section of an ElfFile
.
Trait Implementations
impl<'data, 'file, Elf: Debug> Debug for ElfSection<'data, 'file, Elf> where
'data: 'file,
Elf: FileHeader,
Elf::SectionHeader: Debug,
[src]
'data: 'file,
Elf: FileHeader,
Elf::SectionHeader: Debug,
impl<'data, 'file, Elf: FileHeader> ObjectSection<'data> for ElfSection<'data, 'file, Elf>
[src]
type RelocationIterator = ElfRelocationIterator<'data, 'file, Elf>
An iterator over the relocations for a section. Read more
fn index(&self) -> SectionIndex
[src]
fn address(&self) -> u64
[src]
fn size(&self) -> u64
[src]
fn align(&self) -> u64
[src]
fn file_range(&self) -> Option<(u64, u64)>
[src]
fn data(&self) -> Result<&'data [u8]>
[src]
fn data_range(&self, address: u64, size: u64) -> Result<Option<&'data [u8]>>
[src]
fn compressed_data(&self) -> Result<CompressedData<'data>>
[src]
fn name(&self) -> Result<&str>
[src]
fn segment_name(&self) -> Result<Option<&str>>
[src]
fn kind(&self) -> SectionKind
[src]
fn relocations(&self) -> ElfRelocationIterator<'data, 'file, Elf>ⓘNotable traits for ElfRelocationIterator<'data, 'file, Elf>
impl<'data, 'file, Elf: FileHeader> Iterator for ElfRelocationIterator<'data, 'file, Elf> type Item = (u64, Relocation);
[src]
Notable traits for ElfRelocationIterator<'data, 'file, Elf>
impl<'data, 'file, Elf: FileHeader> Iterator for ElfRelocationIterator<'data, 'file, Elf> type Item = (u64, Relocation);
fn flags(&self) -> SectionFlags
[src]
fn uncompressed_data(&self) -> Result<Cow<'data, [u8]>>
[src]
Auto Trait Implementations
impl<'data, 'file, Elf> Send for ElfSection<'data, 'file, Elf> where
Elf: Sync,
<Elf as FileHeader>::Endian: Sync,
<Elf as FileHeader>::ProgramHeader: Sync,
<Elf as FileHeader>::SectionHeader: Sync,
<Elf as FileHeader>::Sym: Sync,
Elf: Sync,
<Elf as FileHeader>::Endian: Sync,
<Elf as FileHeader>::ProgramHeader: Sync,
<Elf as FileHeader>::SectionHeader: Sync,
<Elf as FileHeader>::Sym: Sync,
impl<'data, 'file, Elf> Sync for ElfSection<'data, 'file, Elf> where
Elf: Sync,
<Elf as FileHeader>::Endian: Sync,
<Elf as FileHeader>::ProgramHeader: Sync,
<Elf as FileHeader>::SectionHeader: Sync,
<Elf as FileHeader>::Sym: Sync,
Elf: Sync,
<Elf as FileHeader>::Endian: Sync,
<Elf as FileHeader>::ProgramHeader: Sync,
<Elf as FileHeader>::SectionHeader: Sync,
<Elf as FileHeader>::Sym: Sync,
impl<'data, 'file, Elf> Unpin for ElfSection<'data, 'file, Elf> where
'data: 'file,
'data: 'file,
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,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,