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-06-21 18:24:32 +0200
committerGitHub <noreply@github.com>2018-06-21 18:24:32 +0200
commit81a54b95a1424da691e6bb5a9f015aefda1325d7 (patch)
tree9185e2f1ac535c60be3b01cc99ff77ff37c5b885 /miasm2/arch/arm/sem.py
parent02bd29be2d3fc6fc0429fa9c11ce6902bbd535f0 (diff)
parentb8d5b255bad4b03c57356c9af474e6d8a12105db (diff)
downloadmiasm-81a54b95a1424da691e6bb5a9f015aefda1325d7.tar.gz
miasm-81a54b95a1424da691e6bb5a9f015aefda1325d7.zip
Merge pull request #781 from commial/fix/code-cleaning
Code cleaning: remove useless / commented code
Diffstat (limited to '')
-rw-r--r--miasm2/arch/arm/sem.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/miasm2/arch/arm/sem.py b/miasm2/arch/arm/sem.py
index c80e9826..ccd56e8f 100644
--- a/miasm2/arch/arm/sem.py
+++ b/miasm2/arch/arm/sem.py
@@ -635,7 +635,6 @@ def st_ld_r(ir, instr, a, a2, b, store=False, size=32, s_ext=False, z_ext=False)
         base, off = b.args[0],  b.args[1]  # ExprInt(size/8, 32)
     else:
         base, off = b, ExprInt(0, 32)
-    # print a, wb, base, off, postinc
     if postinc:
         ad = base
     else:
@@ -734,13 +733,11 @@ def ldrsh(ir, instr, a, b):
 def st_ld_m(ir, instr, a, b, store=False, postinc=False, updown=False):
     e = []
     wb = False
-    # sb = False
     dst = None
     if isinstance(a, ExprOp) and a.op == 'wback':
         wb = True
         a = a.args[0]
     if isinstance(b, ExprOp) and b.op == 'sbit':
-        # sb = True
         b = b.args[0]
     regs = b.args
     base = a