about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorFabrice Desclaux <fabrice.desclaux@cea.fr>2015-06-05 18:38:51 +0200
committerFabrice Desclaux <fabrice.desclaux@cea.fr>2015-06-05 18:38:51 +0200
commit836b83c8a4883d1aba928392fcf7741a2678826e (patch)
treef6e0c0020905b8698480bc0769e6b20babf0b9d6
parent1cd6af8fa196f9ce799e383aa8897d9ad35bb2d2 (diff)
downloadmiasm-836b83c8a4883d1aba928392fcf7741a2678826e.tar.gz
miasm-836b83c8a4883d1aba928392fcf7741a2678826e.zip
Core/Asmbloc: fix split_bloc with instruction overlapping
-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 1505bebc..a5dd8142 100644
--- a/miasm2/core/asmbloc.py
+++ b/miasm2/core/asmbloc.py
@@ -466,7 +466,7 @@ def split_bloc(mnemo, attrib, pool_bin, blocs,
             log_asmbloc.debug("split bloc %x", off)
             if new_b is None:
                 log_asmbloc.error("cannot split %x!!", off)
-                break
+                continue
             if dis_bloc_callback:
                 offsets_to_dis = set(
                     [x.label.offset for x in new_b.bto