[prev in list] [next in list] [prev in thread] [next in thread] 

List:       vbox-dev
Subject:    Re: [vbox-dev] norawr3 instruction tracing
From:       Nikolay Igotti <Nikolay.Igotti () Sun ! COM>
Date:       2010-02-09 12:25:22
Message-ID: 4B715432.70907 () sun ! com
[Download RAW message or body]

    Hi Joe,

 Actually it's  achieved with just pure QEMU, but you also could use 
VirtualBox for that.
VBoxSDL frontend has appropriate switches disabling raw and hwacc modes 
(--nohwvirtex --norawr0 --norawr3) and then consult recompiler's 
Makefile and sources (look at DEBUG_TMP_LOGGING define).
In current code it will print both source instructions, IR and 
recompiled code, but you could tweak it to print just what you need.

 However, output is huge and everything will crawl, so I recommend to 
implement some mechanism to turn logging on and off.
 
 Nikolay


Joe wrote:
> Hi
>
> I would like to add some functionality to trace all instruction 
> executed by a guest in ring3 for a research project. Where is a good 
> source entrypoint to start?
>
> Thanks and best regards
>
> Joe
>
> _______________________________________________
> vbox-dev mailing list
> vbox-dev@virtualbox.org
> http://vbox.innotek.de/mailman/listinfo/vbox-dev


_______________________________________________
vbox-dev mailing list
vbox-dev@virtualbox.org
http://vbox.innotek.de/mailman/listinfo/vbox-dev
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic