Debugging Windows Kernel with two VirtualBox hosts

扶醉桌前 提交于 2019-12-07 23:57:51

问题


I'm running Linux, and I have two Windows 7 machine setup in VirtualBox.

Now I'm trying to use the first machine to debug the second one.

So I configured the same host pipe for the two machines,

In the debugger machine, I launches windbg that waiting for inputs on COM1:

And on the debugee machine, I enabled debug mode and reboot,

C:\Users\XX>bcdedit /dbgsettings
debugtype               Serial
debugport               1
baudrate                115200

But they don't seem to know each other, just blindly waiting.

Anything wrong? Or was it just impossible to achieve.


回答1:


  • Uncheck "Create Pipe" on one of the VMs (for best practice it should be a debugger target). For serial port redirection one VM acts as a server (the one that creates the pipe) and other acts as a client.
  • Use some terminal application to check that you can pass the data between the VMs using com port. And only then setup kernel debugger.


来源:https://stackoverflow.com/questions/18590288/debugging-windows-kernel-with-two-virtualbox-hosts

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!