On 3/3/26 5:07 AM, Florian Hofhammer wrote:
In addition to the flags specifying whether general-purpose registers
are read-write (rw) during a plugin callback, we add an additional flag
explicitly stating whether the PC is writable. This is in preparation of
a patch that allows to explicitly set the PC to divert control flow from
within a plugin callback, which is currently not possible.
Reviewed-by: Alex Bennée <[email protected]>
Signed-off-by: Florian Hofhammer <[email protected]>
---
include/plugins/qemu-plugin.h | 3 +++
plugins/api.c | 4 +++-
plugins/core.c | 29 ++++++++++++++++-------------
3 files changed, 22 insertions(+), 14 deletions(-)
Reviewed-by: Pierrick Bouvier <[email protected]>