diff --git a/disassembler/disassembly.py b/disassembler/disassembly.py index e95b1c86..f4c2c8d2 100644 --- a/disassembler/disassembly.py +++ b/disassembler/disassembly.py @@ -88,6 +88,11 @@ class Disassembly: index += 1 + # Add the last block + + current_block.update_length(blocklen) + self.blocks.append(current_block) + # Resolve cross-references for block in self.blocks: