about summary refs log tree commit diff stats
path: root/example/expression/graph_dataflow.py
diff options
context:
space:
mode:
authorAjax <commial@gmail.com>2015-11-09 14:49:51 +0100
committerAjax <commial@gmail.com>2015-11-09 15:01:12 +0100
commitb4114c3e786cf9c90b9c81cb4594d7775a266f5d (patch)
tree55e86387c9e1ee9b2b0c7fed92d8cf6cffde9160 /example/expression/graph_dataflow.py
parent7681a432c7c98df9d075701a172df0d5f311f753 (diff)
downloadfocaccia-miasm-b4114c3e786cf9c90b9c81cb4594d7775a266f5d.tar.gz
focaccia-miasm-b4114c3e786cf9c90b9c81cb4594d7775a266f5d.zip
Example: move output .txt to .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
 """