« Kernel Debug » : différence entre les versions

De UnixWiki
Aller à la navigation Aller à la recherche
(Page créée avec « == 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/d... »)
 
 
Ligne 4 : Ligne 4 :


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

[[Fichier:Debuggee.png]]
[[Fichier:Debuggee.png]]



Dernière version du 10 octobre 2018 à 12:49

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.