about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-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 e1f66562..e4f1db68 100644
--- a/miasm2/core/asmbloc.py
+++ b/miasm2/core/asmbloc.py
@@ -935,7 +935,7 @@ class AsmCFG(DiGraph):
             range_start, range_stop = cur_block.get_range()
 
             for off in block_dst:
-                if not (off > range_start and off <= range_stop):
+                if not (off > range_start and off < range_stop):
                     continue
 
                 # `cur_block` must be splitted at offset `off`