summaryrefslogtreecommitdiff
path: root/python/basicblock.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/basicblock.py')
-rw-r--r--python/basicblock.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/basicblock.py b/python/basicblock.py
index 4dc783c3..c55e15f0 100644
--- a/python/basicblock.py
+++ b/python/basicblock.py
@@ -308,7 +308,7 @@ class BasicBlock(object):
idx = start
while idx < end:
- data = self.view.read(idx, 16)
+ data = self.view.read(idx, self.arch.max_instr_length)
inst_info = self.arch.get_instruction_info(data, idx)
inst_text = self.arch.get_instruction_text(data, idx)