当前位置:网站首页>WinXP内核驱动调试
WinXP内核驱动调试
2022-06-24 20:38:00 【ma_de_hao_mei_le】
使用vmware创建一个xp虚拟机,确保你是Administrator用户,打开cmd,cd进入C盘根目录
然后执行notepad boot.ini,内容应该是下面这样的
[boot loader] timeout=30 default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS [operating systems] multi(0)disk(0)rdisk(0)partition(1)\WINDOWS=“Microsoft Windows XP Professional” /noexecute=optin /fastdetect
复制最后一行的内容,然后换行追加到文件末尾,编辑后的文件内容如下:
[boot loader] timeout=30 default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS [operating systems] multi(0)disk(0)rdisk(0)partition(1)\WINDOWS=“Microsoft Windows XP Professional” /noexecute=optin /fastdetect multi(0)disk(0)rdisk(0)partition(1)\WINDOWS=“Microsoft Windows XP Professional” /noexecute=optin /fastdetect /debug /debugport=com1 /baudrate=115200
这样即可开启调试模式,重启该虚拟机,你会看到如下开机选项
http://tougao.jb51.net/uploadfile/20220622/1655878179101017.png
使用键盘的方向键选中【启用调试程序】的开机选项回车即可
此时还没有完事,先将该虚拟机关机,然后添加硬件,具体操作请查看该视频:
https://www.bilibili.com/video/BV1M34y1W7qX/
注意上面视频中的命名管道\.\pipe\com1中的com1要和你上面boot.ini中的
/debugport=com1
一致
然后在你的物理机中使用如下命令启动windbg
“C:\Program Files (x86)\Windows Kits\10\Debuggers\x86\windbg.exe” -b -k com:port=\.\pipe\com1,baud=115200,pipe
如果你没有windbg,请参考这篇文章https://144.one/windows-kernel-debug.html进行下载安装
windbg启动之后,开启你的winxp虚拟机,选择【启用调试程序】开机选项开机即可
可以看到,这边已经连接到winxp虚拟机并中断了
http://tougao.jb51.net/uploadfile/20220622/1655878719552872.png
边栏推荐
- I'd like to ask how to open an account at industrial securities? Is it safe to open a stock account through the link
- Scala sample object
- 图书馆管理系统代码源码(php+css+js+mysql) 完整的代码源码
- If the order has not been paid for 30 minutes, it will be automatically cancelled. How can I achieve this?
- 天书夜读笔记——深入虚函数virtual
- 我想问一下兴业证券怎么开户?通过链接办理股票开户安全吗
- 最新QQ微信域名防红PHP程序源码+强制跳转打开
- Scala trait exercise
- [untitled]
- 期望与方差
猜你喜欢

2022熔化焊接与热切割复训题库模拟考试平台操作

Text editor for QT project practice -- Episode 9

程序员:是花光积蓄在深圳买房?还是回到长沙过“富余”生活?

Zuckerberg demonstrated four VR head display prototypes, and meta revealed the "family" of metauniverse

JVM指令

1. 封装自己的脚手架 2.创建代码模块

Preliminary understanding of qtoolbutton

利用 Redis 的 sorted set 做每周热评的功能

If the order has not been paid for 30 minutes, it will be automatically cancelled. How can I achieve this?

4 ans d'expérience de travail, 5 modes de communication Multi - thread ne peuvent pas être décrits, vous osez croire?
随机推荐
Powerbi - for you who are learning
Leetcode 1248. Statistics of "graceful subarray" (harm, suddenly found that it can only enumerate violently)
我想问一下兴业证券怎么开户?通过链接办理股票开户安全吗
2022年危险化学品经营单位安全管理人员考试试题及模拟考试
高考之后,必然会出现以下四种情况:
最新QQ微信域名防红PHP程序源码+强制跳转打开
联想童夫尧:11倍于大势,我们一路攻城拔寨
Scala IO reads by lexical units and numbers
汇编语言(2)基础知识-debug
Scala IO read by character
归并排序模板 & 理解
4年工作經驗,多線程間的5種通信方式都說不出來,你敢信?
2022r1 quick opening pressure vessel operation test questions and answers
Text editor for QT project practice - Episode 10
用手机在同花顺上开户靠谱吗?这样炒股有没有什么安全隐患
yasea apk 下载 镜像
Text editor for QT project practice - Episode 12
Bi-sql - join
Simulation questions and answers of the latest national fire facility operator (senior fire facility operator) in 2022
C语言边界计算和不对称边界