Note: I also followed this: https://docs.microsoft.com/en-us/windows-hardware/drivers/devtest/boot-parameters-to-enable-debugging to get debugging working
How to setup your environment with two Virtual Machines
Apparently my comment system does not work. But here is Annette’s solution to setting up the debugger and target machine as virtual machines.
Here is how I used OSX with two VMs instead of using Bootcamp or a Windows box:
Windows Drivers Part 2: IOCTLs
In this article, we are going to delve further into how a kernel driver works. In the first part, we talked about getting an environment set up. A lot of this comes from this article.
A driver is purely in kernel space, but it exists to service user space programs, and…
Loading a driver on the fly
In previous entries, the way we have loaded a device driver was to use OSR’s Driver Loader so that we could quickly install, uninstall, start, and stop the service. We did this because it was quicker than putting an entry in the registry (which requires a reboot to complete). So how to do you load…
More Driver Debugging
Attaching WinDbg to a VM to be able to get debugging output and create breakpoints is good, but if you don’t know how to use it, then its not terribly useful. However, in the cases we are working with (where we are developing and testing the code), we would have a lot more insight into what the driver…