diff options
author | Nick Clifton <nickc@redhat.com> | 2019-10-16 12:56:58 +0100 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2019-10-16 12:56:58 +0100 |
commit | 12234dfd5f70086fde87e1f6d56cf2aa2ce5ec4c (patch) | |
tree | 028cf48e4d7c71d06166f1290b3e321caccc6f9d /include/elf/tic6x.h | |
parent | dfde93ab8ccdea59f667204bb93056c95a83dfda (diff) | |
download | gdb-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/elf/tic6x.h')
0 files changed, 0 insertions, 0 deletions