summaryrefslogtreecommitdiff
path: root/python/function.py
diff options
context:
space:
mode:
authorPeter LaFosse <peter@vector35.com>2022-03-16 10:33:43 -0400
committerPeter LaFosse <peter@vector35.com>2022-03-16 10:33:43 -0400
commitf3112cce751de039b0b26ee37cdaab637e056c4e (patch)
tree07e26e99a84a2be35d04b4b6f8c20ab814a73394 /python/function.py
parent0f50030264445dc2bdcf10809cf8e4d6c48b71d1 (diff)
Add type hints to typelibrary.py and fix type hint for get_address_tags_of_type
Diffstat (limited to 'python/function.py')
-rw-r--r--python/function.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/function.py b/python/function.py
index b1887628..55d87fe7 100644
--- a/python/function.py
+++ b/python/function.py
@@ -1745,7 +1745,7 @@ class Function:
finally:
core.BNFreeTagList(tags, count.value)
- def get_address_tags_of_type(self, addr: 'architecture.Architecture', tag_type: 'binaryview.TagType', arch=None):
+ def get_address_tags_of_type(self, addr: int, tag_type: 'binaryview.TagType', arch=None):
"""
``get_address_tags_of_type`` gets a list of all Tags in the function at a given address with a given type.