Fix: Last block not being added to disassembly block list

pull/2/head
Bernhard Mueller 7 years ago
parent ad3ea840b2
commit f7de8945bb
  1. 5
      disassembler/disassembly.py

@ -88,6 +88,11 @@ class Disassembly:
index += 1 index += 1
# Add the last block
current_block.update_length(blocklen)
self.blocks.append(current_block)
# Resolve cross-references # Resolve cross-references
for block in self.blocks: for block in self.blocks:

Loading…
Cancel
Save