pub struct PeFile<'data> { /* private fields */ }
Expand description
A PE object file.
Implementations§
Trait Implementations§
source§impl<'data, 'file> Object<'data, 'file> for PeFile<'data>where
'data: 'file,
impl<'data, 'file> Object<'data, 'file> for PeFile<'data>where
'data: 'file,
§type SegmentIterator = PeSegmentIterator<'data, 'file>
type SegmentIterator = PeSegmentIterator<'data, 'file>
An iterator over the segments in the object file.
§type SectionIterator = PeSectionIterator<'data, 'file>
type SectionIterator = PeSectionIterator<'data, 'file>
An iterator over the sections in the object file.
§type SymbolIterator = PeSymbolIterator<'data, 'file>
type SymbolIterator = PeSymbolIterator<'data, 'file>
An iterator over the symbols in the object file.
source§fn segments(&'file self) -> PeSegmentIterator<'data, 'file> ⓘ
fn segments(&'file self) -> PeSegmentIterator<'data, 'file> ⓘ
Get an iterator over the segments in the file.
source§fn section_by_name(
&'file self,
section_name: &str
) -> Option<PeSection<'data, 'file>>
fn section_by_name(
&'file self,
section_name: &str
) -> Option<PeSection<'data, 'file>>
Get the section named
section_name
, if such a section exists. Read moresource§fn sections(&'file self) -> PeSectionIterator<'data, 'file> ⓘ
fn sections(&'file self) -> PeSectionIterator<'data, 'file> ⓘ
Get an iterator over the sections in the file.
source§fn symbol_by_index(&self, _index: u64) -> Option<Symbol<'data>>
fn symbol_by_index(&self, _index: u64) -> Option<Symbol<'data>>
Get the debugging symbol at the given index. Read more
source§fn symbols(&'file self) -> PeSymbolIterator<'data, 'file> ⓘ
fn symbols(&'file self) -> PeSymbolIterator<'data, 'file> ⓘ
Get an iterator over the debugging symbols in the file. Read more
source§fn dynamic_symbols(&'file self) -> PeSymbolIterator<'data, 'file> ⓘ
fn dynamic_symbols(&'file self) -> PeSymbolIterator<'data, 'file> ⓘ
Get an iterator over the dynamic linking symbols in the file. Read more
source§fn symbol_map(&self) -> SymbolMap<'data>
fn symbol_map(&self) -> SymbolMap<'data>
Construct a map from addresses to symbols.
source§fn is_little_endian(&self) -> bool
fn is_little_endian(&self) -> bool
Return true if the file is little endian, false if it is big endian.
source§fn has_debug_symbols(&self) -> bool
fn has_debug_symbols(&self) -> bool
Return true if the file contains debug information sections, false if not.