Module index

Module ida_entry

IDA Plugin SDK API wrapper: entry

Global variables

var AEF_IDBENC
the name is given in the IDB encoding; non-ASCII bytes will be decoded accordingly Specifying AEF_IDBENC also implies AEF_NODUMMY
var AEF_NODUMMY
automatically prepend the name with '_' if it begins with a dummy suffix. See also AEF_IDBENC
var AEF_UTF8
the name is given in UTF-8 (default)

Functions

def add_entry(*args) ‑> bool
Add an entry point to the list of entry points.
add_entry(ord, ea, name, makecode, flags=0) -> bool
ord: ordinal number if ordinal number is equal to 'ea' then
ordinal is not used (C++: uval_t)
ea: linear address (C++: ea_t)
name: name of entry point. If the specified location already
has a name, the old name will be appended to the regular comment. If name == NULL, then the old name will be retained. (C++: const char *)
makecode: should the kernel convert bytes at the entry point to
instruction(s) (C++: bool)
flags: See AEF_* (C++: int)
return: success (currently always true)
def get_entry(*args) ‑> ea_t
Get entry point address by its ordinal
get_entry(ord) -> ea_t
ord: ordinal number of entry point (C++: uval_t)
return: address or BADADDR
def get_entry_forwarder(*args) ‑> qstring *
Get forwarder name for the entry point by its ordinal.
get_entry_forwarder(ord) -> str
ord: ordinal number of entry point (C++: uval_t)
return: size of entry forwarder name or -1
def get_entry_name(*args) ‑> qstring *
Get name of the entry point by its ordinal.
get_entry_name(ord) -> str
ord: ordinal number of entry point (C++: uval_t)
return: size of entry name or -1
def get_entry_ordinal(*args) ‑> uval_t
Get ordinal number of an entry point.
get_entry_ordinal(idx) -> uval_t
idx: internal number of entry point. Should be in the range 0..
get_entry_qty() -1 (C++: size_t)
return: ordinal number or 0.
def get_entry_qty(*args) ‑> size_t
Get number of entry points.
def rename_entry(*args) ‑> bool
Rename entry point.
rename_entry(ord, name, flags=0) -> bool
ord: ordinal number of the entry point (C++: uval_t)
name: name of entry point. If the specified location already
has a name, the old name will be appended to a repeatable comment. (C++: const char *)
flags: See AEF_* (C++: int)
return: success
def set_entry_forwarder(*args) ‑> bool
Set forwarder name for ordinal.
set_entry_forwarder(ord, name, flags=0) -> bool
ord: ordinal number of the entry point (C++: uval_t)
name: forwarder name for entry point. (C++: const char *)
flags: See AEF_* (C++: int)
return: success