From be766bb6b82e5600ef56e8a3610229298669e8cb Mon Sep 17 00:00:00 2001 From: Galen Williamson Date: Wed, 7 Jul 2021 17:10:28 -0400 Subject: Fixed missing self parameter in get_instruction_containing_address --- python/basicblock.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python') 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 -- cgit v1.3.1