pub struct PeSection<'data, 'file, Pe, R = &'data [u8]> where
'data: 'file,
Pe: ImageNtHeaders,
R: ReadRef<'data>, { /* private fields */ }
Expand description
A section of a PeFile
.
Trait Implementations
impl<'data, 'file, Pe, R> ObjectSection<'data> for PeSection<'data, 'file, Pe, R> where
Pe: ImageNtHeaders,
R: ReadRef<'data>,
impl<'data, 'file, Pe, R> ObjectSection<'data> for PeSection<'data, 'file, Pe, R> where
Pe: ImageNtHeaders,
R: ReadRef<'data>,
type RelocationIterator = PeRelocationIterator<'data, 'file, R>
type RelocationIterator = PeRelocationIterator<'data, 'file, R>
An iterator over the relocations for a section. Read more
Returns the section index.
Returns offset and size of on-disk segment (if any).
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.
Returns the name of the segment for this section. Read more
Return the kind of this section.
fn relocations(&self) -> PeRelocationIterator<'data, 'file, R>ⓘNotable traits for PeRelocationIterator<'data, 'file, R>impl<'data, 'file, R> Iterator for PeRelocationIterator<'data, 'file, R> type Item = (u64, Relocation);
fn relocations(&self) -> PeRelocationIterator<'data, 'file, R>ⓘNotable traits for PeRelocationIterator<'data, 'file, R>impl<'data, 'file, R> Iterator for PeRelocationIterator<'data, 'file, R> type Item = (u64, Relocation);
Notable traits for PeRelocationIterator<'data, 'file, R>
impl<'data, 'file, R> Iterator for PeRelocationIterator<'data, 'file, R> type Item = (u64, Relocation);
Get the relocations for this section.
Section flags that are specific to each file format.