diff options
| author | Galen Williamson <galen@vector35.com> | 2021-07-07 17:10:28 -0400 |
|---|---|---|
| committer | Galen Williamson <galen@vector35.com> | 2021-07-07 17:10:28 -0400 |
| commit | be766bb6b82e5600ef56e8a3610229298669e8cb (patch) | |
| tree | 115326a5e70aa1585a92e782525c30c31494b4fa /python/basicblock.py | |
| parent | c071307a1b8b76cbaad98886dc2a48bb06b2d3f6 (diff) | |
Fixed missing self parameter in get_instruction_containing_address
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 643a60c3..ad4eef43 100644 --- a/python/basicblock.py +++ b/python/basicblock.py @@ -520,7 +520,7 @@ class BasicBlock(object): color = highlight.HighlightColor(color) core.BNSetUserBasicBlockHighlight(self.handle, color._get_core_struct()) - def get_instruction_containing_address(addr): + def get_instruction_containing_address(self, addr): start = ctypes.c_uint64() ret = core.BNGetBasicBlockInstructionContainingAddress(self.handle, addr, start) return ret, start.value |
