diff options
| author | Rusty Wagner <rusty@vector35.com> | 2015-07-15 21:50:13 -0400 |
|---|---|---|
| committer | Rusty Wagner <rusty@vector35.com> | 2015-07-15 21:50:13 -0400 |
| commit | 290661e66c9983e696bd434f271b033263a0f5c3 (patch) | |
| tree | 7d7e02b7921a73209ac59c6668ebd23c93d86c1c /functiongraph.cpp | |
| parent | 94793dfb57b1defa2a7ab5e67edf5f5f043d598c (diff) | |
Compute data flow across blocks, disassembly options dropdown
Diffstat (limited to 'functiongraph.cpp')
| -rw-r--r-- | functiongraph.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/functiongraph.cpp b/functiongraph.cpp index 1ebd149f..72c98bd2 100644 --- a/functiongraph.cpp +++ b/functiongraph.cpp @@ -128,3 +128,15 @@ vector<Ref<FunctionGraphBlock>> FunctionGraph::GetBlocksInRegion(int left, int t BNFreeFunctionGraphBlockList(blocks, count); return result; } + + +bool FunctionGraph::IsOptionSet(BNFunctionGraphOption option) const +{ + return BNIsFunctionGraphOptionSet(m_graph, option); +} + + +void FunctionGraph::SetOption(BNFunctionGraphOption option, bool state) +{ + BNSetFunctionGraphOption(m_graph, option, state); +} |
