IDkmSymbolProviderCallback.GetEntryPointSymbols(DkmModule) 方法

定义

断点管理器使用 GetEntryPointSymbols 在启动可执行文件中查找) (s 的入口点符号。 对于托管代码,使用 ISymUnmanagedWriter:: SetUserEntryPoint 定义此符号。 对于本机代码,可通过查找 (main,WinMain,等等) 的各种 "main" 函数查找此符号。 第三种方法是通过实现自己的符号提供程序或实现 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);
abstract member GetEntryPointSymbols : Microsoft.VisualStudio.Debugger.Symbols.DkmModule -> Microsoft.VisualStudio.Debugger.Symbols.DkmInstructionSymbol[]
Public Function GetEntryPointSymbols (module As DkmModule) As DkmInstructionSymbol()

参数

module
DkmModule

中DkmModule 类表示 (ex: dll 或 exe) 的代码绑定,或将其加载到一个或多个进程中。 DkmModule 类是指向符号 Api 的中心对象,为1:1,并带有符号处理程序的表示形式。 如果代码绑定加载到三个不同的进程 (或相同的进程,但具有三个不同的基址或三个不同的应用程序域) 但符号处理程序认为所有这些都是相同的,则将只有一个 module 对象。

返回

DkmInstructionSymbol[]

弄DkmInstructionSymbol [] 表示目标进程中的方法。

适用于