aboutsummaryrefslogtreecommitdiff
path: root/include/bfdlink.h
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2019-10-16 12:56:58 +0100
committerNick Clifton <nickc@redhat.com>2019-10-16 12:56:58 +0100
commit12234dfd5f70086fde87e1f6d56cf2aa2ce5ec4c (patch)
tree028cf48e4d7c71d06166f1290b3e321caccc6f9d /include/bfdlink.h
parentdfde93ab8ccdea59f667204bb93056c95a83dfda (diff)
downloadgdb-12234dfd5f70086fde87e1f6d56cf2aa2ce5ec4c.zip
gdb-12234dfd5f70086fde87e1f6d56cf2aa2ce5ec4c.tar.gz
gdb-12234dfd5f70086fde87e1f6d56cf2aa2ce5ec4c.tar.bz2
Fix potential illegal memory access when disassembling corrupt RX binaries.
opcodes * rx-dis.c (get_register_name): New function. Provides safe access to name array. (get_condition_name, get_flag_name, get_double_register_name) (get_double_register_high_name, get_double_register_low_name) (get_double_control_register_name, get_double_condition_name): Likewise. (print_insn_rx): Use the accessor functions.
Diffstat (limited to 'include/bfdlink.h')
0 files changed, 0 insertions, 0 deletions