about summary refs log tree commit diff stats
path: root/miasm2/arch/arm/sem.py
diff options
context:
space:
mode:
authorserpilliere <serpilliere@users.noreply.github.com>2018-05-16 14:52:41 +0200
committerGitHub <noreply@github.com>2018-05-16 14:52:41 +0200
commitdb2b86a9f4d5ba1a2eafb00ca1324500e1080463 (patch)
tree7c690705ee691efecbc469646b60604ae9a4a69d /miasm2/arch/arm/sem.py
parent652bf298e56214c33c2291064eba00d1559a07aa (diff)
parent33d66355955f54651d52ccca6109dca8b5576113 (diff)
downloadmiasm-db2b86a9f4d5ba1a2eafb00ca1324500e1080463.tar.gz
miasm-db2b86a9f4d5ba1a2eafb00ca1324500e1080463.zip
Merge pull request #744 from commial/refactor/move-to-op-semantics
Refactor/move to op semantics
Diffstat (limited to 'miasm2/arch/arm/sem.py')
-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 9e4da3f6..2cf2e5a4 100644
--- a/miasm2/arch/arm/sem.py
+++ b/miasm2/arch/arm/sem.py
@@ -1038,7 +1038,7 @@ def pldw(ir, instr, a):
 
 def clz(ir, instr, a, b):
     e = []
-    e.append(ExprAff(a, ExprOp('clz', b)))
+    e.append(ExprAff(a, ExprOp('cntleadzeros', b)))
     return e, []
 
 def uxtab(ir, instr, a, b, c):