summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rw-r--r--python/basicblock.py2
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