From 16368c3b9864d5ba635264eea1365c400c563646 Mon Sep 17 00:00:00 2001 From: Jordan Wiens Date: Wed, 11 Apr 2018 17:34:43 -0400 Subject: fix for #1015, thanks josh --- python/basicblock.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python/basicblock.py') 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) -- cgit v1.3.1