物理机的内核模式驱动程序调试

Kernel-Mode driver debugging of a physical Machine

我在一台电脑上 运行 Windbg.exe 我想将另一台物理计算机连接到这台计算机 并在另一台电脑上安装调试我写的驱动

这可能吗?如何实现?

需要注意的是,我已经在虚拟机上检查了我的驱动程序,一切正常,但是唯一的物理机蓝屏,所以我想调试物理机。

当然有可能。您可以使用 serial port, Firewire, USB 2 or USB 3 (requires special hardware support, special cable, and I heard it doesn't work more times than it does) or the preferred way if you're using Windows 8 or higher - over Ethernet.

连接到目标机器

您在目标计算机上使用 bcdedit 就像您在 VM 上所做的那样,并且您传递 kd.exewindbg.exe 内核连接字符串,就像您在调试您的计算机时所做的那样VM - 仅使用另一种传输方式。

是的,可以调试物理​​机。正如 conio 为此提供的信息。您还可以按照 Microsoft 指南设置调试环境。

https://msdn.microsoft.com/en-us/library/windows/hardware/hh439378(v=vs.85).aspx