diff options
Diffstat (limited to 'python/function.py')
| -rw-r--r-- | python/function.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/python/function.py b/python/function.py index 332b5769..d3b9ea88 100644 --- a/python/function.py +++ b/python/function.py @@ -497,6 +497,13 @@ class Function: return core.BNWasFunctionAutomaticallyDiscovered(self.handle) @property + def has_user_annotations(self) -> bool: + """ + Whether the function has ever been 'user' modified + """ + return core.BNFunctionHasUserAnnotations(self.handle) + + @property def can_return(self) -> 'types.BoolWithConfidence': """Whether function can return""" result = core.BNCanFunctionReturn(self.handle) |
