IDAPython 8.4
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  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  int_pointer
 Proxy of C++ int_pointer class. More...
 
class  ea_pointer
 Proxy of C++ ea_pointer class. More...
 
class  sval_pointer
 Proxy of C++ sval_pointer class. More...
 
class  sel_pointer
 Proxy of C++ sel_pointer class. More...
 
class  _qstrvec_t
 

Namespaces

namespace  ida_pro
 

Functions

"int64" qatoll (*args)
 qatoll(nptr) -> int64
 
"void" qexit (*args)
 qexit(code) Call qatexit functions, shut down UI and kernel, and exit.
 
"int" log2ceil (*args)
 log2ceil(d64) -> int calculate ceil(log2(d64)) or floor(log2(d64)), it returns 0 if d64 == 0
 
"int" log2floor (*args)
 log2floor(d64) -> int
 
"uint64" extend_sign (*args)
 extend_sign(v, nbytes, sign_extend) -> uint64 Sign-, or zero-extend the value 'v' to occupy 64 bits.
 
"int" readbytes (*args)
 readbytes(h, res, size, mf) -> int Read at most 4 bytes from file.
 
"int" writebytes (*args)
 writebytes(h, l, size, mf) -> int Write at most 4 bytes to file.
 
"void" reloc_value (*args)
 reloc_value(value, size, delta, mf)
 
"void *" qvector_reserve (*args)
 qvector_reserve(vec, old, cnt, elsize) -> void * Change capacity of given qvector.
 
"bool" relocate_relobj (*args)
 relocate_relobj(_relobj, ea, mf) -> bool
 
"bool" is_cvt64 (*args)
 is_cvt64() -> bool is IDA converting IDB into I64?
 
"bool" quote_cmdline_arg (*args)
 quote_cmdline_arg(arg) -> bool Quote a command line argument if it contains escape characters.
 
"bool" parse_dbgopts (*args)
 parse_dbgopts(ido, r_switch) -> bool Parse the -r command line switch (for instant debugging).
 
"int" check_process_exit (*args)
 check_process_exit(handle, exit_code, msecs=-1) -> int Check whether process has terminated or not.
 
"enum tty_control_t" is_control_tty (*args)
 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 (*args)
 qdetach_tty() If the current terminal is the controlling terminal of the calling process, give up this controlling terminal.
 
"void" qcontrol_tty (*args)
 qcontrol_tty() Make the current terminal the controlling terminal of the calling process.
 
"bool" qthread_equal (*args)
 qthread_equal(q1, q2) -> bool Are two threads equal?
 
"bool" is_main_thread (*args)
 is_main_thread() -> bool Are we running in the main thread?
 
"PyObject *" qstrvec_t_create (*args)
 qstrvec_t_create() -> PyObject *
 
"bool" qstrvec_t_destroy (*args)
 qstrvec_t_destroy(py_obj) -> bool
 
"qstrvec_t *" qstrvec_t_get_clink (*args)
 qstrvec_t_get_clink(_self) -> qstrvec_t *
 
"PyObject *" qstrvec_t_get_clink_ptr (*args)
 qstrvec_t_get_clink_ptr(_self) -> PyObject *
 
"bool" qstrvec_t_assign (*args)
 qstrvec_t_assign(_self, other) -> bool
 
"PyObject *" qstrvec_t_addressof (*args)
 qstrvec_t_addressof(_self, idx) -> PyObject *
 
"bool" qstrvec_t_set (*args)
 qstrvec_t_set(_self, idx, s) -> bool
 
"bool" qstrvec_t_from_list (*args)
 qstrvec_t_from_list(_self, py_list) -> bool
 
"size_t" qstrvec_t_size (*args)
 qstrvec_t_size(_self) -> size_t
 
"PyObject *" qstrvec_t_get (*args)
 qstrvec_t_get(_self, idx) -> PyObject *
 
"bool" qstrvec_t_add (*args)
 qstrvec_t_add(_self, s) -> bool
 
"bool" qstrvec_t_clear (*args)
 qstrvec_t_clear(_self, qclear) -> bool
 
"bool" qstrvec_t_insert (*args)
 qstrvec_t_insert(_self, idx, s) -> bool
 
"bool" qstrvec_t_remove (*args)
 qstrvec_t_remove(_self, idx) -> bool
 
"PyObject *" str2user (*args)
 str2user(str) -> str or None Insert C-style escape characters to string
 
"uchar_array *" uchar_array_frompointer (*args)
 uchar_array_frompointer(t) -> uchar_array
 
"tid_array *" tid_array_frompointer (*args)
 tid_array_frompointer(t) -> tid_array
 
"ea_array *" ea_array_frompointer (*args)
 ea_array_frompointer(t) -> ea_array
 
"sel_array *" sel_array_frompointer (*args)
 sel_array_frompointer(t) -> sel_array
 
"uval_array *" uval_array_frompointer (*args)
 uval_array_frompointer(t) -> uval_array
 
"int_pointer *" int_pointer_frompointer (*args)
 int_pointer_frompointer(t) -> int_pointer
 
"ea_pointer *" ea_pointer_frompointer (*args)
 ea_pointer_frompointer(t) -> ea_pointer
 
"sval_pointer *" sval_pointer_frompointer (*args)
 sval_pointer_frompointer(t) -> sval_pointer
 
"sel_pointer *" sel_pointer_frompointer (*args)
 sel_pointer_frompointer(t) -> sel_pointer
 

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