about summary refs log tree commit diff stats
path: root/example/expression/graph_dataflow.py
diff options
context:
space:
mode:
authorserpilliere <serpilliere@users.noreply.github.com>2015-11-09 14:27:16 +0100
committerserpilliere <serpilliere@users.noreply.github.com>2015-11-09 14:27:16 +0100
commit29a00f31d46e49333df450b85580af152aae2668 (patch)
tree5179bbaae19f3d8fe6a2398ca6d0e09b5d923c19 /example/expression/graph_dataflow.py
parent7681a432c7c98df9d075701a172df0d5f311f753 (diff)
parent4140fa4725a31d7b1f8856c2da30a87a17c80c67 (diff)
downloadmiasm-29a00f31d46e49333df450b85580af152aae2668.tar.gz
miasm-29a00f31d46e49333df450b85580af152aae2668.zip
Merge pull request #258 from commial/extension-dot
Extension dot
Diffstat (limited to 'example/expression/graph_dataflow.py')
-rw-r--r--example/expression/graph_dataflow.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/example/expression/graph_dataflow.py b/example/expression/graph_dataflow.py
index 1450b33b..e263a40e 100644
--- a/example/expression/graph_dataflow.py
+++ b/example/expression/graph_dataflow.py
@@ -139,7 +139,7 @@ def gen_bloc_data_flow_graph(ir_arch, ad, block_flow_cb):
 
     # from graph_qt import graph_qt
     # graph_qt(flow_graph)
-    open('data.txt', 'w').write(flow_graph.dot())
+    open('data.dot', 'w').write(flow_graph.dot())
 
 
 data = open(args.filename).read()
@@ -175,8 +175,8 @@ gen_bloc_data_flow_graph(ir_arch, ad, block_flow_cb)
 print '*' * 40
 print """
  View with:
-dotty dataflow.txt
+dotty dataflow.dot
  or
  Generate ps with pdf:
-dot -Tps dataflow_xx.txt -o graph.ps
+dot -Tps dataflow_xx.dot -o graph.ps
 """