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

Method MediumLevelILInstructionPluginCommandActionCallback

plugin.cpp:135–143  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

133
134
135void PluginCommand::MediumLevelILInstructionPluginCommandActionCallback(
136 void* ctxt, BNBinaryView* view, BNMediumLevelILFunction* func, size_t instr)
137{
138 RegisteredMediumLevelILInstructionCommand* cmd = (RegisteredMediumLevelILInstructionCommand*)ctxt;
139 Ref<BinaryView> viewObject = new BinaryView(BNNewViewReference(view));
140 Ref<MediumLevelILFunction> funcObject = new MediumLevelILFunction(BNNewMediumLevelILFunctionReference(func));
141 MediumLevelILInstruction instrObject = funcObject->GetInstruction(instr);
142 cmd->action(viewObject, instrObject);
143}
144
145
146void PluginCommand::HighLevelILFunctionPluginCommandActionCallback(

Callers

nothing calls this directly

Calls 2

GetInstructionMethod · 0.45
actionMethod · 0.45

Tested by

no test coverage detected