about summary refs log tree commit diff stats
path: root/example/disasm/full.py
diff options
context:
space:
mode:
authorserpilliere <serpilliere@users.noreply.github.com>2019-11-18 17:00:12 +0100
committerGitHub <noreply@github.com>2019-11-18 17:00:12 +0100
commitaffb7133de36e20f933a014ed451a67821934db0 (patch)
treec86f9a9574d77a65d6de08c1b723b14b1b8d5db5 /example/disasm/full.py
parentbaa1d5c70ac7cdd4f93a8a184a1fe3ae2423c364 (diff)
parent55e94456efd7b107058584da962b91a9d711b35d (diff)
downloadmiasm-affb7133de36e20f933a014ed451a67821934db0.tar.gz
miasm-affb7133de36e20f933a014ed451a67821934db0.zip
Merge pull request #1095 from serpilliere/fix_full
Fix dot 'w' open
Diffstat (limited to 'example/disasm/full.py')
-rw-r--r--example/disasm/full.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/example/disasm/full.py b/example/disasm/full.py
index f7268ad0..a28d548e 100644
--- a/example/disasm/full.py
+++ b/example/disasm/full.py
@@ -279,7 +279,7 @@ if args.gen_ir:
             raise RuntimeError("Your graph should have only one head")
         ssa = SSADiGraph(ircfg_a)
         ssa.transform(head)
-        open("ssa.dot", "wb").write(ircfg_a.dot())
+        open("ssa.dot", "w").write(ircfg_a.dot())
 
 
 if args.propagexpr: