IDAPython 9.0
Loading...
Searching...
No Matches
ida_pro.py File Reference

Classes

class  qrefcnt_obj_t
 Proxy of C++ qrefcnt_obj_t class. More...
 
class  channel_redir_t
 Proxy of C++ channel_redir_t class. More...
 
class  plugin_options_t
 Proxy of C++ plugin_options_t class. More...
 
class  instant_dbgopts_t
 Proxy of C++ instant_dbgopts_t class. More...
 
class  qmutex_locker_t
 Proxy of C++ qmutex_locker_t class. More...
 
class  intvec_t
 Proxy of C++ qvector< int > class. More...
 
class  uintvec_t
 Proxy of C++ qvector< unsigned int > class. More...
 
class  int64vec_t
 Proxy of C++ qvector< long long > class. More...
 
class  uint64vec_t
 Proxy of C++ qvector< unsigned long long > class. More...
 
class  boolvec_t
 Proxy of C++ qvector< bool > class. More...
 
class  strvec_t
 Proxy of C++ qvector< simpleline_t > class. More...
 
class  sizevec_t
 Proxy of C++ qvector< size_t > class. More...
 
class  uchar_array
 Proxy of C++ uchar_array class. More...
 
class  tid_array
 Proxy of C++ tid_array class. More...
 
class  ea_array
 Proxy of C++ ea_array class. More...
 
class  sel_array
 Proxy of C++ sel_array class. More...
 
class  uval_array
 Proxy of C++ uval_array class. More...
 
class  uchar_pointer
 Proxy of C++ uchar_pointer class. More...
 
class  ushort_pointer
 Proxy of C++ ushort_pointer class. More...
 
class  uint_pointer
 Proxy of C++ uint_pointer class. More...
 
class  sint8_pointer
 Proxy of C++ sint8_pointer class. More...
 
class  int8_pointer
 Proxy of C++ int8_pointer class. More...
 
class  uint8_pointer
 Proxy of C++ uint8_pointer class. More...
 
class  int16_pointer
 Proxy of C++ int16_pointer class. More...
 
class  uint16_pointer
 Proxy of C++ uint16_pointer class. More...
 
class  int32_pointer
 Proxy of C++ int32_pointer class. More...
 
class  uint32_pointer
 Proxy of C++ uint32_pointer class. More...
 
class  int64_pointer
 Proxy of C++ int64_pointer class. More...
 
class  uint64_pointer
 Proxy of C++ uint64_pointer class. More...
 
class  ssize_pointer
 Proxy of C++ ssize_pointer class. More...
 
class  bool_pointer
 Proxy of C++ bool_pointer class. More...
 
class  char_pointer
 Proxy of C++ char_pointer class. More...
 
class  short_pointer
 Proxy of C++ short_pointer class. More...
 
class  int_pointer
 Proxy of C++ int_pointer class. More...
 
class  ea_pointer
 Proxy of C++ ea_pointer class. More...
 
class  sel_pointer
 Proxy of C++ sel_pointer class. More...
 
class  asize_pointer
 Proxy of C++ asize_pointer class. More...
 
class  adiff_pointer
 Proxy of C++ adiff_pointer class. More...
 
class  uval_pointer
 Proxy of C++ uval_pointer class. More...
 
class  sval_pointer
 Proxy of C++ sval_pointer class. More...
 
class  ea32_pointer
 Proxy of C++ ea32_pointer class. More...
 
class  ea64_pointer
 Proxy of C++ ea64_pointer class. More...
 
class  flags_pointer
 Proxy of C++ flags_pointer class. More...
 
class  flags64_pointer
 Proxy of C++ flags64_pointer class. More...
 
class  tid_pointer
 Proxy of C++ tid_pointer class. More...
 
class  _qstrvec_t
 

Namespaces

namespace  ida_pro
 This is the first header included in the IDA project.
 

Functions

"int64" qatoll ("char const *" nptr)
 qatoll(nptr) -> int64
 
"void" qexit ("int" code)
 qexit(code) Call qatexit functions, shut down UI and kernel, and exit.
 
"int" log2ceil ("uint64" d64)
 log2ceil(d64) -> int calculate ceil(log2(d64)) or floor(log2(d64)), it returns 0 if d64 == 0
 
"int" log2floor ("uint64" d64)
 log2floor(d64) -> int
 
"uint64" extend_sign ("uint64" v, "int" nbytes, "bool" sign_extend)
 extend_sign(v, nbytes, sign_extend) -> uint64 Sign-, or zero-extend the value 'v' to occupy 64 bits.
 
"int" readbytes ("int" h, "uint32 *" res, "int" size, "bool" mf)
 readbytes(h, res, size, mf) -> int Read at most 4 bytes from file.
 
"int" writebytes ("int" h, "uint32" l, "int" size, "bool" mf)
 writebytes(h, l, size, mf) -> int Write at most 4 bytes to file.
 
"void" reloc_value ("void *" value, "int" size, "adiff_t" delta, "bool" mf)
 reloc_value(value, size, delta, mf)
 
"void *" qvector_reserve ("void *" vec, "void *" old, "size_t" cnt, "size_t" elsize)
 qvector_reserve(vec, old, cnt, elsize) -> void * Change capacity of given qvector.
 
"bool" relocate_relobj ("relobj_t *" _relobj, "ea_t" ea, "bool" mf)
 relocate_relobj(_relobj, ea, mf) -> bool
 
"bool" is_cvt64 ()
 is_cvt64() -> bool is IDA converting IDB into I64?
 
"bool" quote_cmdline_arg ("qstring *" arg)
 quote_cmdline_arg(arg) -> bool Quote a command line argument if it contains escape characters.
 
"bool" parse_dbgopts ("instant_dbgopts_t" ido, "char const *" r_switch)
 parse_dbgopts(ido, r_switch) -> bool Parse the -r command line switch (for instant debugging).
 
"int" check_process_exit ("void *" handle, "int *" exit_code, "int" msecs=-1)
 check_process_exit(handle, exit_code, msecs=-1) -> int Check whether process has terminated or not.
 
"enum tty_control_t" is_control_tty ("int" fd)
 is_control_tty(fd) -> enum tty_control_t Check if the current process is the owner of the TTY specified by 'fd' (typically an opened descriptor to /dev/tty).
 
"void" qdetach_tty ()
 qdetach_tty() If the current terminal is the controlling terminal of the calling process, give up this controlling terminal.
 
"void" qcontrol_tty ()
 qcontrol_tty() Make the current terminal the controlling terminal of the calling process.
 
"bool" qthread_equal ("__qthread_t" q1, "__qthread_t" q2)
 qthread_equal(q1, q2) -> bool Are two threads equal?
 
"bool" is_main_thread ()
 is_main_thread() -> bool Are we running in the main thread?
 
"qstring *" get_login_name ()
 get_login_name() -> str Get the user name for the current desktop session
 
"PyObject *" qstrvec_t_create ()
 qstrvec_t_create() -> PyObject *
 
"bool" qstrvec_t_destroy ("PyObject *" py_obj)
 qstrvec_t_destroy(py_obj) -> bool
 
"qstrvec_t *" qstrvec_t_get_clink ("PyObject *" _self)
 qstrvec_t_get_clink(_self) -> qstrvec_t *
 
"PyObject *" qstrvec_t_get_clink_ptr ("PyObject *" _self)
 qstrvec_t_get_clink_ptr(_self) -> PyObject *
 
"bool" qstrvec_t_assign ("PyObject *" _self, "PyObject *" other)
 qstrvec_t_assign(_self, other) -> bool
 
"PyObject *" qstrvec_t_addressof ("PyObject *" _self, "size_t" idx)
 qstrvec_t_addressof(_self, idx) -> PyObject *
 
"bool" qstrvec_t_set ("PyObject *" _self, "size_t" idx, "char const *" s)
 qstrvec_t_set(_self, idx, s) -> bool
 
"bool" qstrvec_t_from_list ("PyObject *" _self, "PyObject *" py_list)
 qstrvec_t_from_list(_self, py_list) -> bool
 
"size_t" qstrvec_t_size ("PyObject *" _self)
 qstrvec_t_size(_self) -> size_t
 
"PyObject *" qstrvec_t_get ("PyObject *" _self, "size_t" idx)
 qstrvec_t_get(_self, idx) -> PyObject *
 
"bool" qstrvec_t_add ("PyObject *" _self, "char const *" s)
 qstrvec_t_add(_self, s) -> bool
 
"bool" qstrvec_t_clear ("PyObject *" _self, "bool" qclear)
 qstrvec_t_clear(_self, qclear) -> bool
 
"bool" qstrvec_t_insert ("PyObject *" _self, "size_t" idx, "char const *" s)
 qstrvec_t_insert(_self, idx, s) -> bool
 
"bool" qstrvec_t_remove ("PyObject *" _self, "size_t" idx)
 qstrvec_t_remove(_self, idx) -> bool
 
"PyObject *" str2user ("char const *" str)
 Insert C-style escape characters to string.
 

Variables

 BADDIFF = _ida_pro.BADDIFF
 
 IDA_SDK_VERSION = _ida_pro.IDA_SDK_VERSION
 
 BADMEMSIZE = _ida_pro.BADMEMSIZE
 
 _CRT_DECLARE_NONSTDC_NAMES = _ida_pro._CRT_DECLARE_NONSTDC_NAMES
 
 MAXSTR = _ida_pro.MAXSTR
 
 FMT_64 = _ida_pro.FMT_64
 
 FMT_Z = _ida_pro.FMT_Z
 
 FMT_ZX = _ida_pro.FMT_ZX
 
 FMT_ZS = _ida_pro.FMT_ZS
 
 FMT_EA = _ida_pro.FMT_EA
 
 IDBDEC_ESCAPE = _ida_pro.IDBDEC_ESCAPE
 
 CP_BOM = _ida_pro.CP_BOM
 
 UTF8_BOM = _ida_pro.UTF8_BOM
 
 UTF16LE_BOM = _ida_pro.UTF16LE_BOM
 
 UTF16BE_BOM = _ida_pro.UTF16BE_BOM
 
 UTF32LE_BOM = _ida_pro.UTF32LE_BOM
 
 UTF32BE_BOM = _ida_pro.UTF32BE_BOM
 
 CP_ELLIPSIS = _ida_pro.CP_ELLIPSIS
 
 UTF8_ELLIPSIS = _ida_pro.UTF8_ELLIPSIS
 
 CP_REPLCHAR = _ida_pro.CP_REPLCHAR
 
 UTF8_REPLCHAR = _ida_pro.UTF8_REPLCHAR
 
 MAX_UTF8_SEQ_LEN = _ida_pro.MAX_UTF8_SEQ_LEN
 
 CEF_RETERR = _ida_pro.CEF_RETERR
 
 ENC_WIN1252 = _ida_pro.ENC_WIN1252
 
 ENC_UTF8 = _ida_pro.ENC_UTF8
 
 ENC_MUTF8 = _ida_pro.ENC_MUTF8
 
 ENC_UTF16 = _ida_pro.ENC_UTF16
 
 ENC_UTF16LE = _ida_pro.ENC_UTF16LE
 
 ENC_UTF16BE = _ida_pro.ENC_UTF16BE
 
 ENC_UTF32 = _ida_pro.ENC_UTF32
 
 ENC_UTF32LE = _ida_pro.ENC_UTF32LE
 
 ENC_UTF32BE = _ida_pro.ENC_UTF32BE
 
 CP_UTF8 = _ida_pro.CP_UTF8
 
 CP_UTF16 = _ida_pro.CP_UTF16
 
 SUBSTCHAR = _ida_pro.SUBSTCHAR
 
 IOREDIR_INPUT = _ida_pro.IOREDIR_INPUT
 
 IOREDIR_OUTPUT = _ida_pro.IOREDIR_OUTPUT
 
 IOREDIR_APPEND = _ida_pro.IOREDIR_APPEND
 
 IOREDIR_QUOTED = _ida_pro.IOREDIR_QUOTED
 
 QWCONTINUED = _ida_pro.QWCONTINUED
 
 QWNOHANG = _ida_pro.QWNOHANG
 
 TCT_UNKNOWN = _ida_pro.TCT_UNKNOWN
 
 TCT_OWNER = _ida_pro.TCT_OWNER
 
 TCT_NOT_OWNER = _ida_pro.TCT_NOT_OWNER
 
 cvar = _ida_pro.cvar
 
 NULL_PIPE_HANDLE = cvar.NULL_PIPE_HANDLE
 
 longlongvec_t = int64vec_t
 
 ulonglongvec_t = uint64vec_t
 
 svalvec_t = int64vec_t
 
 uvalvec_t = uint64vec_t
 
 eavec_t = uvalvec_t