|
IDA C++ SDK 9.2
|
Topics | |
| Register variable error codes | |
| Return values for functions in described in Register variables. | |
Functions | |
| idaman int ida_export | add_func_regvar (ea_t func_ea, ea_t ea1, ea_t ea2, const char *canon, const char *user, const char *cmt) |
| Define a register variable. | |
| idaman ssize_t ida_export | find_func_regvar (regvar_t *rv, ea_t func_ea, ea_t ea1, ea_t ea2, const char *canon, const char *user) |
| Find a register variable definition (powerful version). | |
| ssize_t | find_func_regvar (regvar_t *rv, ea_t func_ea, ea_t ea, const char *canon) |
| Find a register variable definition. | |
| bool | has_func_regvar (ea_t func_ea, ea_t ea) |
| Is there a register variable definition? | |
| DEPRECATED bool | has_regvar (func_t *pfn, ea_t ea) |
| Is there a register variable definition? | |
| idaman int ida_export | rename_func_regvar (ea_t func_ea, ssize_t index, const char *user) |
| Rename a register variable. | |
| idaman int ida_export | set_func_regvar_cmt (ea_t func_ea, ssize_t index, const char *cmt) |
| Set comment for a register variable. | |
| idaman int ida_export | set_func_regvar_range (ea_t func_ea, ssize_t index, const range_t &range) |
| Update the address range of a register variable by index. | |
| idaman int ida_export | del_func_regvar (ea_t func_ea, ea_t ea1, ea_t ea2, const char *canon) |
| Delete a register variable definition. | |
| idaman size_t ida_export | get_func_regvar_qty (ea_t func_ea) |
| Get the number of register variables for a function. | |
| idaman bool ida_export | get_func_regvars (regvars_t *out, ea_t func_ea) |
| Get all register variables for a function. | |
| idaman bool ida_export | get_func_regvar (regvar_t *out, ea_t func_ea, ssize_t index) |
| Get a copy of a register variable by index. | |
| idaman int ida_export add_func_regvar | ( | ea_t | func_ea, |
| ea_t | ea1, | ||
| ea_t | ea2, | ||
| const char * | canon, | ||
| const char * | user, | ||
| const char * | cmt ) |
Define a register variable.
| func_ea | any address of the function |
| ea1,ea2 | range of addresses within the function where the definition will be used |
| canon | name of a general register |
| user | user-defined name for the register |
| cmt | comment for the definition |
| idaman ssize_t ida_export find_func_regvar | ( | regvar_t * | rv, |
| ea_t | func_ea, | ||
| ea_t | ea1, | ||
| ea_t | ea2, | ||
| const char * | canon, | ||
| const char * | user ) |
Find a register variable definition (powerful version).
One of 'canon' and 'user' should be nullptr. If both 'canon' and 'user' are nullptr it returns the first regvar definition in the range.
| rv | if not nullptr, a copy of the found regvar is stored here |
| func_ea | any address of the function |
| ea1,ea2 | range of addresses to search. ea1==BADADDR means the entire function |
| canon | name of a general register |
| user | user-defined name for the register |
Find a register variable definition.
| rv | if not nullptr, a copy of the found regvar is stored here |
| func_ea | any address of the function |
| ea | current address |
| canon | name of a general register |
Is there a register variable definition?
| func_ea | any address of the function |
| ea | current address |
Is there a register variable definition?
| pfn | function in question |
| ea | current address |
Rename a register variable.
| func_ea | any address of the function |
| index | index of the register variable (see find_func_regvar()) |
| user | new user-defined name for the register |
Set comment for a register variable.
| func_ea | any address of the function |
| index | index of the register variable (see find_func_regvar()) |
| cmt | new comment |
Update the address range of a register variable by index.
Only the range is changed; to rename a regvar or change its comment use rename_func_regvar()/set_func_regvar_cmt(). The new range must be well-formed (start_ea < end_ea) and must keep the function's register variables sorted by start_ea.
| func_ea | any address of the function |
| index | index of the register variable (see find_func_regvar()) |
| range | new address range for the register variable |
Delete a register variable definition.
| func_ea | any address of the function |
| ea1,ea2 | range of addresses within the function where the definition holds |
| canon | name of a general register |
| idaman size_t ida_export get_func_regvar_qty | ( | ea_t | func_ea | ) |
Get the number of register variables for a function.
| func_ea | function start address |
Get all register variables for a function.
| out | output vector of regvar_t |
| func_ea | function start address |
Get a copy of a register variable by index.
| out | output regvar_t (deep copy) |
| func_ea | any address of the function |
| index | index of the register variable (see find_func_regvar()) |