| 112 | |
| 113 | |
| 114 | void 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 | |
| 125 | void PluginCommand::MediumLevelILFunctionPluginCommandActionCallback( |
nothing calls this directly
no test coverage detected