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

Method LowLevelILInstructionPluginCommandActionCallback

plugin.cpp:114–122  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

112
113
114void PluginCommand::LowLevelILInstructionPluginCommandActionCallback(
115 void* ctxt, BNBinaryView* view, BNLowLevelILFunction* func, size_t instr)
116{
117 RegisteredLowLevelILInstructionCommand* cmd = (RegisteredLowLevelILInstructionCommand*)ctxt;
118 Ref<BinaryView> viewObject = new BinaryView(BNNewViewReference(view));
119 Ref<LowLevelILFunction> funcObject = new LowLevelILFunction(BNNewLowLevelILFunctionReference(func));
120 LowLevelILInstruction instrObject = funcObject->GetInstruction(instr);
121 cmd->action(viewObject, instrObject);
122}
123
124
125void PluginCommand::MediumLevelILFunctionPluginCommandActionCallback(

Callers

nothing calls this directly

Calls 2

GetInstructionMethod · 0.45
actionMethod · 0.45

Tested by

no test coverage detected