Module command

Source
Expand description

Provides commands for registering plugins and plugin actions.

All plugins need to provide one of the following functions for Binary Ninja to call:

pub extern "C" fn CorePluginInit() -> bool {
    todo!();
}
pub extern "C" fn UIPluginInit() -> bool {
    todo!();
}

Both of these functions can call any of the following registration functions, though CorePluginInit is called during Binary Ninja core initialization, and UIPluginInit is called during Binary Ninja UI initialization.

The return value of these functions should indicate whether they successfully initialized themselves.

Traits§

AddressCommand
The trait required for address-associated commands. See register_command_for_address for example usage.
Command
The trait required for generic commands. See register_command for example usage.
FunctionCommand
The trait required for function-associated commands. See register_command_for_function for example usage.
ProjectCommand
RangeCommand
The trait required for range-associated commands. See register_command_for_range for example usage.

Functions§

register_command
The function call required for generic commands; commands added in this way will be in the Plugins submenu of the menu bar.
register_command_for_address
The function call required for generic commands; commands added in this way will be in the Plugins submenu of the menu bar.
register_command_for_function
The function call required for generic commands; commands added in this way will be in the Plugins submenu of the menu bar.
register_command_for_project
register_command_for_range
The function call required for generic commands; commands added in this way will be in the Plugins submenu of the menu bar.