On 5/22/25 7:03 PM, Rowan Hart wrote:
From: novafacing <rowanbh...@gmail.com>

This patch adds functions to the plugins API to allow plugins to read
and write memory via hardware addresses. The functions use the current
address space of the current CPU in order to avoid exposing address
space information to users. A later patch may want to add a function to
permit a specified address space, for example to facilitate
architecture-specific plugins that want to operate on them, for example
reading ARM secure memory.

Signed-off-by: novafacing <rowanbh...@gmail.com>
Signed-off-by: Rowan Hart <rowanbh...@gmail.com>
---
  include/qemu/qemu-plugin.h | 93 ++++++++++++++++++++++++++++++++++++
  plugins/api.c              | 97 ++++++++++++++++++++++++++++++++++++++
  2 files changed, 190 insertions(+)

Reviewed-by: Pierrick Bouvier <pierrick.bouv...@linaro.org>


Reply via email to