IDA C++ SDK 9.2
|
Functions that deal with entry points. More...
Go to the source code of this file.
Functions | |
idaman size_t ida_export | get_entry_qty (void) |
Get number of entry points. | |
idaman bool ida_export | add_entry (uval_t ord, ea_t ea, const char *name, bool makecode, int flags=AEF_UTF8) |
Add an entry point to the list of entry points. | |
idaman uval_t ida_export | get_entry_ordinal (size_t idx) |
Get ordinal number of an entry point. | |
idaman ea_t ida_export | get_entry (uval_t ord) |
Get entry point address by its ordinal. | |
idaman ssize_t ida_export | get_entry_name (qstring *buf, uval_t ord) |
Get name of the entry point by its ordinal. | |
idaman bool ida_export | rename_entry (uval_t ord, const char *name, int flags=AEF_UTF8) |
Rename entry point. | |
idaman bool ida_export | set_entry_forwarder (uval_t ord, const char *name, int flags=AEF_UTF8) |
Set forwarder name for ordinal. | |
idaman ssize_t ida_export | get_entry_forwarder (qstring *buf, uval_t ord) |
Get forwarder name for the entry point by its ordinal. |
Functions that deal with entry points.
Exported functions are considered as entry points as well.
IDA maintains list of entry points to the program. Each entry point:
idaman size_t ida_export get_entry_qty | ( | void | ) |
Get number of entry points.
idaman bool ida_export add_entry | ( | uval_t | ord, |
ea_t | ea, | ||
const char * | name, | ||
bool | makecode, | ||
int | flags = AEF_UTF8 ) |
Add an entry point to the list of entry points.
ord | ordinal number if ordinal number is equal to 'ea' then ordinal is not used |
ea | linear address |
name | name of entry point. If the specified location already has a name, the old name will be appended to the regular comment. |
makecode | should the kernel convert bytes at the entry point to instruction(s) |
flags | See AEF_* |
idaman uval_t ida_export get_entry_ordinal | ( | size_t | idx | ) |
Get ordinal number of an entry point.
idx | internal number of entry point. Should be in the range 0..get_entry_qty()-1 |
Get entry point address by its ordinal.
ord | ordinal number of entry point |
Get name of the entry point by its ordinal.
buf | output buffer, may be nullptr |
ord | ordinal number of entry point |
Rename entry point.
ord | ordinal number of the entry point |
name | name of entry point. If the specified location already has a name, the old name will be appended to a repeatable comment. |
flags | See AEF_* |
Set forwarder name for ordinal.
ord | ordinal number of the entry point |
name | forwarder name for entry point. |
flags | See AEF_* |