VMware+Win7+windbg 双机调试

一. vmware 设置

1. 添加串口

2.选择输出到命名管道

3. 命名管道名称  \\.\pipe\com_1,  该端是服务器,  另一端是虚拟机


二. 系统设置

以管理员权限运行cmd, 输入以下命令

bcdedit /copy {current} /d "Windows 7 copy"

bcdedit /debug ON

bcdedit /bootdebug ON

bcdedit /dbgsetting

bcdedit /timeout 7


三.windbg设置

D:\WinDDK\7600.16385.1\Debuggers\windbg.exe -b -k com:port=//./pipe/com_1,baud=115200,pipe


如果设置好了, windbg显示Waiting to reconnect,状态显示Debuggee  not connected的话,  那么就改一下系统设置, msconfig, 选择引导, 高级选项,  然后把调试端口改成com2的, 再重启试试.

你可能感兴趣的:(逆向/汇编语言相关,Rootkit/驱动底层)