pub struct PeSection<'data, 'file>where
'data: 'file,{ /* private fields */ }
Expand description
A section of a PeFile
.
Trait Implementations§
source§impl<'data, 'file> ObjectSection<'data> for PeSection<'data, 'file>
impl<'data, 'file> ObjectSection<'data> for PeSection<'data, 'file>
§type RelocationIterator = PeRelocationIterator
type RelocationIterator = PeRelocationIterator
An iterator over the relocations for a section. Read more
source§fn data(&self) -> Cow<'data, [u8]>
fn data(&self) -> Cow<'data, [u8]>
Returns the raw contents of the section.
The length of this data may be different from the size of the
section in memory. Read more
source§fn uncompressed_data(&self) -> Cow<'data, [u8]>
fn uncompressed_data(&self) -> Cow<'data, [u8]>
Returns the uncompressed contents of the section.
The length of this data may be different from the size of the
section in memory. Read more
source§fn segment_name(&self) -> Option<&str>
fn segment_name(&self) -> Option<&str>
Returns the name of the segment for this section.
source§fn kind(&self) -> SectionKind
fn kind(&self) -> SectionKind
Return the kind of this section.
source§fn relocations(&self) -> PeRelocationIterator ⓘ
fn relocations(&self) -> PeRelocationIterator ⓘ
Get the relocations for this section.