plugin: add qemu_plugin_insn_disas helper
Give the plugins access to the QEMU dissasembler so they don't have to re-invent the wheel. We generate a warning when there are spare bytes in the decode buffer. This is usually due to the front end loading in more bytes than decoded. Signed-off-by:Alex Bennée <alex.bennee@linaro.org> Reviewed-by:
Richard Henderson <richard.henderson@linaro.org>
Showing
- disas.c 110 additions, 0 deletionsdisas.c
- include/disas/disas.h 2 additions, 0 deletionsinclude/disas/disas.h
- include/qemu/qemu-plugin.h 9 additions, 0 deletionsinclude/qemu/qemu-plugin.h
- plugins/api.c 8 additions, 1 deletionplugins/api.c
- plugins/qemu-plugins.symbols 1 addition, 0 deletionsplugins/qemu-plugins.symbols
Loading
Please register or sign in to comment