From d9661f34eec6855d495a10eaafc2a8e2679756a7 Mon Sep 17 00:00:00 2001 From: Peter LaFosse Date: Thu, 6 Jan 2022 13:01:42 -0500 Subject: Add Function::HasUserAnnotations --- function.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'function.cpp') 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 Function::CanReturn() const { BNBoolWithConfidence bc = BNCanFunctionReturn(m_object); -- cgit v1.3.1