This PR extends the plugin API with two functions which allow convenient access 
around tbs.

The first, qemu_plugin_tb_size, provides a mechanism for determining the total 
size of a translation block.

The second, qemu_plugin_tb_get_insn_by_vaddr, allows users to get a reference 
to an instruction by its virtual address rather than just its index.

Luke Craig (2):
  plugin: extend API with qemu_plugin_tb_get_insn_by_vaddr
  plugin: extend API with qemu_plugin_tb_size

 include/qemu/qemu-plugin.h | 21 +++++++++++++++++++++
 plugins/api.c              | 18 ++++++++++++++++++
 2 files changed, 39 insertions(+)

-- 
2.34.1


Reply via email to