about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorFabrice Desclaux <fabrice.desclaux@cea.fr>2014-10-02 14:51:13 +0200
committerFabrice Desclaux <fabrice.desclaux@cea.fr>2014-10-02 14:51:13 +0200
commit87ff6f167d691e04c4f46c21d7bd134c00860ca0 (patch)
treea33071c82cb3594f08a539f6e2dd65042a8aaf30
parenta986cf7e9ea7368d4f44e56fb33ef5c8386774a0 (diff)
downloadmiasm-87ff6f167d691e04c4f46c21d7bd134c00860ca0.tar.gz
miasm-87ff6f167d691e04c4f46c21d7bd134c00860ca0.zip
Asmbloc: fix bloc2graph tipo (tx to Jerome Marty)
Diffstat (limited to '')
-rw-r--r--miasm2/core/asmbloc.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/miasm2/core/asmbloc.py b/miasm2/core/asmbloc.py
index ac317e0b..ac778280 100644
--- a/miasm2/core/asmbloc.py
+++ b/miasm2/core/asmbloc.py
@@ -608,7 +608,7 @@ shape = "box"
                 dst, name, cst = b.label.name, n.label.name, n.c_t
                 # out+='%s -> %s [ label = "%s" ];\n'%(b.label.name,
                 # n.label.name, n.c_t)
-            elif isinstance(b.label, asm_label):
+            elif isinstance(n.label, asm_label):
                 dst, name, cst = b.label.name, n.label.name, n.c_t
             else:
                 continue