Re: [PATCH v2 01/11] target/avr: Fix buffer read in avr_print_insn

2025-03-25 Thread Philippe Mathieu-Daudé
On 25/3/25 23:43, Richard Henderson wrote: Do not unconditionally attempt to read 4 bytes, as there may only be 2 bytes remaining in the translator cache. Cc: qemu-sta...@nongnu.org Reviewed-by: Pierrick Bouvier Signed-off-by: Richard Henderson --- target/avr/disas.c | 21 ++-

[PATCH v2 01/11] target/avr: Fix buffer read in avr_print_insn

2025-03-25 Thread Richard Henderson
Do not unconditionally attempt to read 4 bytes, as there may only be 2 bytes remaining in the translator cache. Cc: qemu-sta...@nongnu.org Reviewed-by: Pierrick Bouvier Signed-off-by: Richard Henderson --- target/avr/disas.c | 21 ++--- 1 file changed, 14 insertions(+), 7 deleti