DbgHelp.dll/SymChk类型工具 [英] DbgHelp.dll / SymChk type tool

查看:136
本文介绍了DbgHelp.dll/SymChk类型工具的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我想编写一个小型工具,该工具的功能类似于Windows调试工具中的SymChk.基本上,我想检查符号服务器,以查看指定的二进制文件上是否有相应的符号文件.我不想下载符号文件或加载它或其他任何东西,只需验证是否有符号文件即可,即:

c:\ tool.exe mydll.dll

我将对公共符号服务器路径进行硬编码,该工具将检查符号服务器以查看mydll.dll上是否有匹配的符号文件,并报告是或否,而无需下载PDB或尝试将其加载到任何地方. br/>
我刚刚开始对此进行研究,并且对DbgHelp API感到沮丧,因为到目前为止(到目前为止)都没有找到我想要他们做的事情.

任何帮助或想法,不胜感激.我希望用C编写.

干杯

Colm

Hi All,

I want to write a small tool which would do something similar to SymChk from Debugging Tools for Windows. Basically I want to check a Symbol Server to see if a specified binary has a corresponding symbol file on it. I dont want to download the symbol file or load it or anything, just verify that there is a symbol file for it i.e.:

c:\tool.exe mydll.dll

I would hard code the public symbol server path, and the tool would check the symbol server to see if mydll.dll has sa matching symbol file on it, and report yes or no, without downloading the PDB or trying to load it anywhere.

I''ve just started researching this and am getting frustrated with the DbgHelp APIs as none (so far) look to do what I want them to do.

Any help or thoughts greatly appreciated. I''m hoping to write this in C.

Cheers

Colm

推荐答案

您可以查看CrashRpt开源项目代码. http://code.google.com/p/crashrpt/ [
You can look at CrashRpt open source project code. http://code.google.com/p/crashrpt/[^]

See the /processing/crashrptprobe/MiniDumpReader.cpp

You may find out something useful for you from that file.


这篇关于DbgHelp.dll/SymChk类型工具的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆