about summary refs log tree commit diff stats
path: root/test/analysis
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 /test/analysis
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 'test/analysis')
-rw-r--r--test/analysis/data_flow.py1
-rw-r--r--test/analysis/depgraph.py2
2 files changed, 1 insertions, 2 deletions
diff --git a/test/analysis/data_flow.py b/test/analysis/data_flow.py
index c3469109..d5b197d2 100644
--- a/test/analysis/data_flow.py
+++ b/test/analysis/data_flow.py
@@ -673,7 +673,6 @@ for test_nb, test in enumerate([(G1_IRA, G1_EXP_IRA),
 
     reaching_defs = ReachingDefinitions(g_ira)
     defuse = DiGraphDefUse(reaching_defs, deref_mem=True)
-    #open("defuse_%02d.dot" % (test_nb+1), "w").write(defuse.dot())
 
     # # Simplify graph
     dead_simp(g_ira)
diff --git a/test/analysis/depgraph.py b/test/analysis/depgraph.py
index 4e023761..86857182 100644
--- a/test/analysis/depgraph.py
+++ b/test/analysis/depgraph.py
@@ -1058,7 +1058,7 @@ for test_nb, test in enumerate([(G1_IRA, G1_INPUT),
             all_results.add(unflatGraph(flatGraph(result.graph)))
             open("graph_test_%02d_%02d.dot" % (test_nb + 1, i),
                  "w").write(dg2graph(result.graph))
-        # print all_flat
+
         if g_ind == 0:
             all_flat = sorted(all_flat)
             all_flats.append(all_flat)