diff options
| author | serpilliere <serpilliere@users.noreply.github.com> | 2015-12-12 14:35:24 +0100 |
|---|---|---|
| committer | serpilliere <serpilliere@users.noreply.github.com> | 2015-12-12 14:35:24 +0100 |
| commit | b32eb145fce7dd09bef025a9f82b2507bd4e02ee (patch) | |
| tree | 2c65f005adb7830853664451aed3f2cd05a9be73 /example/disasm/full.py | |
| parent | 635f372fa846b28252ab86b344a2565f51e2302c (diff) | |
| parent | d95af9858230c41449d6fd487a93bdc337780ea7 (diff) | |
| download | miasm-b32eb145fce7dd09bef025a9f82b2507bd4e02ee.tar.gz miasm-b32eb145fce7dd09bef025a9f82b2507bd4e02ee.zip | |
Merge pull request #290 from commial/refactor-ira
Refactor ira
Diffstat (limited to 'example/disasm/full.py')
| -rw-r--r-- | example/disasm/full.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/example/disasm/full.py b/example/disasm/full.py index 03928e73..33b2f41f 100644 --- a/example/disasm/full.py +++ b/example/disasm/full.py @@ -194,10 +194,11 @@ if args.gen_ir: log.info("Print blocs (with analyse)") for label, bloc in ir_arch_a.blocs.iteritems(): print bloc - ir_arch_a.gen_graph() if args.simplify: ir_arch_a.dead_simp() - out = ir_arch_a.graph() + out = ir_arch_a.graph.dot() open('graph_irflow.dot', 'w').write(out) + out = ir_arch.graph.dot() + open('graph_irflow_raw.dot', 'w').write(out) |