diff options
| author | Fabrice Desclaux <fabrice.desclaux@cea.fr> | 2019-11-18 13:52:55 +0100 |
|---|---|---|
| committer | Fabrice Desclaux <fabrice.desclaux@cea.fr> | 2019-11-18 13:52:55 +0100 |
| commit | 55e94456efd7b107058584da962b91a9d711b35d (patch) | |
| tree | 732415037f8112da63115b2cfdde2b5e5733f425 | |
| parent | cc565ff0c1875793ac153eb6f163d88c0dcab3de (diff) | |
| download | miasm-55e94456efd7b107058584da962b91a9d711b35d.tar.gz miasm-55e94456efd7b107058584da962b91a9d711b35d.zip | |
Fix dot 'w' open
| -rw-r--r-- | example/disasm/full.py | 2 |
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: |