Struct object::read::pe::PeSection [−][src]
pub struct PeSection<'data, 'file, Pe> where
'data: 'file,
Pe: ImageNtHeaders, { /* fields omitted */ }
A section of a PeFile
.
Trait Implementations
impl<'data, 'file, Pe: Debug> Debug for PeSection<'data, 'file, Pe> where
'data: 'file,
Pe: ImageNtHeaders,
[src]
impl<'data, 'file, Pe: Debug> Debug for PeSection<'data, 'file, Pe> where
'data: 'file,
Pe: ImageNtHeaders,
[src]impl<'data, 'file, Pe: ImageNtHeaders> ObjectSection<'data> for PeSection<'data, 'file, Pe>
[src]
impl<'data, 'file, Pe: ImageNtHeaders> ObjectSection<'data> for PeSection<'data, 'file, Pe>
[src]type RelocationIterator = PeRelocationIterator<'data, 'file>
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) -> PeRelocationIterator<'data, 'file>ⓘNotable traits for PeRelocationIterator<'data, 'file>
impl<'data, 'file> Iterator for PeRelocationIterator<'data, 'file> type Item = (u64, Relocation);
[src]
Notable traits for PeRelocationIterator<'data, 'file>
impl<'data, 'file> Iterator for PeRelocationIterator<'data, 'file> type Item = (u64, Relocation);
fn flags(&self) -> SectionFlags
[src]
fn uncompressed_data(&self) -> Result<Cow<'data, [u8]>>
[src]
Auto Trait Implementations
impl<'data, 'file, Pe> Send for PeSection<'data, 'file, Pe> where
Pe: Sync,
Pe: Sync,
impl<'data, 'file, Pe> Sync for PeSection<'data, 'file, Pe> where
Pe: Sync,
Pe: Sync,
impl<'data, 'file, Pe> Unpin for PeSection<'data, 'file, Pe> where
'data: 'file,
'data: 'file,