From 126e77becb6e82850c831bdfeca10aadca6162a3 Mon Sep 17 00:00:00 2001 From: Camille Mougey Date: Fri, 4 Dec 2015 15:35:51 +0100 Subject: Example/Disasm: update full.py to produce both IR and IRA graphes --- example/disasm/full.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'example/disasm/full.py') 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) -- cgit 1.4.1