diff options
| author | Fabrice Desclaux <fabrice.desclaux@cea.fr> | 2019-01-08 11:18:30 +0100 |
|---|---|---|
| committer | Fabrice Desclaux <fabrice.desclaux@cea.fr> | 2019-01-11 07:22:29 +0100 |
| commit | 4a5f3fa71c994c63d9e762af109f427630a2fb6c (patch) | |
| tree | cf72b5c3fb81c6849e5db4ed88976fd8794351c7 | |
| parent | 663ae8f78325b12c30670485195d62c50f210512 (diff) | |
| download | miasm-4a5f3fa71c994c63d9e762af109f427630a2fb6c.tar.gz miasm-4a5f3fa71c994c63d9e762af109f427630a2fb6c.zip | |
Armt: fix itt exprloc
| -rw-r--r-- | miasm2/arch/arm/sem.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/miasm2/arch/arm/sem.py b/miasm2/arch/arm/sem.py index a34055ac..437303f3 100644 --- a/miasm2/arch/arm/sem.py +++ b/miasm2/arch/arm/sem.py @@ -1706,7 +1706,7 @@ class ir_arml(IntermediateRepresentation): # Gen dummy irblock for IT instr loc_next = self.get_next_loc_key(instr) - dst = ExprAssign(self.IRDst, ExprId(loc_next, 32)) + dst = ExprAssign(self.IRDst, ExprLoc(loc_next, 32)) dst_blk = AssignBlock([dst], instr) assignments.append(dst_blk) irblock = IRBlock(loc, assignments) @@ -1743,7 +1743,7 @@ class ir_arml(IntermediateRepresentation): if split: raise NotImplementedError("Unsupported instr in IT block (%s)" % instr) - dst = ExprAssign(self.IRDst, ExprId(loc_next, 32)) + dst = ExprAssign(self.IRDst, ExprLoc(loc_next, 32)) dst_blk = AssignBlock([dst], instr) assignments.append(dst_blk) irblock = IRBlock(loc, assignments) |