pub struct PortablePdbObject<'data> { /* private fields */ }
Expand description
An object wrapping a Portable PDB file.
Implementations§
Source§impl<'data> PortablePdbObject<'data>
impl<'data> PortablePdbObject<'data>
Sourcepub fn portable_pdb(&self) -> &PortablePdb<'_>
pub fn portable_pdb(&self) -> &PortablePdb<'_>
Returns the Portable PDB contained in this object.
Trait Implementations§
Source§impl Debug for PortablePdbObject<'_>
impl Debug for PortablePdbObject<'_>
Source§impl<'data: 'object, 'object> ObjectLike<'data, 'object> for PortablePdbObject<'data>
impl<'data: 'object, 'object> ObjectLike<'data, 'object> for PortablePdbObject<'data>
Source§fn code_id(&self) -> Option<CodeId>
fn code_id(&self) -> Option<CodeId>
The code identifier of this object.
Portable PDB does not provide code identifiers.
Source§fn kind(&self) -> ObjectKind
fn kind(&self) -> ObjectKind
The kind of this object.
Source§fn load_address(&self) -> u64
fn load_address(&self) -> u64
The address at which the image prefers to be loaded into memory.
This is always 0 as this does not really apply to Portable PDB.
Source§fn has_symbols(&self) -> bool
fn has_symbols(&self) -> bool
Returns true if this object exposes a public symbol table.
Source§fn symbols(&self) -> PortablePdbSymbolIterator<'data>
fn symbols(&self) -> PortablePdbSymbolIterator<'data>
Returns an iterator over symbols in the public symbol table.
Source§fn symbol_map(&self) -> SymbolMap<'data>
fn symbol_map(&self) -> SymbolMap<'data>
Returns an ordered map of symbols in the symbol table.
Source§fn has_debug_info(&self) -> bool
fn has_debug_info(&self) -> bool
Determines whether this object contains debug information.
Source§fn debug_session(&self) -> Result<PortablePdbDebugSession<'data>, FormatError>
fn debug_session(&self) -> Result<PortablePdbDebugSession<'data>, FormatError>
Constructs a debugging session.
Source§fn has_unwind_info(&self) -> bool
fn has_unwind_info(&self) -> bool
Determines whether this object contains stack unwinding information.
Source§fn has_sources(&self) -> bool
fn has_sources(&self) -> bool
Determines whether this object contains embedded or linked sources.
Source§fn is_malformed(&self) -> bool
fn is_malformed(&self) -> bool
Determines whether this object is malformed and was only partially parsed.
Source§fn file_format(&self) -> FileFormat
fn file_format(&self) -> FileFormat
The container file format, which currently is always FileFormat::PortablePdb
.