首页
社区
课程
招聘
如何从符号文件pdb中导出全局变量?
发表于: 2011-9-7 21:21 7892

如何从符号文件pdb中导出全局变量?

2011-9-7 21:21
7892
那位告知下pdb的文件格式,类似PE格式那样,如何解析pdb获取全局变量?thx

[培训]科锐逆向工程师培训第53期2025年7月8日开班!

收藏
免费 0
支持
分享
最新回复 (4)
雪    币: 146
活跃值: (182)
能力值: ( LV13,RANK:220 )
在线值:
发帖
回帖
粉丝
2
d17K9s2c8@1M7q4)9K6b7g2)9J5c8W2)9J5c8X3u0D9L8$3N6Q4x3X3g2U0M7$3c8F1i4K6u0W2L8X3g2@1i4K6u0r3K9h3&6K6N6s2u0#2k6r3g2J5i4K6u0r3j5i4u0@1K9h3y4D9k6g2)9J5c8X3c8W2N6r3q4A6L8s2y4Q4x3V1j5$3x3e0R3K6y4K6M7J5i4K6t1$3L8X3u0K6M7q4)9K6b7R3`.`.  哈哈
2011-9-7 21:47
0
雪    币: 170
活跃值: (90)
能力值: ( LV12,RANK:210 )
在线值:
发帖
回帖
粉丝
3
感谢啊 dia2在看。大恩不言谢,我记下了。
2011-9-8 10:16
0
雪    币: 170
活跃值: (90)
能力值: ( LV12,RANK:210 )
在线值:
发帖
回帖
粉丝
4
Dia2dump提供以下接口函数:看名字就知道用途了,不多说了。。。
void DumpAllPdbInfo( IDiaSession*, IDiaSymbol* );
bool DumpAllMods( IDiaSymbol* );
bool DumpAllPublics( IDiaSymbol* );
bool DumpCompiland( IDiaSymbol* , BSTR );
bool DumpAllSymbols( IDiaSymbol* );
bool DumpAllGlobals( IDiaSymbol* );
bool DumpAllTypes( IDiaSymbol* );
bool DumpAllUDTs( IDiaSymbol* );
bool DumpAllEnums( IDiaSymbol* );
bool DumpAllTypedefs( IDiaSymbol* );
bool DumpAllOEMs( IDiaSymbol* );
bool DumpAllFiles( IDiaSession* , IDiaSymbol* );
bool DumpAllLines( IDiaSession* , IDiaSymbol* );
bool DumpAllLines( IDiaSession* , DWORD , DWORD );
bool DumpAllSecContribs( IDiaSession* );
bool DumpAllDebugStreams( IDiaSession* );
bool DumpAllInjectedSources( IDiaSession* );
bool DumpInjectedSource( IDiaSession* , BSTR );
bool DumpAllSourceFiles( IDiaSession* , IDiaSymbol* );
bool DumpAllFPO( IDiaSession* );
bool DumpFPO( IDiaSession* , DWORD );
bool DumpFPO( IDiaSession* , IDiaSymbol* , BSTR );
bool DumpSymbolWithRVA( IDiaSession* , DWORD , BSTR );
bool DumpSymbolsWithRegEx( IDiaSymbol* , BSTR , BSTR );
bool DumpSymbolWithChildren( IDiaSymbol* , BSTR );
bool DumpLines( IDiaSession* , DWORD );
bool DumpLines( IDiaSession* , IDiaSymbol* , BSTR );
bool DumpType( IDiaSymbol* , BSTR );
bool DumpLinesForSourceFile( IDiaSession* , BSTR , DWORD );
bool DumpPublicSymbolsSorted( IDiaSession* , DWORD , DWORD , bool );
bool DumpLabel( IDiaSession* , DWORD );
bool DumpAnnotations( IDiaSession* , DWORD );
bool DumpMapToSrc( IDiaSession* , DWORD );
bool DumpMapFromSrc( IDiaSession* , DWORD );

这套api很强大啊
2011-9-8 10:51
0
雪    币: 1708
活跃值: (586)
能力值: ( LV15,RANK:670 )
在线值:
发帖
回帖
粉丝
5
dia sdk 可以写源码调试器的。
2011-9-8 17:38
0
游客
登录 | 注册 方可回帖
返回