diff options
Diffstat (limited to 'disas.c')
-rw-r--r-- | disas.c | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -222,6 +222,13 @@ void target_disas(FILE *out, target_ulong code, target_ulong size, int flags) fprintf(out, "\n"); if (count < 0) break; + if (size < count) { + fprintf(out, + "Disassembler disagrees with translator over instruction " + "decoding\n" + "Please report this to qemu-devel@nongnu.org\n"); + break; + } } } |