Struct object::read::pe::PeFile [−][src]
pub struct PeFile<'data, Pe: ImageNtHeaders> { /* fields omitted */ }
A PE object file.
Implementations
impl<'data, Pe: ImageNtHeaders> PeFile<'data, Pe>
[src]
impl<'data, Pe: ImageNtHeaders> PeFile<'data, Pe>
[src]Trait Implementations
impl<'data, Pe: Debug + ImageNtHeaders> Debug for PeFile<'data, Pe>
[src]
impl<'data, Pe: Debug + ImageNtHeaders> Debug for PeFile<'data, Pe>
[src]impl<'data, 'file, Pe> Object<'data, 'file> for PeFile<'data, Pe> where
'data: 'file,
Pe: ImageNtHeaders,
[src]
impl<'data, 'file, Pe> Object<'data, 'file> for PeFile<'data, Pe> where
'data: 'file,
Pe: ImageNtHeaders,
[src]type Segment = PeSegment<'data, 'file, Pe>
A segment in the object file.
type SegmentIterator = PeSegmentIterator<'data, 'file, Pe>
An iterator over the segments in the object file.
type Section = PeSection<'data, 'file, Pe>
A section in the object file.
type SectionIterator = PeSectionIterator<'data, 'file, Pe>
An iterator over the sections in the object file.
type Comdat = PeComdat<'data, 'file, Pe>
A COMDAT section group in the object file.
type ComdatIterator = PeComdatIterator<'data, 'file, Pe>
An iterator over the COMDAT section groups in the object file.
type Symbol = CoffSymbol<'data, 'file>
A symbol in the object file.
type SymbolIterator = CoffSymbolIterator<'data, 'file>
An iterator over symbols in the object file.
type SymbolTable = CoffSymbolTable<'data, 'file>
A symbol table in the object file.
type DynamicRelocationIterator = NoDynamicRelocationIterator
An iterator over dynamic relocations in the file. Read more
fn architecture(&self) -> Architecture
[src]
fn is_little_endian(&self) -> bool
[src]
fn is_64(&self) -> bool
[src]
fn segments(&'file self) -> PeSegmentIterator<'data, 'file, Pe>ⓘNotable traits for PeSegmentIterator<'data, 'file, Pe>
impl<'data, 'file, Pe: ImageNtHeaders> Iterator for PeSegmentIterator<'data, 'file, Pe> type Item = PeSegment<'data, 'file, Pe>;
[src]
Notable traits for PeSegmentIterator<'data, 'file, Pe>
impl<'data, 'file, Pe: ImageNtHeaders> Iterator for PeSegmentIterator<'data, 'file, Pe> type Item = PeSegment<'data, 'file, Pe>;
fn section_by_name(
&'file self,
section_name: &str
) -> Option<PeSection<'data, 'file, Pe>>
[src]
&'file self,
section_name: &str
) -> Option<PeSection<'data, 'file, Pe>>
fn section_by_index(
&'file self,
index: SectionIndex
) -> Result<PeSection<'data, 'file, Pe>>
[src]
&'file self,
index: SectionIndex
) -> Result<PeSection<'data, 'file, Pe>>
fn sections(&'file self) -> PeSectionIterator<'data, 'file, Pe>ⓘNotable traits for PeSectionIterator<'data, 'file, Pe>
impl<'data, 'file, Pe: ImageNtHeaders> Iterator for PeSectionIterator<'data, 'file, Pe> type Item = PeSection<'data, 'file, Pe>;
[src]
Notable traits for PeSectionIterator<'data, 'file, Pe>
impl<'data, 'file, Pe: ImageNtHeaders> Iterator for PeSectionIterator<'data, 'file, Pe> type Item = PeSection<'data, 'file, Pe>;
fn comdats(&'file self) -> PeComdatIterator<'data, 'file, Pe>ⓘNotable traits for PeComdatIterator<'data, 'file, Pe>
impl<'data, 'file, Pe: ImageNtHeaders> Iterator for PeComdatIterator<'data, 'file, Pe> type Item = PeComdat<'data, 'file, Pe>;
[src]
Notable traits for PeComdatIterator<'data, 'file, Pe>
impl<'data, 'file, Pe: ImageNtHeaders> Iterator for PeComdatIterator<'data, 'file, Pe> type Item = PeComdat<'data, 'file, Pe>;
fn symbol_by_index(
&'file self,
index: SymbolIndex
) -> Result<CoffSymbol<'data, 'file>>
[src]
&'file self,
index: SymbolIndex
) -> Result<CoffSymbol<'data, 'file>>
fn symbols(&'file self) -> CoffSymbolIterator<'data, 'file>ⓘNotable traits for CoffSymbolIterator<'data, 'file>
impl<'data, 'file> Iterator for CoffSymbolIterator<'data, 'file> type Item = CoffSymbol<'data, 'file>;
[src]
Notable traits for CoffSymbolIterator<'data, 'file>
impl<'data, 'file> Iterator for CoffSymbolIterator<'data, 'file> type Item = CoffSymbol<'data, 'file>;
fn symbol_table(&'file self) -> Option<CoffSymbolTable<'data, 'file>>
[src]
fn dynamic_symbols(&'file self) -> CoffSymbolIterator<'data, 'file>ⓘNotable traits for CoffSymbolIterator<'data, 'file>
impl<'data, 'file> Iterator for CoffSymbolIterator<'data, 'file> type Item = CoffSymbol<'data, 'file>;
[src]
Notable traits for CoffSymbolIterator<'data, 'file>
impl<'data, 'file> Iterator for CoffSymbolIterator<'data, 'file> type Item = CoffSymbol<'data, 'file>;
fn dynamic_symbol_table(&'file self) -> Option<CoffSymbolTable<'data, 'file>>
[src]
fn dynamic_relocations(&'file self) -> Option<NoDynamicRelocationIterator>
[src]
fn imports(&self) -> Result<Vec<Import<'data>>>
[src]
fn exports(&self) -> Result<Vec<Export<'data>>>
[src]
fn has_debug_symbols(&self) -> bool
[src]
fn entry(&self) -> u64
[src]
fn flags(&self) -> FileFlags
[src]
fn endianness(&self) -> Endianness
[src]
fn symbol_map(&'file self) -> SymbolMap<SymbolMapName<'data>>
[src]
fn object_map(&'file self) -> ObjectMap<'data>
[src]
fn mach_uuid(&self) -> Result<Option<[u8; 16]>>
[src]
fn build_id(&self) -> Result<Option<&'data [u8]>>
[src]
fn gnu_debuglink(&self) -> Result<Option<(&'data [u8], u32)>>
[src]
Auto Trait Implementations
impl<'data, Pe> Send for PeFile<'data, Pe> where
Pe: Sync,
Pe: Sync,
impl<'data, Pe> Sync for PeFile<'data, Pe> where
Pe: Sync,
Pe: Sync,