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>2016-10-03 13:33:56 +0200
committerGitHub <noreply@github.com>2016-10-03 13:33:56 +0200
commit664cd60430c535931e2a10c5fbe18235756fba0c (patch)
treea90abf03c7495779b12549f0a6d7a443b5b96def /miasm2/arch/arm/sem.py
parent9bc007e7350851d1d97e426f4d1ae369facdb721 (diff)
parentc86e781f38e4b3688392d726bdd6fcbc2e6d377b (diff)
downloadmiasm-664cd60430c535931e2a10c5fbe18235756fba0c.tar.gz
miasm-664cd60430c535931e2a10c5fbe18235756fba0c.zip
Merge pull request #430 from commial/feature/int_ExprInt
Feature/int expr int
Diffstat (limited to 'miasm2/arch/arm/sem.py')
-rw-r--r--miasm2/arch/arm/sem.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/miasm2/arch/arm/sem.py b/miasm2/arch/arm/sem.py
index 1b7ad47f..260531ac 100644
--- a/miasm2/arch/arm/sem.py
+++ b/miasm2/arch/arm/sem.py
@@ -893,8 +893,8 @@ def sxth(ir, instr, a, b):
 
 def ubfx(ir, instr, a, b, c, d):
     e = []
-    c = int(c.arg)
-    d = int(d.arg)
+    c = int(c)
+    d = int(d)
     r = b[c:c+d].zeroExtend(32)
     e.append(ExprAff(a, r))
     dst = None
@@ -905,8 +905,8 @@ def ubfx(ir, instr, a, b, c, d):
 
 def bfc(ir, instr, a, b, c):
     e = []
-    start = int(b.arg)
-    stop = start + int(c.arg)
+    start = int(b)
+    stop = start + int(c)
     out = []
     last = 0
     if start: