Kernel Debug

De UnixWiki
Révision datée du 10 octobre 2018 à 14:49 par Futex (discussion | contributions) (Kernel Debug on a WinXP machine)
(diff) ← Version précédente | Voir la version actuelle (diff) | Version suivante → (diff)
Aller à : navigation, rechercher

Kernel Debug on a WinXP machine

In the debugger machine create a host pipe (don't check auto connect to pipe, virtualbox will automatically create the pipe in /tmp/dbg) Debugger.png

In the debuggee machine set the host pipe path, and check the host pipe autoconnect)

Debuggee.png


Add these line in c:\boot.init of the debugee machine

 [boot loader]
 timeout=30
 default=multi(0)disk(0)rdisk(0)partition(1)\WINXP
 [operating systems]
 multi(0)disk(0)rdisk(0)partition(1)\WINXP="Microsoft Windows XP Professional" /noexecute=optin /fastdetect /debugport=COM1 /baudrate=115200

On the debugger machine, launch Windbg in admin press ctrl + k or File -> kernel debug, dont check pipe and reconnect option or it will failed

Windbg.png

Now start the debuggee VM, it should be run.