asan: ns32k: wild memory write
authorAlan Modra <amodra@gmail.com>
Mon, 13 Jan 2020 07:28:02 +0000 (17:58 +1030)
committerAlan Modra <amodra@gmail.com>
Mon, 13 Jan 2020 08:13:34 +0000 (18:43 +1030)
commit90dee485e5a5cf5eb51491feb8ebea1fcbf5d4cc
tree552006ee4e73a489fd5647151b5956c1f5fca8e1
parentfebda64f152972d8edf0147fb29f89b02f6a4cf9
asan: ns32k: wild memory write

index_offset isn't set up for "sfsr", resulting in a random offset
being used when trying to disassemble the following.

 .byte 0x3e, 0xf7, 0x07, 0x00

* ns32k-dis.c (Is_gen): Use strchr, add 'f'.
(print_insn_ns32k): Adjust ioffset for 'f' index_offset.
opcodes/ChangeLog
opcodes/ns32k-dis.c