| 85 | |
| 86 | |
| 87 | void PluginCommand::RangePluginCommandActionCallback(void* ctxt, BNBinaryView* view, uint64_t addr, uint64_t len) |
| 88 | { |
| 89 | RegisteredRangeCommand* cmd = (RegisteredRangeCommand*)ctxt; |
| 90 | Ref<BinaryView> viewObject = new BinaryView(BNNewViewReference(view)); |
| 91 | cmd->action(viewObject, addr, len); |
| 92 | } |
| 93 | |
| 94 | |
| 95 | void PluginCommand::FunctionPluginCommandActionCallback(void* ctxt, BNBinaryView* view, BNFunction* func) |