summaryrefslogtreecommitdiff
path: root/functiongraph.cpp
diff options
context:
space:
mode:
authorRusty Wagner <rusty@vector35.com>2018-03-07 18:10:55 -0500
committerRusty Wagner <rusty@vector35.com>2018-03-07 18:11:24 -0500
commit1c7349fcf125994f2e577361626fe1fb02eac029 (patch)
tree9855e97a3572c41af9f07f27e6b12eb1f117bf5d /functiongraph.cpp
parent352949f41ea0b66c833f272d2a2a1e5a77a9507c (diff)
Add APIs for skipping analysis of functions that are too large, and overriding this behavior
Diffstat (limited to 'functiongraph.cpp')
-rw-r--r--functiongraph.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/functiongraph.cpp b/functiongraph.cpp
index 77754913..a743254e 100644
--- a/functiongraph.cpp
+++ b/functiongraph.cpp
@@ -131,6 +131,12 @@ vector<Ref<FunctionGraphBlock>> FunctionGraph::GetBlocks()
}
+bool FunctionGraph::HasBlocks() const
+{
+ return BNFunctionGraphHasBlocks(m_graph);
+}
+
+
int FunctionGraph::GetWidth() const
{
return BNGetFunctionGraphWidth(m_graph);