fix some oss-fuzz bugs (#1180)
* fix oss-fuzz 10419. * fix oss-fuzz 10427. * fix oss-fuzz 10421. * fix oss-fuzz 10422. * fix oss-fuzz 10425. * fix oss-fuzz 10426. * fix oss-fuzz 10426. * fix oss-fuzz 10422. * fix oss-fuzz 10426. * fix oss-fuzz 10456. * fix oss-fuzz 10428. * fix oss-fuzz 10429. * fix oss-fuzz 10431. * fix oss-fuzz 10435. * fix oss-fuzz 10430. * fix oss-fuzz 10436. * remove unused var.
This commit is contained in:
committed by
Nguyen Anh Quynh
parent
99097cab4c
commit
68eb357984
@@ -7853,7 +7853,7 @@ static void disas_arm_insn(DisasContext *s, unsigned int insn) // qq
|
||||
tcg_gen_movi_i32(tcg_ctx, tmp, val);
|
||||
store_reg(s, 14, tmp);
|
||||
/* Sign-extend the 24-bit offset */
|
||||
offset = (((int32_t)insn) << 8) >> 8;
|
||||
offset = ((int32_t)(insn << 8)) >> 8;
|
||||
/* offset * 4 + bit24 * 2 + (thumb bit) */
|
||||
val += (offset << 2) | ((insn >> 23) & 2) | 1;
|
||||
/* pipeline offset */
|
||||
|
||||
Reference in New Issue
Block a user