Latest available version: IDA and decompilers v8.4.240320sp1 see all releases
Hex-Rays logo State-of-the-art binary code analysis tools
email icon
Functions: add-ons

Convenience functions for ui_addons. More...

Functions

int register_addon (const addon_info_t *info)
 Register an add-on. More...
 
int addon_count ()
 Get number of installed addons.
 
bool get_addon_info (const char *id, addon_info_t *info)
 Get info about a registered addon with a given product code. More...
 
bool get_addon_info_idx (int index, addon_info_t *info)
 Get info about a registered addon with specific index. More...
 

Detailed Description

Convenience functions for ui_addons.

Function Documentation

◆ register_addon()

int register_addon ( const addon_info_t info)
inline

Register an add-on.

Show its info in the About box. For plugins, should be called from init() function (repeated calls with the same product code overwrite previous entries) returns: index of the add-on in the list, or -1 on error

◆ get_addon_info()

bool get_addon_info ( const char *  id,
addon_info_t info 
)
inline

Get info about a registered addon with a given product code.

info->cb must be valid! NB: all pointers are invalidated by next call to register_addon or get_addon_info

Returns
false if not found

◆ get_addon_info_idx()

bool get_addon_info_idx ( int  index,
addon_info_t info 
)
inline

Get info about a registered addon with specific index.

info->cb must be valid! NB: all pointers are invalidated by next call to register_addon or get_addon_info

Returns
false if index is out of range