[vbox-dev] norawr3 instruction tracing
Nikolay Igotti
Nikolay.Igotti at Sun.COM
Tue Feb 9 04:25:22 PST 2010
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 at virtualbox.org
> http://vbox.innotek.de/mailman/listinfo/vbox-dev
More information about the vbox-dev
mailing list