diff options
| author | serpilliere <serpilliere@users.noreply.github.com> | 2016-01-26 17:45:24 +0100 |
|---|---|---|
| committer | serpilliere <serpilliere@users.noreply.github.com> | 2016-01-26 17:45:24 +0100 |
| commit | c1bc56754495e1c2a4176aaa486de9e58cb02a88 (patch) | |
| tree | 1ca51aab9e0908e3f11b0cccc7ad7f50be349f67 /example/ida/graph_ir.py | |
| parent | b3fae7887d63bcdbb18b25ade6d20f152d802005 (diff) | |
| parent | d6222c4383891c6706ce70ec7750b42ee24e1cfc (diff) | |
| download | miasm-c1bc56754495e1c2a4176aaa486de9e58cb02a88.tar.gz miasm-c1bc56754495e1c2a4176aaa486de9e58cb02a88.zip | |
Merge pull request #309 from commial/feature-basicblocks
Feature AsmCFG
Diffstat (limited to '')
| -rw-r--r-- | example/ida/graph_ir.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/example/ida/graph_ir.py b/example/ida/graph_ir.py index b181f72a..4447cadd 100644 --- a/example/ida/graph_ir.py +++ b/example/ida/graph_ir.py @@ -119,8 +119,7 @@ print hex(ad) ab = mdis.dis_multibloc(ad) print "generating graph" -g = bloc2graph(ab, True) -open('asm_flow.dot', 'w').write(g) +open('asm_flow.dot', 'w').write(ab.graph.dot(label=True)) print "generating IR... %x" % ad |