Module binaryninja::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§
- The trait required for address-associated commands. See register_for_address for example usage.
- The trait required for generic commands. See register for example usage.
- The trait required for function-associated commands. See register_for_function for example usage.
- The trait required for range-associated commands. See register_for_range for example usage.
Functions§
- The function call required for generic commands; commands added in this way will be in the
Plugins
submenu of the menu bar. - The function call required for generic commands; commands added in this way will be in the
Plugins
submenu of the menu bar. - The function call required for generic commands; commands added in this way will be in the
Plugins
submenu of the menu bar. - The function call required for generic commands; commands added in this way will be in the
Plugins
submenu of the menu bar.