diff options
| author | Brian Potchik <brian@vector35.com> | 2021-08-13 18:48:51 -0400 |
|---|---|---|
| committer | Brian Potchik <brian@vector35.com> | 2021-08-13 18:48:51 -0400 |
| commit | 801b4138784a45643a7201b7e54105ea5eb3b6c4 (patch) | |
| tree | 02916c8e665e7dbc16958b55abe08ff48372abf2 /function.cpp | |
| parent | ac70b362bb4f15b1d1eeced7a44a222f663e695f (diff) | |
Workflows early preview.
Diffstat (limited to 'function.cpp')
| -rw-r--r-- | function.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/function.cpp b/function.cpp index f8b84a8a..9ede9b67 100644 --- a/function.cpp +++ b/function.cpp @@ -1953,6 +1953,15 @@ void Function::Reanalyze() } +Ref<Workflow> Function::GetWorkflow() const +{ + BNWorkflow* workflow = BNGetWorkflowForFunction(m_object); + if (!workflow) + return nullptr; + return new Workflow(workflow); +} + + void Function::RequestAdvancedAnalysisData() { BNRequestAdvancedFunctionAnalysisData(m_object); |
