diff options
| author | Peter LaFosse <peter@vector35.com> | 2022-01-06 13:01:42 -0500 |
|---|---|---|
| committer | Peter LaFosse <peter@vector35.com> | 2022-01-06 15:01:25 -0500 |
| commit | d9661f34eec6855d495a10eaafc2a8e2679756a7 (patch) | |
| tree | 37234942e54f13c779c11370512b0eb6e1427e56 /function.cpp | |
| parent | 48f9130ad0085015187f45fde64611bb3c342f38 (diff) | |
Add Function::HasUserAnnotations
Diffstat (limited to 'function.cpp')
| -rw-r--r-- | function.cpp | 6 |
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); |
