MCPcopy Create free account
hub / github.com/Vector35/binaryninja-api / CorePluginInit

Function CorePluginInit

examples/workflows/tailcall/tailcall.cpp:118–132  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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}

Callers

nothing calls this directly

Calls 4

CloneMethod · 0.80
RegisterActivityMethod · 0.80
ReplaceMethod · 0.45
RemoveMethod · 0.45

Tested by

no test coverage detected