| 102 | |
| 103 | |
| 104 | void PluginCommand::LowLevelILFunctionPluginCommandActionCallback( |
| 105 | void* ctxt, BNBinaryView* view, BNLowLevelILFunction* func) |
| 106 | { |
| 107 | RegisteredLowLevelILFunctionCommand* cmd = (RegisteredLowLevelILFunctionCommand*)ctxt; |
| 108 | Ref<BinaryView> viewObject = new BinaryView(BNNewViewReference(view)); |
| 109 | Ref<LowLevelILFunction> funcObject = new LowLevelILFunction(BNNewLowLevelILFunctionReference(func)); |
| 110 | cmd->action(viewObject, funcObject); |
| 111 | } |
| 112 | |
| 113 | |
| 114 | void PluginCommand::LowLevelILInstructionPluginCommandActionCallback( |