From 836b83c8a4883d1aba928392fcf7741a2678826e Mon Sep 17 00:00:00 2001 From: Fabrice Desclaux Date: Fri, 5 Jun 2015 18:38:51 +0200 Subject: Core/Asmbloc: fix split_bloc with instruction overlapping --- miasm2/core/asmbloc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'miasm2/core/asmbloc.py') 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 -- cgit 1.4.1