diff options
| author | Brian Potchik <brian@vector35.com> | 2024-11-25 11:49:47 -0500 |
|---|---|---|
| committer | Brian Potchik <brian@vector35.com> | 2024-11-25 11:49:47 -0500 |
| commit | b50c2e8a53344b4efc1f529ea54b379305a17207 (patch) | |
| tree | c1e5e5bc8211ae63fe53bce1c9a585ba28de2be2 /examples | |
| parent | 16303c7bc3cdf0a9b5fab5e2af5bae71f199e461 (diff) | |
Rename 'defaultAnalysis' to 'baseAnalysis' in the Workflow system.
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/workflows/inliner/inliner.cpp | 6 | ||||
| -rw-r--r-- | examples/workflows/tailcall/tailcall.cpp | 6 |
2 files changed, 6 insertions, 6 deletions
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<Workflow> inlinerWorkflow = Workflow::Instance("core.function.defaultAnalysis")->Clone("InlinerWorkflow"); + Ref<Workflow> 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<Workflow> customTailCallWorkflow = Workflow::Instance("core.function.defaultAnalysis")->Clone("CustomTailCallWorkflow"); + Ref<Workflow> 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; |
