I need to create full memory and kernel memory dumps using a kernel mode driver in windows.
Just like what .dump command do using WinDBG, but I need to do it in my code.
Any Ideas how to do so?
I need to create full memory and kernel memory dumps using a kernel mode driver in windows.
Just like what .dump command do using WinDBG, but I need to do it in my code.
Any Ideas how to do so?
I think there is no good way to do that. You might just generate a BSOD through KeBugCheck() on a properly configured system. It relies on an undocumented IoWriteCrashDump() method that you might want to investigate as well.