summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rw-r--r--python/binaryview.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/binaryview.py b/python/binaryview.py
index ef559d8b..aaf9e413 100644
--- a/python/binaryview.py
+++ b/python/binaryview.py
@@ -1125,7 +1125,7 @@ class Section:
def range_contains_relocation(self, addr:int, size:int) -> bool:
"""Checks if the specified range overlaps with a relocation"""
- return core.BNSectionRangeContainsRelocation(self.handle, addr, size)
+ return core.BNSegmentRangeContainsRelocation(self.handle, addr, size)
class TagType: