|
From: | Richard Henderson |
Subject: | Re: [PATCH] Adding ability to change disassembler syntax in TCG plugins |
Date: | Wed, 15 Feb 2023 18:24:44 -1000 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.7.1 |
On 2/15/23 18:17, Mikhail Tyutin wrote:
ping patchew link: 7d17f0cbb5ed4c90bbadd3992429006f@yadro.com/">https://patchew.org/QEMU/7d17f0cbb5ed4c90bbadd3992429006f@yadro.com/ 10.02.2023 18:24, Mikhail Tyutin wrote:This patch adds new function qemu_plugin_insn_disas_with_syntax() that allows TCG plugins to get disassembler string with non-default syntax if it wants to.Signed-off-by: Mikhail Tyutin <m.tyutin@yadro.com>
Why?It's certainly not very generic, exposing a disassembly quirk for exactly one guest architecture. I mean, you could just as easily link your plugin directly to libcapstone via qemu_plugin_insn_data().
r~
[Prev in Thread] | Current Thread | [Next in Thread] |