Class SerializedPdbModule
- Namespace
- AsmResolver.Symbols.Pdb
- Assembly
- AsmResolver.Symbols.Pdb.dll
Provides an implementation for a PDB module that is read from an input PDB image.
public class SerializedPdbModule : PdbModule, ICodeViewSymbolProvider
- Inheritance
-
SerializedPdbModule
- Implements
- Inherited Members
Constructors
SerializedPdbModule(PdbReaderContext, ModuleDescriptor, SourceFileCollection?, ModiStream?)
Reads a module from a PDB image based on a module descriptor in the DBI stream and a MoDi stream.
public SerializedPdbModule(PdbReaderContext context, ModuleDescriptor descriptor, SourceFileCollection? sourceFiles, ModiStream? stream)
Parameters
context
PdbReaderContextThe reading context in which the module is situated in.
descriptor
ModuleDescriptorThe module descriptor as described in the DBI stream.
sourceFiles
SourceFileCollectionThe source files as described in the DBI stream.
stream
ModiStreamThe MoDi stream to read symbols from.
Methods
GetName()
Obtains the name of the module.
protected override Utf8String? GetName()
Returns
- Utf8String
The name.
Remarks
This method is called upon the initialization of the Name property.
GetObjectFileName()
Obtains the object file name of the module.
protected override Utf8String? GetObjectFileName()
Returns
- Utf8String
The object file name.
Remarks
This method is called upon the initialization of the ObjectFileName property.
GetSectionContribution()
Obtains the section contribution of the module.
protected override SectionContribution? GetSectionContribution()
Returns
- SectionContribution
The section contribution.
Remarks
This method is called upon the initialization of the SectionContribution property.
GetSymbols()
Obtains the symbols stored in the module.
protected override IList<ICodeViewSymbol> GetSymbols()
Returns
- IList<ICodeViewSymbol>
The symbols.
Remarks
This method is called upon the initialization of the Symbols property.