Fix address violation problems when disassembling a corrupt RX binary.
authorNick Clifton <nickc@redhat.com>
Wed, 14 Jun 2017 12:35:06 +0000 (13:35 +0100)
committerNick Clifton <nickc@redhat.com>
Wed, 14 Jun 2017 12:35:06 +0000 (13:35 +0100)
commitdb5fa770268baf8cc82cf9b141d69799fd485fe2
tree08d1bad1f17b8a406603aa879a7ea119896eb5cd
parent5524b5250e319f41933605420e9526fb74cfb9ae
Fix address violation problems when disassembling a corrupt RX binary.

PR binutils/21587
* rx-decode.opc: Include libiberty.h
(GET_SCALE): New macro - validates access to SCALE array.
(GET_PSCALE): New macro - validates access to PSCALE array.
(DIs, SIs, S2Is, rx_disp): Use new macros.
* rx-decode.c: Regenerate.
opcodes/ChangeLog
opcodes/rx-decode.c
opcodes/rx-decode.opc
This page took 0.024775 seconds and 4 git commands to generate.