更新:2007 年 11 月
指定要在搜索符号读取器时使用的策略。ISymUnmanagedBinder2::GetReaderForFile2 和 ISymUnmanagedBinder3::GetReaderFromCallback 方法使用这些常量。
![]() |
---|
打开来自不受信任的源的程序数据库 (PDB) 文件会带来安全风险。 |
typedef enum CorSymSearchPolicyAttributes
{
AllowRegistryAccess = 0x1,
AllowSymbolServerAccess = 0x2,
AllowOriginalPathAccess = 0x4, //
AllowReferencePathAccess = 0x8
} CorSymSearchPolicyAttributes;
成员
成员 |
说明 |
---|---|
AllowRegistryAccess |
查询注册表以获得符号搜索路径。 |
AllowSymbolServerAccess |
访问符号服务器。 |
AllowOriginalPathAccess |
搜索在调试目录中指定的路径。 |
AllowReferencePathAccess |
在 .exe 文件所在的位置搜索 PDB。 |
要求
**头文件:**CorSym.idl