| 116 | |
| 117 | |
| 118 | BINARYNINJAPLUGIN bool CorePluginInit() |
| 119 | { |
| 120 | Ref<Workflow> customTailCallWorkflow = Workflow::Instance("core.function.baseAnalysis")->Clone("CustomTailCallWorkflow"); |
| 121 | customTailCallWorkflow->RegisterActivity(new Activity("extension.translateTailCalls", &TailCallTranslation)); |
| 122 | customTailCallWorkflow->Replace("core.function.translateTailCalls", "extension.translateTailCalls"); |
| 123 | customTailCallWorkflow->Remove("core.function.translateTailCalls"); |
| 124 | Workflow::RegisterWorkflow(customTailCallWorkflow, |
| 125 | R"#({ |
| 126 | "title" : "Tail Call Translation (Example)", |
| 127 | "description" : "This analysis stands in as an example to demonstrate Binary Ninja's extensible analysis APIs.", |
| 128 | "targetType" : "function" |
| 129 | })#"); |
| 130 | |
| 131 | return true; |
| 132 | } |
| 133 | } |
nothing calls this directly
no test coverage detected