Kernel Debug : Différence entre versions

De UnixWiki
Aller à : navigation, rechercher
(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... »)
 
(Kernel Debug on a WinXP machine)
 
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]]
   

Version actuelle datée du 10 octobre 2018 à 14: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.