阅读:1381回复:8
有个问题请教高手们softice
有个dll,系统启动时加载,我该怎么用softice 调试源码啊请具体讲讲吧,一定加分
|
|
沙发#
发布于:2002-04-10 11:08
和sys一样!
|
|
|
板凳#
发布于:2002-04-10 11:21
启动加载?你为什么要启动时就加载DLL???
你可以在里面放个int 3,然后启动时在SoftIce里拦截它。 |
|
|
地板#
发布于:2002-04-10 12:25
你知道系统初始化的时候怎么调试驱动程序吗?知道的话你就用这个方法
先得到这个DLL文件对应的符号文件,然后进行SOFTICE设置 在SOFTICE的SYMBOL LOADER里面EDIT第三个,设置初始化字符串里面把X;去掉,在SYMBOLS里面增加你得到的那个NMS文件就可以了 |
|
地下室#
发布于:2002-04-10 13:02
我没有哪个nms文件,那我该怎么办呢
|
|
5楼#
发布于:2002-04-10 13:21
我没有哪个nms文件,那我该怎么办呢 你load成功的时候,自动产生 |
|
|
6楼#
发布于:2002-10-04 15:03
你知道系统初始化的时候怎么调试驱动程序吗?知道的话你就用这个方法 老大,清说说您增么条您的驱动的(用softice),3x! |
|
7楼#
发布于:2003-02-12 15:20
我好不容易搜索到这条帖子,居然没有下文了~~~~~ :(
顶一下,希望有大侠可以告诉我使用SoftICE 来调试驱动程序的步骤,谢谢 |
|
|
8楼#
发布于:2003-02-13 09:26
Build the application with debug information.
If SoftICE is not already loaded, load SoftICE. Start Symbol Loader. Click Open to open the module that you want to debug. Click Package source with symbol table . Click Translate to create a new .NMS symbol file. Modify the SoftICE initialization settings to pre-load the symbols and source code information for the VxD or device driver on startup. Reboot your PC. 关于 pre-load symbols or source code: Open the file for which you want to pre-load symbols and source. If you want your source code loaded in addition to the symbols, click Symbols and source code . Click Package source with Symbol table . Click Translate to translate the module into a NMS symbol file. Choose SoftICE Initialization Settings... from the Edit menu. Click Symbols. Click Add. 帮助中全有 |
|