From f81c3e4b42d0ce487101b8e0802e43b32b261b1d Mon Sep 17 00:00:00 2001 From: Ajax Date: Wed, 29 Mar 2017 15:44:15 +0200 Subject: Replace ExprInt[num](x) -> ExprInt(x, num) --- miasm2/arch/mips32/sem.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'miasm2/arch/mips32/sem.py') diff --git a/miasm2/arch/mips32/sem.py b/miasm2/arch/mips32/sem.py index d982f033..bc050b38 100644 --- a/miasm2/arch/mips32/sem.py +++ b/miasm2/arch/mips32/sem.py @@ -443,13 +443,13 @@ class ir_mips32l(IntermediateRepresentation): for i, x in enumerate(instr_ir): x = m2_expr.ExprAff(x.dst, x.src.replace_expr( - {self.pc: m2_expr.ExprInt32(instr.offset + 4)})) + {self.pc: m2_expr.ExprInt(instr.offset + 4, 32)})) instr_ir[i] = x for irblock in extra_ir: for irs in irblock.irs: for i, x in enumerate(irs): x = m2_expr.ExprAff(x.dst, x.src.replace_expr( - {self.pc: m2_expr.ExprInt32(instr.offset + 4)})) + {self.pc: m2_expr.ExprInt(instr.offset + 4, 32)})) irs[i] = x return instr_ir, extra_ir -- cgit 1.4.1