CTSRD-CHERI / qemu

QEMU with support for CHERI
Other
54 stars 28 forks source link

Disassemble instructions using current CPU state #256

Open arichardson opened 5 months ago

arichardson commented 5 months ago

While this means we have to allocate a temporary buffer for the textual trace format, I don't see another workaround for the fact that we print the instruction disassembly after the instruction has executed and therefore has modified state (such as env->thumb) that affects the disassembly of instructions.

Fixes: https://github.com/CTSRD-CHERI/qemu/issues/255