IDebugHostModule 接口 (dbgmodel.h)

IDebugHostSymbol 派生)接口到特定模块。

遗产

IDebugHostModule 继承自 IDebugHostSymbol

方法

IDebugHostModule 接口具有这些方法。

 
IDebugHostModule::AddRef

IDebugHostModule::AddRef 方法递增对象上接口的引用计数。
IDebugHostModule::EnumerateChildren

IDebugHostModule::EnumerateChildren 方法获取能够枚举给定符号的所有子级的枚举器。
IDebugHostModule::FindSymbolByName

调用模块时,IDebugHostModule::FindSymbolByName 方法按名称从模块内检索全局符号。
IDebugHostModule::FindSymbolByRVA

在模块上调用时,IDebugHostModule::FindSymbolByRVA 方法检索模块内给定相对虚拟地址处的符号。
IDebugHostModule::FindTypeByName

在模块上调用 IDebugHostModule::FindTypeByName 方法时,从模块内按类型名称查找类型,并检索其类型符号。
IDebugHostModule::GetBaseLocation

在模块上调用 IDebugHostModule::GetBaseLocation 方法时,获取模块的基本加载地址作为位置结构。
IDebugHostModule::GetContainingModule

对符号调用 IDebugHostModule::GetContainingModule 方法时,如果符号具有包含模块,则获取包含符号的模块。
IDebugHostModule::GetContext

在符号上调用 IDebugHostModule::GetContext 方法时,获取符号所在的主机上下文。
IDebugHostModule::GetImageName

IDebugHostModule::GetImageName 方法将模块的图像名称或完整路径作为分配的字符串获取。
IDebugHostModule::GetName

在符号上调用 IDebugHostModule::GetName 方法时,如果符号具有名称,则获取符号的名称。
IDebugHostModule::GetSymbolKind

在对符号调用时,IDebugHostModule::GetSymbolKind 方法获取字段、基类或类型等符号类型。
IDebugHostModule::GetType

在符号上调用 IDebugHostModule::GetType 方法时,获取符号类型,例如 int *。
IDebugHostModule::GetVersion

在模块上调用 IDebugHostModule::GetVersion 方法时,从模块标头获取模块版本信息。
IDebugHostModule::QueryInterface

IDebugHostModule::QueryInterface 方法检索指向对象上支持的接口的指针。
IDebugHostModule::Release

IDebugHostModule::Release 方法会递减对象上接口的引用计数。

言论

调试器对在某些地址空间中加载的模块的概念以两种不同的方式在数据模型中表示:

  • 通过 IDebugHostModule 接口在类型系统级别。 此处,模块是一个符号,模块的核心属性是接口方法调用

  • 通过 Debugger.Models.Module 数据模型在数据模型级别投影。 这是模块的类型系统 IDebugHostModule 表示形式的可扩展封装。

要求

要求 价值
标头 dbgmodel.h

另请参阅

调试器数据模型C++概述