about summary refs log tree commit diff stats
path: root/miasm2/arch/arm/sem.py
diff options
context:
space:
mode:
authorCamille Mougey <commial@gmail.com>2016-12-23 17:47:46 +0100
committerGitHub <noreply@github.com>2016-12-23 17:47:46 +0100
commitda74f9672cd53999b3b0aecd80108a85e7b5dec4 (patch)
tree470685abcee2084efbde7a41277d50c92ec46a40 /miasm2/arch/arm/sem.py
parent336081ceab4c81502dfe9092acdc7fadb8eb0811 (diff)
parent494ba6e2b3711b519d7f99f2867e293b0f1650eb (diff)
downloadmiasm-da74f9672cd53999b3b0aecd80108a85e7b5dec4.tar.gz
miasm-da74f9672cd53999b3b0aecd80108a85e7b5dec4.zip
Merge pull request #463 from serpilliere/add_expr_type_access
Add expr type access
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 e251ca75..225b393c 100644
--- a/miasm2/arch/arm/sem.py
+++ b/miasm2/arch/arm/sem.py
@@ -398,7 +398,7 @@ def neg(ir, instr, a, b):
     return e
 
 def negs(ir, instr, a, b):
-    e = subs(ir, instr, a, ExprInt_from(b, 0), b)
+    e = subs(ir, instr, a, ExprInt(0, b.size), b)
     return e
 
 def bic(ir, instr, a, b, c=None):