diff options
| author | Rusty Wagner <rusty@vector35.com> | 2015-02-20 20:51:35 -0500 |
|---|---|---|
| committer | Rusty Wagner <rusty@vector35.com> | 2015-02-20 20:51:35 -0500 |
| commit | f3a02f93e175ac5c509aa6e135653a4f58af32ce (patch) | |
| tree | 6c35ca238e6caa56858dc7859b38bb16987d6e1b /function.cpp | |
| parent | f2b794bf897a2e208407bf5f4a13f4f813531e68 (diff) | |
Very early disassembly view rendering
Diffstat (limited to 'function.cpp')
| -rw-r--r-- | function.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/function.cpp b/function.cpp index db99b97d..a57c90f6 100644 --- a/function.cpp +++ b/function.cpp @@ -39,3 +39,10 @@ vector<Ref<BasicBlock>> Function::GetBasicBlocks() const BNFreeBasicBlockList(blocks, count); return result; } + + +Ref<FunctionGraph> Function::CreateFunctionGraph() +{ + BNFunctionGraph* graph = BNCreateFunctionGraph(m_func); + return new FunctionGraph(graph); +} |
