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 e85a0ced..1505bebc 100644
--- a/miasm2/core/asmbloc.py
+++ b/miasm2/core/asmbloc.py
@@ -752,7 +752,7 @@ class BlockChainWedge(object):
     def merge(self, chain):
         """Best effort merge two block chains
         Return the list of resulting blockchains"""
-        chain.blocks[0].label.offset = self.offset_max
+        self.symbol_pool.set_offset(chain.blocks[0].label, self.offset_max)
         chain.place()
         return [self, chain]