I would like to modify the QEMU emulator's behaviour when it executes some assembly instructions of a target architecture (e.g., RISC-V) running ontop of a host (e.g., x86).
My question is, is it possible, to access the information related to the instruction being executed, from the C helper?
There some infos that can be accessed from the context variable pointer, but I wasn't able to access the instruction binary code for example. Any ideas?