pj: asan: out of bounds, ubsan: left shift of negative
authorAlan Modra <amodra@gmail.com>
Thu, 2 Sep 2021 22:53:49 +0000 (08:23 +0930)
committerAlan Modra <amodra@gmail.com>
Fri, 3 Sep 2021 02:15:58 +0000 (11:45 +0930)
commit2ea9d33a127c09d9c4df0337981e48fb4b7a236f
treec34f93ba699aebf807c7f2b87141175f4009fe05
parentf2cfdb748606b3e634050b8f7030e5e7783a4232
pj: asan: out of bounds, ubsan: left shift of negative

* pj-dis.c: Include libiberty.h.
(print_insn_pj): Don't index op->arg past array bound.  Don't
left shift negative int.
opcodes/pj-dis.c