summaryrefslogtreecommitdiff
path: root/function.cpp
diff options
context:
space:
mode:
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 19d3fbc7..c2e52e55 100644
--- a/function.cpp
+++ b/function.cpp
@@ -1780,6 +1780,12 @@ void Function::RemoveGuidedSourceBlocks(const std::vector<ArchAndAddr>& addresse
}
+bool Function::IsGuidedSourceBlock(Architecture* arch, uint64_t addr) const
+{
+ return BNIsGuidedSourceBlock(m_object, arch->GetObject(), addr);
+}
+
+
std::vector<ArchAndAddr> Function::GetGuidedSourceBlocks()
{
size_t count;