about summary refs log tree commit diff stats
path: root/example/expression/asm_to_ir.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/asm_to_ir.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/asm_to_ir.py')
-rw-r--r--example/expression/asm_to_ir.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/example/expression/asm_to_ir.py b/example/expression/asm_to_ir.py
index ee8a481a..3ed59ffe 100644
--- a/example/expression/asm_to_ir.py
+++ b/example/expression/asm_to_ir.py
@@ -47,11 +47,11 @@ for lbl, b in ir_arch.blocs.items():
 # Dead propagation
 ir_arch.gen_graph()
 out = ir_arch.graph()
-open('graph.txt', 'w').write(out)
+open('graph.dot', 'w').write(out)
 print '*' * 80
 ir_arch.dead_simp()
 out2 = ir_arch.graph()
-open('graph2.txt', 'w').write(out2)
+open('graph2.dot', 'w').write(out2)
 
 # Display new IR
 print 'new ir blocs'