aboutsummaryrefslogtreecommitdiff
path: root/sim/aarch64/interp.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2020-01-06 08:52:39 +1030
committerAlan Modra <amodra@gmail.com>2020-01-06 21:53:16 +1030
commit660e62b1d9ca02e4ec7b18e8f0a0ff0707e540ac (patch)
treec6e6dd4219926ac7d44d2d0562879ca90f43d1a5 /sim/aarch64/interp.c
parent01335edbac3f0fa0c06d088598e09f602833de87 (diff)
downloadgdb-660e62b1d9ca02e4ec7b18e8f0a0ff0707e540ac.zip
gdb-660e62b1d9ca02e4ec7b18e8f0a0ff0707e540ac.tar.gz
gdb-660e62b1d9ca02e4ec7b18e8f0a0ff0707e540ac.tar.bz2
PR25344, z80 disassembler recursion
PR 25344 * z80-dis.c (suffix): Don't use a local struct buffer copy. Peek at next byte to prevent recursion on repeated prefix bytes. Ensure uninitialised "mybuf" is not accessed. (print_insn_z80): Don't zero n_fetch and n_used here,.. (print_insn_z80_buf): ..do it here instead.
Diffstat (limited to 'sim/aarch64/interp.c')
0 files changed, 0 insertions, 0 deletions