|
From: | Kenneth Adam Miller |
Subject: | Re: Access target TranslatorOps |
Date: | Wed, 20 Jul 2022 12:37:58 -0400 |
Kenneth Adam Miller <kennethadammiller@gmail.com> writes:
> Hello,
>
> I would like to be able to, from the linux-user/main.c, access the target's registered TranslatorOps instance. How would I
> do that when 1) the TCG is correctly initialized and ready to run 2)
> before QEMU starts to run or when it is safely paused?
Why would you want to mess with the TranslatorOps?
If you want to do some sort of analysis you might want to consider:
https://qemu.readthedocs.io/en/latest/devel/tcg-plugins.html
At which point you can hook into any translation or individual instructions.
--
Alex Bennée
[Prev in Thread] | Current Thread | [Next in Thread] |