about summary refs log tree commit diff stats
path: root/miasm2/arch/arm/arch.py
diff options
context:
space:
mode:
authorFabrice Desclaux <fabrice.desclaux@cea.fr>2015-10-29 10:35:32 +0100
committerFabrice Desclaux <fabrice.desclaux@cea.fr>2015-10-29 13:37:03 +0100
commitc4e4273c2d4e459eddc96c8ef0af0e5eff9c3f7e (patch)
treeeae7ae526c7e45d1e640c814ec3a03d5b999fac8 /miasm2/arch/arm/arch.py
parente37d545e07a22b0ea9a5ce21b975c73927dd4d50 (diff)
downloadmiasm-c4e4273c2d4e459eddc96c8ef0af0e5eff9c3f7e.tar.gz
miasm-c4e4273c2d4e459eddc96c8ef0af0e5eff9c3f7e.zip
Expression: fix api
Diffstat (limited to 'miasm2/arch/arm/arch.py')
-rw-r--r--miasm2/arch/arm/arch.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/miasm2/arch/arm/arch.py b/miasm2/arch/arm/arch.py
index 41c99d4d..23ce170c 100644
--- a/miasm2/arch/arm/arch.py
+++ b/miasm2/arch/arm/arch.py
@@ -783,7 +783,7 @@ class arm_offs(arm_imm):
     def int2expr(self, v):
         if v & ~self.intmask != 0:
             return None
-        return ExprInt_fromsize(self.intsize, v)
+        return ExprInt(v, self.intsize)
 
     def decodeval(self, v):
         v <<= 2