diff options
| author | verylazyguy <verylazyguy@hotmail.com> | 2020-06-15 16:17:57 -0400 |
|---|---|---|
| committer | Josh F <negasora@users.noreply.github.com> | 2020-07-17 14:02:55 -0400 |
| commit | 85000d8aff6bc7e749cb38bdb14f1096e986e0d9 (patch) | |
| tree | 4d0964b74d23fdf7923d58613317f3b533b4c90b /python | |
| parent | f9963b902a363fc8f59a40d0b04bafc1c719ae8c (diff) | |
- fix BinaryView.get_data_tags_in_range by not having parameter name shadow global function range
Diffstat (limited to 'python')
| -rw-r--r-- | python/binaryview.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/python/binaryview.py b/python/binaryview.py index 1e7f7a44..7d5fea37 100644 --- a/python/binaryview.py +++ b/python/binaryview.py @@ -3711,17 +3711,17 @@ class BinaryView(object): core.BNFreeTagList(tags, count.value) return result - def get_data_tags_in_range(self, range): + def get_data_tags_in_range(self, address_range): """ ``get_data_tags_in_range`` gets a list of all data Tags in a given range. Range is inclusive at the start, exclusive at the end. - :param AddressRange range: Address range from which to get tags + :param AddressRange address_range: Address range from which to get tags :return: A list of data Tags :rtype: list(Tag) """ count = ctypes.c_ulonglong() - tags = core.BNGetDataTagsInRange(self.handle, range.start, range.end, count) + tags = core.BNGetDataTagsInRange(self.handle, address_range.start, address_range.end, count) result = [] for i in range(0, count.value): result.append(Tag(core.BNNewTagReference(tags[i]))) |
