summaryrefslogtreecommitdiff
path: root/function.cpp
diff options
context:
space:
mode:
authorPeter LaFosse <peter@vector35.com>2022-01-06 13:01:42 -0500
committerPeter LaFosse <peter@vector35.com>2022-01-06 15:01:25 -0500
commitd9661f34eec6855d495a10eaafc2a8e2679756a7 (patch)
tree37234942e54f13c779c11370512b0eb6e1427e56 /function.cpp
parent48f9130ad0085015187f45fde64611bb3c342f38 (diff)
Add Function::HasUserAnnotations
Diffstat (limited to 'function.cpp')
-rw-r--r--function.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/function.cpp b/function.cpp
index 069a021d..0f70e939 100644
--- a/function.cpp
+++ b/function.cpp
@@ -172,6 +172,12 @@ bool Function::WasAutomaticallyDiscovered() const
}
+bool Function::HasUserAnnotations() const
+{
+ return BNFunctionHasUserAnnotations(m_object);
+}
+
+
Confidence<bool> Function::CanReturn() const
{
BNBoolWithConfidence bc = BNCanFunctionReturn(m_object);