summaryrefslogtreecommitdiff
path: root/function.cpp
diff options
context:
space:
mode:
authorBrian Potchik <brian@vector35.com>2025-07-15 20:25:48 -0400
committerBrian Potchik <brian@vector35.com>2025-07-15 20:25:48 -0400
commit0fdf63426e186102906c1fb8b8e7107c058023ae (patch)
tree064cfc4c0f04e10ab07066c98b9d62547927cdb3 /function.cpp
parentecf8b3f9d730bc08bf40c7ef2e5659769a77ee1e (diff)
Finish guided analysis feature and add unit tests.
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 1b2c0a46..1d35aa7d 100644
--- a/function.cpp
+++ b/function.cpp
@@ -1750,6 +1750,12 @@ std::vector<ArchAndAddr> Function::GetGuidedSourceBlocks()
}
+bool Function::HasGuidedSourceBlocks() const
+{
+ return BNHasGuidedSourceBlocks(m_object);
+}
+
+
vector<IndirectBranchInfo> Function::GetIndirectBranches()
{
size_t count;