diff options
| author | Peter LaFosse <peter@vector35.com> | 2021-09-28 11:42:31 -0400 |
|---|---|---|
| committer | Peter LaFosse <peter@vector35.com> | 2021-09-28 13:24:42 -0400 |
| commit | 9bf2230feab70d83e65b9ed1f5c45dd3c9344905 (patch) | |
| tree | 8df27a22663cfae76ea6a00feac1095f93efdd77 /python/basicblock.py | |
| parent | f0d4359fb1d7cd209db161c022be3ed0643bff89 (diff) | |
Fix BasicBlock iteration for arm/thumb
Diffstat (limited to 'python/basicblock.py')
| -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 3854ffd5..413199a7 100644 --- a/python/basicblock.py +++ b/python/basicblock.py @@ -141,7 +141,7 @@ class BasicBlock: self._instLengths = [] start = self.start while start < self.end: - length = self.view.get_instruction_length(start) + length = self.view.get_instruction_length(start, self.arch) if length == 0: # invalid instruction. avoid infinite loop break self._instLengths.append(length) |
