IDkmSymbolProviderCallback.GetEntryPointSymbols(DkmModule) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
GetEntryPointSymbols is used by the breakpoint manager to find the entry point symbol(s) in the launching executable. For managed code, this symbol is defined using ISymUnmanagedWriter::SetUserEntryPoint. For native code, this symbol is found by looking for the various 'main' function (main, WinMain, etc). A third can override the entry point either by implementing their own symbol provider or by implementing IDkmEntryPointQuery.
public:
cli::array <Microsoft::VisualStudio::Debugger::Symbols::DkmInstructionSymbol ^> ^ GetEntryPointSymbols(Microsoft::VisualStudio::Debugger::Symbols::DkmModule ^ module);
public Microsoft.VisualStudio.Debugger.Symbols.DkmInstructionSymbol[] GetEntryPointSymbols (Microsoft.VisualStudio.Debugger.Symbols.DkmModule module);
public Microsoft.VisualStudio.Debugger.Symbols.DkmInstructionSymbol[]? GetEntryPointSymbols (Microsoft.VisualStudio.Debugger.Symbols.DkmModule module);
abstract member GetEntryPointSymbols : Microsoft.VisualStudio.Debugger.Symbols.DkmModule -> Microsoft.VisualStudio.Debugger.Symbols.DkmInstructionSymbol[]
Public Function GetEntryPointSymbols (module As DkmModule) As DkmInstructionSymbol()
Parameters
- module
- DkmModule
[In] The DkmModule class represents a code bundle (ex: dll or exe) which is or once was loaded into one or more processes. The DkmModule class is the central object to the symbol APIs, and is 1:1 with the symbol handler's notation of what is loaded. If a code bundle loads into three different processes (or the same process but with three different base addresses or three different app domains) but the symbol handler thinks of all of these as being identical, there will be only one module object.
Returns
[Out] DkmInstructionSymbol[] represents a method in the target process.