summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rw-r--r--python/function.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/python/function.py b/python/function.py
index e43570a7..e21716ac 100644
--- a/python/function.py
+++ b/python/function.py
@@ -1822,6 +1822,11 @@ class Function:
return variable.RegisterValue.from_BNRegisterValue(result, self.arch)
@property
+ def uses_incoming_global_pointer(self) -> bool:
+ """Whether the function uses the incoming global pointer value"""
+ return core.BNFunctionUsesIncomingGlobalPointer(self.handle)
+
+ @property
def comment(self) -> str:
"""Gets the comment for the current function"""
return core.BNGetFunctionComment(self.handle)