diff options
Diffstat (limited to 'miasm2/arch/arm/sem.py')
| -rw-r--r-- | miasm2/arch/arm/sem.py | 22 |
1 files changed, 17 insertions, 5 deletions
diff --git a/miasm2/arch/arm/sem.py b/miasm2/arch/arm/sem.py index 72625eab..e0e59555 100644 --- a/miasm2/arch/arm/sem.py +++ b/miasm2/arch/arm/sem.py @@ -1116,10 +1116,9 @@ class arminfo: # offset -class ir_arm(ir): - +class ir_arml(ir): def __init__(self, symbol_pool=None): - ir.__init__(self, mn_arm, "arm", symbol_pool) + ir.__init__(self, mn_arm, "l", symbol_pool) self.pc = PC self.sp = SP self.IRDst = ExprId('IRDst', 32) @@ -1152,10 +1151,16 @@ class ir_arm(ir): return instr_ir, extra_ir -class ir_armt(ir): +class ir_armb(ir_arml): + def __init__(self, symbol_pool=None): + ir.__init__(self, mn_arm, "b", symbol_pool) + self.pc = PC + self.sp = SP + self.IRDst = ExprId('IRDst', 32) +class ir_armtl(ir): def __init__(self, symbol_pool=None): - ir.__init__(self, mn_armt, "armt", symbol_pool) + ir.__init__(self, mn_armt, "l", symbol_pool) self.pc = PC self.sp = SP self.IRDst = ExprId('IRDst', 32) @@ -1163,3 +1168,10 @@ class ir_armt(ir): def get_ir(self, instr): return get_mnemo_expr(self, instr, *instr.args) +class ir_armtb(ir_armtl): + def __init__(self, symbol_pool=None): + ir.__init__(self, mn_armt, "b", symbol_pool) + self.pc = PC + self.sp = SP + self.IRDst = ExprId('IRDst', 32) + |