summaryrefslogtreecommitdiff
path: root/python/binaryview.py
diff options
context:
space:
mode:
authorPeter LaFosse <peter@vector35.com>2023-03-07 15:51:31 -0500
committerPeter LaFosse <peter@vector35.com>2023-03-07 16:24:48 -0500
commit523dfb62220c3cbc82cd3b236b27c9216488ae3d (patch)
tree3f22221f410152e16800dd3cddd49f288d781575 /python/binaryview.py
parentafbe88235f1676265ffe13eec5aedbafd33fb9d5 (diff)
Fix typehint for lookup_imported_object_library
Diffstat (limited to 'python/binaryview.py')
-rw-r--r--python/binaryview.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/python/binaryview.py b/python/binaryview.py
index a2b004fc..b7cb1a27 100644
--- a/python/binaryview.py
+++ b/python/binaryview.py
@@ -7250,15 +7250,15 @@ class BinaryView:
def lookup_imported_object_library(
self, addr: int, platform: Optional['_platform.Platform'] = None
- ) -> Optional[Tuple[typelibrary.TypeLibrary, str]]:
+ ) -> Optional[Tuple[typelibrary.TypeLibrary, '_types.QualifiedNameType']]:
"""
``lookup_imported_object_library`` gives you details of which type library and name was used to determine
the type of a symbol at a given address
:param addr: address of symbol at import site
:param platform: Platform of symbol at import site
- :return: A tuple of [TypeLibrary, str] with the library and name used, or None if it was not imported
- :rtype: Tuple[TypeLibrary, str]
+ :return: A tuple of [TypeLibrary, QualifiedName] with the library and name used, or None if it was not imported
+ :rtype: Tuple[TypeLibrary, QualifiedName]
"""
if platform is None: