Class DefaultSymbolResolver
- Namespace
- AsmResolver.PE.Imports
- Assembly
- AsmResolver.PE.dll
Provides an implementation of the ISymbolResolver that includes some static ordinal-name mappings from known Windows libraries.
public sealed class DefaultSymbolResolver : ISymbolResolver
- Inheritance
-
DefaultSymbolResolver
- Implements
- Inherited Members
Remarks
This class should only be used for quick static lookup of common ordinals to names (e.g. in conjuction with the ImportHash class). The resulting symbol objects are mock objects and do not contain a valid address to the actual symbol.
Properties
Instance
Gets the singleton instance for the DefaultSymbolResolver class.
public static DefaultSymbolResolver Instance { get; }
Property Value
Methods
Resolve(ImportedSymbol)
Resolves the provided symbol.
public ExportedSymbol? Resolve(ImportedSymbol symbol)
Parameters
symbol
ImportedSymbolThe symbol to resolve.
Returns
- ExportedSymbol
The resolved symbol, or
null
if none was found.