Open radare opened 7 years ago
also in
_____________________
*** CID 166024: Control flow issues (DEADCODE)
/arch/TMS320C64x/TMS320C64xDisassembler.c: 270 in DecodeMemOperandSc()
264 offset = (Val >> 5) & 0x1f;
265 mode = (Val >> 1) & 0xf;
266 unit = Val & 1;
267
268 if((base >= TMS320C64X_REG_A0) && (base <= TMS320C64X_REG_A31))
269 base = (base - TMS320C64X_REG_A0 + TMS320C64X_REG_B0);
CID 166024: Control flow issues (DEADCODE)
Execution cannot reach the expression "base <= TMS320C64X_REG_B31" inside this statement: "if (base >= TMS320C64X_REG_...".
270 else if((base >= TMS320C64X_REG_B0) && (base <= TMS320C64X_REG_B31))
271 base = (base - TMS320C64X_REG_B0 + TMS320C64X_REG_A0);
272 basereg = getReg(GPRegsDecoderTable, base);
273
274 switch(mode) {
275 case 0:
** CID 166023: Memory - illegal accesses (OVERRUN)
/arch/TMS320C64x/TMS320C64xMapping.c: 1779 in TMS320C64x_group_name()