diff options
| author | Jordan Wiens <jordan@psifertex.com> | 2018-04-11 17:34:43 -0400 |
|---|---|---|
| committer | Jordan Wiens <jordan@psifertex.com> | 2018-04-11 17:34:43 -0400 |
| commit | 16368c3b9864d5ba635264eea1365c400c563646 (patch) | |
| tree | 77987f9f0727f367505ca846dd13db7b297933e6 /python | |
| parent | b15ea74b0b5e0afab9c935894eb39610408b6678 (diff) | |
fix for #1015, thanks josh
Diffstat (limited to 'python')
| -rw-r--r-- | python/basicblock.py | 2 |
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) |
