about summary refs log tree commit diff stats
path: root/example
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 /example
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 'example')
-rw-r--r--example/expression/simplification_tools.py1
-rw-r--r--example/ida/graph_ir.py1
2 files changed, 0 insertions, 2 deletions
diff --git a/example/expression/simplification_tools.py b/example/expression/simplification_tools.py
index 7c15b3e7..cb062fb3 100644
--- a/example/expression/simplification_tools.py
+++ b/example/expression/simplification_tools.py
@@ -32,7 +32,6 @@ x = ExprMem(a + b + ExprInt(0x42, 32), 32)
 
 
 def replace_expr(e):
-    # print 'visit', e
     dct = {c + ExprInt(0x42, 32): d,
            a + b: c, }
     if e in dct:
diff --git a/example/ida/graph_ir.py b/example/ida/graph_ir.py
index 97d30851..dd842281 100644
--- a/example/ida/graph_ir.py
+++ b/example/ida/graph_ir.py
@@ -116,7 +116,6 @@ def build_graph(verbose=False, simplify=False):
 
     # populate symbols with ida names
     for addr, name in idautils.Names():
-        # print hex(ad), repr(name)
         if name is None:
             continue
         if (mdis.symbol_pool.getby_offset(addr) or