about summary refs log tree commit diff stats
path: root/miasm2/arch/arm/sem.py
diff options
context:
space:
mode:
authorFabrice Desclaux <fabrice.desclaux@cea.fr>2019-01-08 08:24:10 +0100
committerFabrice Desclaux <fabrice.desclaux@cea.fr>2019-01-11 07:22:29 +0100
commit663ae8f78325b12c30670485195d62c50f210512 (patch)
tree8f591afd871a5029ce0885f919f56b483710df03 /miasm2/arch/arm/sem.py
parentba8308d7762e45db47c01937c8334ffac29ac0ac (diff)
downloadmiasm-663ae8f78325b12c30670485195d62c50f210512.tar.gz
miasm-663ae8f78325b12c30670485195d62c50f210512.zip
Armt: fix cbnz
Diffstat (limited to '')
-rw-r--r--miasm2/arch/arm/sem.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/miasm2/arch/arm/sem.py b/miasm2/arch/arm/sem.py
index 4af177d2..a34055ac 100644
--- a/miasm2/arch/arm/sem.py
+++ b/miasm2/arch/arm/sem.py
@@ -1089,7 +1089,7 @@ def cbnz(ir, instr, a, b):
     e = []
     loc_next = ir.get_next_loc_key(instr)
     loc_next_expr = ExprLoc(loc_next, 32)
-    e.append(ir.IRDst, ExprCond(a, b, loc_next_expr))
+    e.append(ExprAssign(ir.IRDst, ExprCond(a, b, loc_next_expr)))
     return e, []