From b50c2e8a53344b4efc1f529ea54b379305a17207 Mon Sep 17 00:00:00 2001 From: Brian Potchik Date: Mon, 25 Nov 2024 11:49:47 -0500 Subject: Rename 'defaultAnalysis' to 'baseAnalysis' in the Workflow system. --- examples/workflows/inliner/inliner.cpp | 6 +++--- examples/workflows/tailcall/tailcall.cpp | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'examples') diff --git a/examples/workflows/inliner/inliner.cpp b/examples/workflows/inliner/inliner.cpp index 392935eb..7db6efec 100644 --- a/examples/workflows/inliner/inliner.cpp +++ b/examples/workflows/inliner/inliner.cpp @@ -158,14 +158,14 @@ extern "C" }, inlinerIsValid); - Ref inlinerWorkflow = Workflow::Instance("core.function.defaultAnalysis")->Clone("InlinerWorkflow"); + Ref inlinerWorkflow = Workflow::Instance("core.function.baseAnalysis")->Clone("InlinerWorkflow"); inlinerWorkflow->RegisterActivity(new Activity("extension.functionInliner", &FunctionInliner)); inlinerWorkflow->Insert("core.function.translateTailCalls", "extension.functionInliner"); Workflow::RegisterWorkflow(inlinerWorkflow, R"#({ "title" : "Function Inliner (Example)", - "description" : "This analysis stands in as an example to demonstrate Binary Ninja's extensible analysis APIs. ***Note** this feature is under active development and subject to change without notice.", - "capabilities" : [] + "description" : "This analysis stands in as an example to demonstrate Binary Ninja's extensible analysis APIs.", + "targetType" : "function" })#"); return true; diff --git a/examples/workflows/tailcall/tailcall.cpp b/examples/workflows/tailcall/tailcall.cpp index 2cb77b8e..294b6471 100644 --- a/examples/workflows/tailcall/tailcall.cpp +++ b/examples/workflows/tailcall/tailcall.cpp @@ -117,15 +117,15 @@ extern "C" BINARYNINJAPLUGIN bool CorePluginInit() { - Ref customTailCallWorkflow = Workflow::Instance("core.function.defaultAnalysis")->Clone("CustomTailCallWorkflow"); + Ref customTailCallWorkflow = Workflow::Instance("core.function.baseAnalysis")->Clone("CustomTailCallWorkflow"); customTailCallWorkflow->RegisterActivity(new Activity("extension.translateTailCalls", &TailCallTranslation)); customTailCallWorkflow->Replace("core.function.translateTailCalls", "extension.translateTailCalls"); customTailCallWorkflow->Remove("core.function.translateTailCalls"); Workflow::RegisterWorkflow(customTailCallWorkflow, R"#({ "title" : "Tail Call Translation (Example)", - "description" : "This analysis stands in as an example to demonstrate Binary Ninja's extensible analysis APIs. ***Note** this feature is under active development and subject to change without notice.", - "capabilities" : [] + "description" : "This analysis stands in as an example to demonstrate Binary Ninja's extensible analysis APIs.", + "targetType" : "function" })#"); return true; -- cgit v1.3.1