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

Method Register

view/sharedcache/workflow/SharedCacheWorkflow.cpp:364–381  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

362}
363
364void SharedCacheWorkflow::Register()
365{
366 Ref<Workflow> workflow = Workflow::Instance("core.function.baseAnalysis")->Clone("core.function.sharedCache");
367
368 // Register and insert activities here.
369 ObjCActivity::Register(*workflow);
370 workflow->RegisterActivity(new Activity("core.analysis.sharedCache.analysis", &AnalyzeFunction));
371 std::vector<std::string> inserted = { "core.analysis.sharedCache.analysis" };
372 workflow->Insert("core.function.analyzeTailCalls", inserted);
373
374 static constexpr auto WORKFLOW_DESCRIPTION = R"({
375 "title": "Shared Cache Workflow",
376 "description": "Shared Cache Workflow",
377 "capabilities": []
378 })";
379
380 Workflow::RegisterWorkflow(workflow, WORKFLOW_DESCRIPTION);
381}
382
383extern "C"
384{

Callers

nothing calls this directly

Calls 4

CloneMethod · 0.80
RegisterActivityMethod · 0.80
RegisterEnum · 0.50
InsertMethod · 0.45

Tested by

no test coverage detected