about summary refs log tree commit diff stats
path: root/example/disasm
diff options
context:
space:
mode:
authorAjax <commial@gmail.com>2016-01-26 17:15:22 +0100
committerAjax <commial@gmail.com>2016-01-26 17:15:22 +0100
commitd6222c4383891c6706ce70ec7750b42ee24e1cfc (patch)
tree1ca51aab9e0908e3f11b0cccc7ad7f50be349f67 /example/disasm
parent2a3cca15ca50ae20a56f12fc92f9c8f26909092b (diff)
downloadmiasm-d6222c4383891c6706ce70ec7750b42ee24e1cfc.tar.gz
miasm-d6222c4383891c6706ce70ec7750b42ee24e1cfc.zip
Rename BasicBlocks -> AsmCFG, more comprehensible, include "graph"
Diffstat (limited to 'example/disasm')
-rw-r--r--example/disasm/full.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/example/disasm/full.py b/example/disasm/full.py
index 25e3a018..0b0069c6 100644
--- a/example/disasm/full.py
+++ b/example/disasm/full.py
@@ -4,7 +4,7 @@ from argparse import ArgumentParser
 from pdb import pm
 
 from miasm2.analysis.binary import Container
-from miasm2.core.asmbloc import log_asmbloc, asm_label, BasicBlocks
+from miasm2.core.asmbloc import log_asmbloc, asm_label, AsmCFG
 from miasm2.expression.expression import ExprId
 from miasm2.core.interval import interval
 from miasm2.analysis.machine import Machine
@@ -142,7 +142,7 @@ while not finish and todo:
 
 
 # Generate dotty graph
-all_blocs = BasicBlocks()
+all_blocs = AsmCFG()
 for blocs in all_funcs_blocs.values():
     all_blocs += blocs