diff options
| author | Mark Rowe <mark@vector35.com> | 2025-08-11 15:45:38 -0700 |
|---|---|---|
| committer | Mark Rowe <mark@vector35.com> | 2025-08-20 13:06:33 -0400 |
| commit | ff72f3be107e94a0be41a1e7ba113000a4e95089 (patch) | |
| tree | 1dec15cea9d5b8e5609b1006638fc5cea2eda974 /plugins/workflow_objc | |
| parent | e15b6e8789bd791a201bdac031561dddb59a99e4 (diff) | |
Deprecate Workflow::Instance in favor of Workflow::Get and Workflow::GetOrCreate
Calls to `Workflow::Instance` that were looking up a built-in workflow
name are updated to use `Workflow::Get`. Others use `Workflow::GetOrCreate`.
Diffstat (limited to 'plugins/workflow_objc')
| -rw-r--r-- | plugins/workflow_objc/Workflow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/workflow_objc/Workflow.cpp b/plugins/workflow_objc/Workflow.cpp index e0986943..fb65f29a 100644 --- a/plugins/workflow_objc/Workflow.cpp +++ b/plugins/workflow_objc/Workflow.cpp @@ -307,7 +307,7 @@ static constexpr auto WorkflowInfo = R"({ void Workflow::registerActivities() { - const auto wf = BinaryNinja::Workflow::Instance("core.function.baseAnalysis")->Clone("core.function.objectiveC"); + const auto wf = BinaryNinja::Workflow::Get("core.function.baseAnalysis")->Clone("core.function.objectiveC"); wf->RegisterActivity(new BinaryNinja::Activity( ActivityID::ResolveMethodCalls, &Workflow::inlineMethodCalls)); wf->InsertAfter("core.function.translateTailCalls", ActivityID::ResolveMethodCalls); |
