| 133 | |
| 134 | |
| 135 | void 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 | |
| 146 | void PluginCommand::HighLevelILFunctionPluginCommandActionCallback( |
nothing calls this directly
no test coverage detected