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>2018-10-21 11:53:46 +0200
committerGitHub <noreply@github.com>2018-10-21 11:53:46 +0200
commit794a2ef09a55eb040aff6a5408433c71ccb93729 (patch)
tree2c8cd3e06b7ad205d5fab18fc2b4a81dae722643 /miasm2/arch/arm/sem.py
parent90593a668c64b396b0c8254a55878fb91925415d (diff)
parent9503c250c5524a6c388aba032be4e34517b358f9 (diff)
downloadmiasm-794a2ef09a55eb040aff6a5408433c71ccb93729.tar.gz
miasm-794a2ef09a55eb040aff6a5408433c71ccb93729.zip
Merge pull request #870 from serpilliere/expr_mem_ptr
Expression: replace arg by ptr in ExprMem
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 f955b585..ac1d9ce9 100644
--- a/miasm2/arch/arm/sem.py
+++ b/miasm2/arch/arm/sem.py
@@ -761,7 +761,7 @@ def st_ld_r(ir, instr, a, a2, b, store=False, size=32, s_ext=False, z_ext=False)
     wb = False
     b = b.copy()
     postinc = False
-    b = b.arg
+    b = b.ptr
     if isinstance(b, ExprOp):
         if b.op == "wback":
             wb = True