| 123 | |
| 124 | |
| 125 | void PluginCommand::MediumLevelILFunctionPluginCommandActionCallback( |
| 126 | void* ctxt, BNBinaryView* view, BNMediumLevelILFunction* func) |
| 127 | { |
| 128 | RegisteredMediumLevelILFunctionCommand* cmd = (RegisteredMediumLevelILFunctionCommand*)ctxt; |
| 129 | Ref<BinaryView> viewObject = new BinaryView(BNNewViewReference(view)); |
| 130 | Ref<MediumLevelILFunction> funcObject = new MediumLevelILFunction(BNNewMediumLevelILFunctionReference(func)); |
| 131 | cmd->action(viewObject, funcObject); |
| 132 | } |
| 133 | |
| 134 | |
| 135 | void PluginCommand::MediumLevelILInstructionPluginCommandActionCallback( |