diff options
| author | Camille Mougey <camille.mougey@cea.fr> | 2015-12-04 15:35:51 +0100 |
|---|---|---|
| committer | Ajax <commial@gmail.com> | 2015-12-07 11:10:53 +0100 |
| commit | 126e77becb6e82850c831bdfeca10aadca6162a3 (patch) | |
| tree | e21d423fec681e1c1af2a8d400eee4b3cf9a6f49 /example | |
| parent | 092a6f54713b3e83d200c92dce54fd8186c44edd (diff) | |
| download | miasm-126e77becb6e82850c831bdfeca10aadca6162a3.tar.gz miasm-126e77becb6e82850c831bdfeca10aadca6162a3.zip | |
Example/Disasm: update full.py to produce both IR and IRA graphes
Diffstat (limited to 'example')
| -rw-r--r-- | example/disasm/full.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/example/disasm/full.py b/example/disasm/full.py index 03928e73..d939d430 100644 --- a/example/disasm/full.py +++ b/example/disasm/full.py @@ -194,6 +194,7 @@ if args.gen_ir: log.info("Print blocs (with analyse)") for label, bloc in ir_arch_a.blocs.iteritems(): print bloc + ir_arch.gen_graph() ir_arch_a.gen_graph() if args.simplify: @@ -201,3 +202,5 @@ if args.gen_ir: out = ir_arch_a.graph() open('graph_irflow.dot', 'w').write(out) + out = ir_arch.graph() + open('graph_irflow_raw.dot', 'w').write(out) |