1:使用!process 0 0 获取用户空间的所有的进程的信息
!process 0 0
**** NT ACTIVE PROCESS DUMP ****
PROCESS 80a02a60 Cid: 0002 Peb: 00000000 ParentCid: 0000
DirBase: 00006e05 ObjectTable: 80a03788 TableSize: 150.
Image: System
。。。。。
2:使用.process /p + 你需要断的应用程序的EProcess地址切换到应用程序的地址空间
例如:
.process /p 0x80a02a60
3:重新加载user PDB文件
.reload /f /user
4:使用非侵入式的切换进程空间
.process /i /p 0x80a02a60
5:下应用层断点
bp
bu
都可以
本文介绍了使用Windbg进行进程切换及调试的基本步骤,包括获取所有进程信息、切换到指定进程地址空间、重新加载userPDB文件、非侵入式进程空间切换以及设置应用层断点的方法。
3万+

被折叠的 条评论
为什么被折叠?



