about summary refs log tree commit diff stats
path: root/miasm2/arch/arm/sem.py
diff options
context:
space:
mode:
authorFabrice Desclaux <fabrice.desclaux@cea.fr>2018-08-21 08:27:40 +0200
committerFabrice Desclaux <fabrice.desclaux@cea.fr>2018-08-23 09:35:27 +0200
commit253547e35343aed844e7bcb033c610409fcbd21e (patch)
treef57b90520b3c06edc8483979795d3de2e9a54d26 /miasm2/arch/arm/sem.py
parent46bb6b39453ea8b5abb04dfd62492e429376a8ea (diff)
downloadmiasm-253547e35343aed844e7bcb033c610409fcbd21e.tar.gz
miasm-253547e35343aed844e7bcb033c610409fcbd21e.zip
Code cleaning: lgtm.com
Diffstat (limited to 'miasm2/arch/arm/sem.py')
-rw-r--r--miasm2/arch/arm/sem.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/miasm2/arch/arm/sem.py b/miasm2/arch/arm/sem.py
index 4e99e720..7dca6242 100644
--- a/miasm2/arch/arm/sem.py
+++ b/miasm2/arch/arm/sem.py
@@ -801,7 +801,6 @@ def st_ld_r(ir, instr, a, a2, b, store=False, size=32, s_ext=False, z_ext=False)
             raise ValueError('unhandled case')
     elif size == 32:
         m = ExprMem(ad, size=size)
-        pass
     elif size == 64:
         assert a2 is not None
         m = ExprMem(ad, size=32)
@@ -1176,11 +1175,6 @@ def bfc(ir, instr, a, b, c):
         e.append(ExprAff(ir.IRDst, r))
     return e, []
 
-def rev(ir, instr, a, b):
-    e = []
-    c = ExprCompose(b[24:32], b[16:24], b[8:16], b[:8])
-    e.append(ExprAff(a, c))
-    return e, []
 
 def pld(ir, instr, a):
     e = []