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

Method FunctionPluginCommandActionCallback

plugin.cpp:95–101  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

93
94
95void PluginCommand::FunctionPluginCommandActionCallback(void* ctxt, BNBinaryView* view, BNFunction* func)
96{
97 RegisteredFunctionCommand* cmd = (RegisteredFunctionCommand*)ctxt;
98 Ref<BinaryView> viewObject = new BinaryView(BNNewViewReference(view));
99 Ref<Function> funcObject = new Function(BNNewFunctionReference(func));
100 cmd->action(viewObject, funcObject);
101}
102
103
104void PluginCommand::LowLevelILFunctionPluginCommandActionCallback(

Callers

nothing calls this directly

Calls 1

actionMethod · 0.45

Tested by

no test coverage detected