about summary refs log tree commit diff stats
path: root/example/disasm
diff options
context:
space:
mode:
Diffstat (limited to 'example/disasm')
-rw-r--r--example/disasm/callback.py2
-rw-r--r--example/disasm/full.py4
2 files changed, 3 insertions, 3 deletions
diff --git a/example/disasm/callback.py b/example/disasm/callback.py
index 4a7507dd..f1b2d3c8 100644
--- a/example/disasm/callback.py
+++ b/example/disasm/callback.py
@@ -1,5 +1,5 @@
 from miasm2.core.bin_stream import bin_stream_str
-from miasm2.core.asmbloc import asm_label, asm_constraint, expr_is_label
+from miasm2.core.asmbloc import AsmLabel, asm_constraint, expr_is_label
 from miasm2.arch.x86.disasm import dis_x86_32, cb_x86_funcs
 
 
diff --git a/example/disasm/full.py b/example/disasm/full.py
index 5fc9008a..f28decbb 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, AsmCFG
+from miasm2.core.asmbloc import log_asmbloc, AsmLabel, AsmCFG
 from miasm2.expression.expression import ExprId
 from miasm2.core.interval import interval
 from miasm2.analysis.machine import Machine
@@ -139,7 +139,7 @@ while not finish and todo:
                 if not isntr:
                     continue
                 for dest in instr.getdstflow(mdis.symbol_pool):
-                    if not (isinstance(dest, ExprId) and isinstance(dest.name, asm_label)):
+                    if not (isinstance(dest, ExprId) and isinstance(dest.name, AsmLabel)):
                         continue
                     todo.append((mdis, instr, dest.name.offset))