civil_war
驱动牛犊
驱动牛犊
  • 注册日期2004-02-14
  • 最后登录2006-02-06
  • 粉丝0
  • 关注0
  • 积分108分
  • 威望20点
  • 贡献值0点
  • 好评度0点
  • 原创分0分
  • 专家分0分
阅读:1210回复:3

关于在启动过程中对驱动进行源代码级调试的问题

楼主#
更多 发布于:2005-06-29 12:04
  呵呵,这是一个问题,所以麻烦大家一下
我在初始化配置里先把初始化字符串X;给去掉,然后在SYMBOLS里把要调试文件的NMS加载,然后REBOOT(我驱动的TYPE=1,START=2,然后SICE的启动是BOOT),可是我发现我可以拦截我写的驱动里的所有函数,但是显示的是汇编级的。。。。不能显示源代码级的。。。。。。。。。大家谁有经验能否告诉我是否可以调整成为源码级别的呢?

最新喜欢:

hxqw2000hxqw20...
wonder_2001
驱动小牛
驱动小牛
  • 注册日期2002-07-02
  • 最后登录2010-12-03
  • 粉丝0
  • 关注0
  • 积分452分
  • 威望96点
  • 贡献值0点
  • 好评度36点
  • 原创分0分
  • 专家分0分
沙发#
发布于:2005-06-29 14:12
关注中。。。, 请问搂主,你拦截使用什么方法拦的 ,如果不是设断点就请麻烦告书我一下方法
wonder_2001
驱动小牛
驱动小牛
  • 注册日期2002-07-02
  • 最后登录2010-12-03
  • 粉丝0
  • 关注0
  • 积分452分
  • 威望96点
  • 贡献值0点
  • 好评度36点
  • 原创分0分
  • 专家分0分
板凳#
发布于:2005-06-29 14:28
我看了一下文档,并试了一下,用下面的方法就可以调试驱动源码
Use the Symbols initialization settings in conjunction with the Module
Translation settings to pre-load symbols and source code when you start
SoftICE. Pre-loading symbols and source code is useful for debugging
device drivers.
To pre-load symbols or source code, do the following:
1 In the Module Translation settings, select Symbols and source code
if you want your source code loaded in addition to the symbols.
2 Select Package source with symbol table.
3 In Symbol Loader, choose Translate from the Module menu to
translate the module to a .NMS symbol file.
Tip You can use the
Symbol Loader
command-line utility,
NMSYM, to specify the
output file name.
4 Use the Symbols SoftICE Initialization settings to add your .NMS
symbol file to the Symbols list. The following section describes how
to do this
wonder_2001
驱动小牛
驱动小牛
  • 注册日期2002-07-02
  • 最后登录2010-12-03
  • 粉丝0
  • 关注0
  • 积分452分
  • 威望96点
  • 贡献值0点
  • 好评度36点
  • 原创分0分
  • 专家分0分
地板#
发布于:2005-06-29 14:43
但是我的Softice刚启动时全部是乱码,启动完之后就可以调试源码
游客

返回顶部