diff options
| author | serpilliere <serpilliere@users.noreply.github.com> | 2015-11-09 14:27:16 +0100 |
|---|---|---|
| committer | serpilliere <serpilliere@users.noreply.github.com> | 2015-11-09 14:27:16 +0100 |
| commit | 29a00f31d46e49333df450b85580af152aae2668 (patch) | |
| tree | 5179bbaae19f3d8fe6a2398ca6d0e09b5d923c19 /example/disasm/full.py | |
| parent | 7681a432c7c98df9d075701a172df0d5f311f753 (diff) | |
| parent | 4140fa4725a31d7b1f8856c2da30a87a17c80c67 (diff) | |
| download | miasm-29a00f31d46e49333df450b85580af152aae2668.tar.gz miasm-29a00f31d46e49333df450b85580af152aae2668.zip | |
Merge pull request #258 from commial/extension-dot
Extension dot
Diffstat (limited to 'example/disasm/full.py')
| -rw-r--r-- | example/disasm/full.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/example/disasm/full.py b/example/disasm/full.py index db12c45b..03928e73 100644 --- a/example/disasm/full.py +++ b/example/disasm/full.py @@ -150,7 +150,7 @@ for blocs in all_funcs_blocs.values(): log.info('generate graph file') g = bloc2graph(all_blocs, True) -open('graph_execflow.txt', 'w').write(g) +open('graph_execflow.dot', 'w').write(g) log.info('generate intervals') @@ -167,7 +167,7 @@ for i, j in done_interval.intervals: all_lines.sort(key=lambda x: x.offset) -open('lines.txt', 'w').write('\n'.join([str(l) for l in all_lines])) +open('lines.dot', 'w').write('\n'.join([str(l) for l in all_lines])) log.info('total lines %s' % total_l) @@ -200,4 +200,4 @@ if args.gen_ir: ir_arch_a.dead_simp() out = ir_arch_a.graph() - open('graph_irflow.txt', 'w').write(out) + open('graph_irflow.dot', 'w').write(out) |