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

Classes

class  DeprecatedIDCError
 

Namespaces

namespace  idc
 

Functions

 _IDC_GetAttr (obj, attrmap, attroffs)
 
 _IDC_SetAttr (obj, attrmap, attroffs, value)
 
 has_value (F)
 
 byte_value (F)
 
 is_loaded (ea)
 
 is_code (F)
 
 is_data (F)
 
 is_tail (F)
 
 is_unknown (F)
 
 is_head (F)
 
 is_flow (F)
 
 isExtra (F)
 
 isRef (F)
 
 hasName (F)
 
 hasUserName (F)
 
 is_defarg0 (F)
 
 is_defarg1 (F)
 
 isDec0 (F)
 
 isDec1 (F)
 
 isHex0 (F)
 
 isHex1 (F)
 
 isOct0 (F)
 
 isOct1 (F)
 
 isBin0 (F)
 
 isBin1 (F)
 
 is_off0 (F)
 
 is_off1 (F)
 
 is_char0 (F)
 
 is_char1 (F)
 
 is_seg0 (F)
 
 is_seg1 (F)
 
 is_enum0 (F)
 
 is_enum1 (F)
 
 is_manual0 (F)
 
 is_manual1 (F)
 
 is_stroff0 (F)
 
 is_stroff1 (F)
 
 is_stkvar0 (F)
 
 is_stkvar1 (F)
 
 is_byte (F)
 
 is_word (F)
 
 is_dword (F)
 
 is_qword (F)
 
 is_oword (F)
 
 is_tbyte (F)
 
 is_float (F)
 
 is_double (F)
 
 is_pack_real (F)
 
 is_strlit (F)
 
 is_struct (F)
 
 is_align (F)
 
 value_is_string (var)
 
 value_is_long (var)
 
 value_is_float (var)
 
 value_is_func (var)
 
 value_is_pvoid (var)
 
 value_is_int64 (var)
 
 to_ea (seg, off)
 
 form (format, *args)
 
 substr (s, x1, x2)
 
 strstr (s1, s2)
 
 strlen (s)
 
 xtol (s)
 
 atoa (ea)
 
 ltoa (n, radix)
 
 atol (s)
 
 rotate_left (value, count, nbits, offset)
 
 rotate_dword (x, count)
 
 rotate_word (x, count)
 
 rotate_byte (x, count)
 
 eval_idc (expr)
 
 EVAL_FAILURE (code)
 
 save_database (idbname, flags=0)
 
 validate_idb_names (do_repair=0)
 
 call_system (command)
 
 qsleep (milliseconds)
 
 delete_all_segments ()
 
 plan_and_wait (sEA, eEA, final_pass=True)
 
 set_name (ea, name, flags=ida_name.SN_CHECK)
 
 make_array (ea, nitems)
 
 create_strlit (ea, endea)
 
 create_byte (ea)
 
 create_word (ea)
 
 create_dword (ea)
 
 create_qword (ea)
 
 create_oword (ea)
 
 create_yword (ea)
 
 create_float (ea)
 
 create_double (ea)
 
 create_pack_real (ea)
 
 create_tbyte (ea)
 
 create_struct (ea, size, strname)
 
 define_local_var (start, end, location, name)
 
 set_array_params (ea, flags, litems, align)
 
 op_plain_offset (ea, n, base)
 
 toggle_bnot (ea, n)
 
 op_stroff (ea, n, strid, delta)
 
 op_offset_high16 (ea, n, target)
 
 MakeVar (ea)
 
 split_sreg_range (ea, reg, value, tag=SR_user)
 
 AutoMark (ea, qtype)
 
 gen_file (filetype, path, ea1, ea2, flags)
 
 gen_flow_graph (outfile, title, ea1, ea2, flags)
 
 gen_simple_call_chart (outfile, title, flags)
 
 idadir ()
 
 get_idb_path ()
 
 get_bytes (ea, size, use_dbg=False)
 
 read_dbg_byte (ea)
 
 read_dbg_word (ea)
 
 read_dbg_dword (ea)
 
 read_dbg_qword (ea)
 
 write_dbg_memory (ea, data)
 
 GetFloat (ea)
 
 GetDouble (ea)
 
 get_name_ea_simple (name)
 
 get_segm_by_sel (base)
 
 get_curline ()
 
 read_selection_start ()
 
 read_selection_end ()
 
 get_sreg (ea, reg)
 
 next_head (ea, maxea=BADADDR)
 
 prev_head (ea, minea=0)
 
 get_item_size (ea)
 
 func_contains (func_ea, ea)
 
 get_name (ea, gtn_flags=0)
 
 demangle_name (name, disable_mask)
 
 generate_disasm_line (ea, flags)
 
 GetDisasm (ea)
 
 print_insn_mnem (ea)
 
 print_operand (ea, n)
 
 get_operand_type (ea, n)
 
 get_operand_value (ea, n)
 
 get_strlit_contents (ea, length=-1, strtype=STRTYPE_C)
 
 get_str_type (ea)
 
 process_config_line (directive)
 
 _import_module_flag_sets (module, prefixes)
 
 get_inf_attr (attr)
 
 set_inf_attr (attr, value)
 
 SetPrcsr (processor)
 
 get_processor_name ()
 
 batch (batch)
 
 process_ui_action (name, flags=0)
 
 sel2para (sel)
 
 find_selector (val)
 
 get_first_seg ()
 
 get_next_seg (ea)
 
 get_segm_start (ea)
 
 get_segm_end (ea)
 
 get_segm_name (ea)
 
 add_segm_ex (startea, endea, base, use32, align, comb, flags)
 
 AddSeg (startea, endea, base, use32, align, comb)
 
 set_segment_bounds (ea, startea, endea, flags)
 
 set_segm_name (ea, name)
 
 set_segm_class (ea, segclass)
 
 set_segm_alignment (ea, alignment)
 
 set_segm_combination (segea, comb)
 
 set_segm_addressing (ea, bitness)
 
 selector_by_name (segname)
 
 set_default_sreg_value (ea, reg, value)
 
 set_segm_type (segea, segtype)
 
 get_segm_attr (segea, attr)
 
 set_segm_attr (segea, attr, value)
 
 move_segm (ea, to, flags)
 
 get_xref_type ()
 
 fopen (f, mode)
 
 fclose (handle)
 
 filelength (handle)
 
 fseek (handle, offset, origin)
 
 ftell (handle)
 
 LoadFile (filepath, pos, ea, size)
 
 loadfile (filepath, pos, ea, size)
 
 SaveFile (filepath, pos, ea, size)
 
 savefile (filepath, pos, ea, size)
 
 fgetc (handle)
 
 fputc (byte, handle)
 
 fprintf (handle, format, *args)
 
 readshort (handle, mostfirst)
 
 readlong (handle, mostfirst)
 
 writeshort (handle, word, mostfirst)
 
 writelong (handle, dword, mostfirst)
 
 readstr (handle)
 
 writestr (handle, s)
 
 get_next_func (ea)
 
 get_prev_func (ea)
 
 get_func_attr (ea, attr)
 
 set_func_attr (ea, attr, value)
 
 get_func_flags (ea)
 
 set_func_flags (ea, flags)
 
 get_func_name (ea)
 
 get_func_cmt (ea, repeatable)
 
 set_func_cmt (ea, cmt, repeatable)
 
 choose_func (title)
 
 get_func_off_str (ea)
 
 find_func_end (ea)
 
 get_frame_id (ea)
 
 get_frame_lvar_size (ea)
 
 get_frame_regs_size (ea)
 
 get_frame_args_size (ea)
 
 get_frame_size (ea)
 
 set_frame_size (ea, lvsize, frregs, argsize)
 
 get_spd (ea)
 
 get_sp_delta (ea)
 
 get_fchunk_attr (ea, attr)
 
 set_fchunk_attr (ea, attr, value)
 
 get_next_fchunk (ea)
 
 get_prev_fchunk (ea)
 
 append_func_tail (funcea, ea1, ea2)
 
 remove_fchunk (funcea, tailea)
 
 set_tail_owner (tailea, funcea)
 
 first_func_chunk (funcea)
 
 next_func_chunk (funcea, tailea)
 
 add_auto_stkpnt (func_ea, ea, delta)
 
 del_stkpnt (func_ea, ea)
 
 get_min_spd_ea (func_ea)
 
 get_fixup_target_type (ea)
 
 get_fixup_target_flags (ea)
 
 get_fixup_target_sel (ea)
 
 get_fixup_target_off (ea)
 
 get_fixup_target_dis (ea)
 
 set_fixup (ea, fixuptype, fixupflags, targetsel, targetoff, displ)
 
 get_struc_id (name)
 
 get_struc_name (tid)
 
 get_struc_cmt (tid)
 
 get_struc_size (tid)
 
 get_member_qty (sid)
 
 get_member_by_idx (sid, idx)
 
 is_member_id (sid)
 
 get_member_id (sid, member_offset)
 
 get_member_offset (sid, member_name)
 
 get_member_name (sid, member_offset)
 
 get_member_cmt (sid, member_offset, repeatable=True)
 
 get_member_size (sid, member_offset)
 
 get_member_strid (sid, member_offset)
 
 is_union (sid)
 
 add_struc (index, name, is_union)
 
 del_struc (sid)
 
 set_struc_name (sid, name)
 
 set_struc_cmt (sid, cmt, repeatable=True)
 
 add_struc_member (sid, name, offset, flag, typeid, nbytes, target=-1, tdelta=0, reftype=REF_OFF32)
 
 del_struc_member (sid, member_offset)
 
 set_member_name (sid, member_offset, name)
 
 set_member_type (sid, member_offset, flag, typeid, nitems, target=-1, tdelta=0, reftype=REF_OFF32)
 
 set_member_cmt (sid, member_offset, comment, repeatable)
 
 expand_struc (sid, offset, delta, recalc=True)
 
 get_enum (name)
 
 get_enum_name (enum_id, flags=0)
 
 get_enum_cmt (enum_id)
 
 get_enum_size (enum_id)
 
 get_enum_width (enum_id)
 
 get_enum_flag (enum_id)
 
 get_enum_member_by_name (name)
 
 get_enum_member_enum (const_id)
 
 get_enum_member (enum_id, value, serial, bmask)
 
 get_first_bmask (enum_id)
 
 get_last_bmask (enum_id)
 
 get_next_bmask (enum_id, bmask)
 
 get_prev_bmask (enum_id, bmask)
 
 get_bmask_name (enum_id, bmask)
 
 get_bmask_cmt (enum_id, bmask, repeatable)
 
 set_bmask_name (enum_id, bmask, name)
 
 set_bmask_cmt (enum_id, bmask, cmt, repeatable)
 
 get_first_enum_member (enum_id, bmask=-1)
 
 get_last_enum_member (enum_id, bmask=-1)
 
 get_next_enum_member (enum_id, value, bmask=-1)
 
 get_prev_enum_member (enum_id, value, bmask=-1)
 
 get_enum_member_name (const_id)
 
 get_enum_member_cmt (const_id, repeatable=True)
 
 get_enum_member_value (const_id)
 
 get_enum_member_bmask (const_id)
 
 add_enum (idx, name, flag)
 
 del_enum (enum_id)
 
 set_enum_name (enum_id, name)
 
 set_enum_flag (enum_id, flag)
 
 set_enum_width (enum_id, nbytes)
 
 is_bf (enum_id)
 
 set_enum_bf (enum_id, bf)
 
 set_enum_cmt (enum_id, cmt, repeatable)
 
 add_enum_member (enum_id, name, value, bmask=-1)
 
 del_enum_member (enum_id, value, serial, bmask=-1)
 
 set_enum_member_name (const_id, name)
 
 set_enum_member_cmt (const_id, cmt, repeatable=False)
 
 create_array (name)
 
 get_array_id (name)
 
 rename_array (array_id, newname)
 
 delete_array (array_id)
 
 set_array_long (array_id, idx, value)
 
 set_array_string (array_id, idx, value)
 
 get_array_element (tag, array_id, idx)
 
 del_array_element (tag, array_id, idx)
 
 get_first_index (tag, array_id)
 
 get_last_index (tag, array_id)
 
 get_next_index (tag, array_id, idx)
 
 get_prev_index (tag, array_id, idx)
 
 set_hash_long (hash_id, key, value)
 
 get_hash_long (hash_id, key)
 
 set_hash_string (hash_id, key, value)
 
 get_hash_string (hash_id, key)
 
 del_hash_string (hash_id, key)
 
 get_first_hash_key (hash_id)
 
 get_last_hash_key (hash_id)
 
 get_next_hash_key (hash_id, key)
 
 get_prev_hash_key (hash_id, key)
 
 add_default_til (name)
 
 import_type (idx, type_name)
 
 get_type (ea)
 
 sizeof (typestr)
 
 get_tinfo (ea)
 
 get_local_tinfo (ordinal)
 
 guess_type (ea)
 
 apply_type (ea, py_type, flags=TINFO_DEFINITE)
 
 SetType (ea, newtype)
 
 parse_decl (inputtype, flags)
 
 parse_decls (inputtype, flags=0)
 
 print_decls (ordinals, flags)
 
 get_ordinal_limit ()
 
 set_local_type (ordinal, input, flags)
 
 GetLocalType (ordinal, flags)
 
 get_numbered_type_name (ordinal)
 
 update_hidden_range (ea, visible)
 
 _get_modules ()
 
 get_first_module ()
 
 get_next_module (base)
 
 get_module_name (base)
 
 get_module_size (base)
 
 resume_process ()
 
 send_dbg_command (cmd)
 
 get_event_id ()
 
 get_event_pid ()
 
 get_event_tid ()
 
 get_event_ea ()
 
 is_event_handled ()
 
 get_event_module_name ()
 
 get_event_module_base ()
 
 get_event_module_size ()
 
 get_event_exit_code ()
 
 get_event_info ()
 
 get_event_bpt_hea ()
 
 get_event_exc_code ()
 
 get_event_exc_ea ()
 
 can_exc_continue ()
 
 get_event_exc_info ()
 
 set_reg_value (value, name)
 
 get_bpt_ea (n)
 
 get_bpt_attr (ea, bptattr)
 
 set_bpt_attr (address, bptattr, value)
 
 set_bpt_cond (ea, cnd, is_lowcnd=0)
 
 enable_tracing (trace_level, enable)
 
 clear_trace (filename)
 
 get_color (ea, what)
 
 set_color (ea, what, color)
 
 force_bl_jump (ea)
 
 force_bl_call (ea)
 
 set_flag (off, bit, value)
 
 here ()
 
 is_mapped (ea)
 

Variables

int WORDMASK = 0xFFFFFFFFFFFFFFFF if __EA64__ else 0xFFFFFFFF
 
 BADADDR = ida_idaapi.BADADDR
 
 BADSEL = ida_idaapi.BADSEL
 
 SIZE_MAX = _ida_idaapi.SIZE_MAX
 
 MS_VAL = ida_bytes.MS_VAL
 
 FF_IVL = ida_bytes.FF_IVL
 
 MS_CLS = ida_bytes.MS_CLS
 
 FF_CODE = ida_bytes.FF_CODE
 
 FF_DATA = ida_bytes.FF_DATA
 
 FF_TAIL = ida_bytes.FF_TAIL
 
 FF_UNK = ida_bytes.FF_UNK
 
 MS_COMM = ida_bytes.MS_COMM
 
 FF_COMM = ida_bytes.FF_COMM
 
 FF_REF = ida_bytes.FF_REF
 
 FF_LINE = ida_bytes.FF_LINE
 
 FF_NAME = ida_bytes.FF_NAME
 
 FF_LABL = ida_bytes.FF_LABL
 
 FF_FLOW = ida_bytes.FF_FLOW
 
 FF_ANYNAME = FF_LABL | FF_NAME
 
 MS_0TYPE = ida_bytes.MS_0TYPE
 
 FF_0VOID = ida_bytes.FF_0VOID
 
 FF_0NUMH = ida_bytes.FF_0NUMH
 
 FF_0NUMD = ida_bytes.FF_0NUMD
 
 FF_0CHAR = ida_bytes.FF_0CHAR
 
 FF_0SEG = ida_bytes.FF_0SEG
 
 FF_0OFF = ida_bytes.FF_0OFF
 
 FF_0NUMB = ida_bytes.FF_0NUMB
 
 FF_0NUMO = ida_bytes.FF_0NUMO
 
 FF_0ENUM = ida_bytes.FF_0ENUM
 
 FF_0FOP = ida_bytes.FF_0FOP
 
 FF_0STRO = ida_bytes.FF_0STRO
 
 FF_0STK = ida_bytes.FF_0STK
 
 MS_1TYPE = ida_bytes.MS_1TYPE
 
 FF_1VOID = ida_bytes.FF_1VOID
 
 FF_1NUMH = ida_bytes.FF_1NUMH
 
 FF_1NUMD = ida_bytes.FF_1NUMD
 
 FF_1CHAR = ida_bytes.FF_1CHAR
 
 FF_1SEG = ida_bytes.FF_1SEG
 
 FF_1OFF = ida_bytes.FF_1OFF
 
 FF_1NUMB = ida_bytes.FF_1NUMB
 
 FF_1NUMO = ida_bytes.FF_1NUMO
 
 FF_1ENUM = ida_bytes.FF_1ENUM
 
 FF_1FOP = ida_bytes.FF_1FOP
 
 FF_1STRO = ida_bytes.FF_1STRO
 
 FF_1STK = ida_bytes.FF_1STK
 
int DT_TYPE = ida_bytes.DT_TYPE & 0xFFFFFFFF
 
int FF_BYTE = ida_bytes.FF_BYTE & 0xFFFFFFFF
 
int FF_WORD = ida_bytes.FF_WORD & 0xFFFFFFFF
 
int FF_DWORD = ida_bytes.FF_DWORD & 0xFFFFFFFF
 
int FF_QWORD = ida_bytes.FF_QWORD & 0xFFFFFFFF
 
int FF_TBYTE = ida_bytes.FF_TBYTE & 0xFFFFFFFF
 
int FF_STRLIT = ida_bytes.FF_STRLIT & 0xFFFFFFFF
 
int FF_STRUCT = ida_bytes.FF_STRUCT & 0xFFFFFFFF
 
int FF_OWORD = ida_bytes.FF_OWORD & 0xFFFFFFFF
 
int FF_FLOAT = ida_bytes.FF_FLOAT & 0xFFFFFFFF
 
int FF_DOUBLE = ida_bytes.FF_DOUBLE & 0xFFFFFFFF
 
int FF_PACKREAL = ida_bytes.FF_PACKREAL & 0xFFFFFFFF
 
int FF_ALIGN = ida_bytes.FF_ALIGN & 0xFFFFFFFF
 
int MS_CODE = ida_bytes.MS_CODE & 0xFFFFFFFF
 
int FF_FUNC = ida_bytes.FF_FUNC & 0xFFFFFFFF
 
int FF_IMMD = ida_bytes.FF_IMMD & 0xFFFFFFFF
 
int FF_JUMP = ida_bytes.FF_JUMP & 0xFFFFFFFF
 
 NEF_SEGS = ida_loader.NEF_SEGS
 
 NEF_RSCS = ida_loader.NEF_RSCS
 
 NEF_NAME = ida_loader.NEF_NAME
 
 NEF_MAN = ida_loader.NEF_MAN
 
 NEF_FILL = ida_loader.NEF_FILL
 
 NEF_IMPS = ida_loader.NEF_IMPS
 
 NEF_FIRST = ida_loader.NEF_FIRST
 
 NEF_CODE = ida_loader.NEF_CODE
 
 NEF_RELOAD = ida_loader.NEF_RELOAD
 
 NEF_FLAT = ida_loader.NEF_FLAT
 
int IDCHK_OK = 0
 
int IDCHK_ARG = -1
 
int IDCHK_KEY = -2
 
int IDCHK_MAX = -3
 
 add_idc_hotkey = ida_kernwin.add_idc_hotkey
 
 del_idc_hotkey = ida_kernwin.del_idc_hotkey
 
 jumpto = ida_kernwin.jumpto
 
 auto_wait = ida_auto.auto_wait
 
 DBFL_BAK = ida_loader.DBFL_BAK
 
 qexit = ida_pro.qexit
 
 load_and_run_plugin = ida_loader.load_and_run_plugin
 
 plan_to_apply_idasgn = ida_funcs.plan_to_apply_idasgn
 
 create_insn = ida_ua.create_insn
 
 SN_CHECK = ida_name.SN_CHECK
 
 SN_NOCHECK = ida_name.SN_NOCHECK
 
 SN_PUBLIC = ida_name.SN_PUBLIC
 
 SN_NON_PUBLIC = ida_name.SN_NON_PUBLIC
 
 SN_WEAK = ida_name.SN_WEAK
 
 SN_NON_WEAK = ida_name.SN_NON_WEAK
 
 SN_AUTO = ida_name.SN_AUTO
 
 SN_NON_AUTO = ida_name.SN_NON_AUTO
 
 SN_NOLIST = ida_name.SN_NOLIST
 
 SN_NOWARN = ida_name.SN_NOWARN
 
 SN_LOCAL = ida_name.SN_LOCAL
 
 set_cmt = ida_bytes.set_cmt
 
 create_data = ida_bytes.create_data
 
 create_custom_data = ida_bytes.create_custdata
 
 create_align = ida_bytes.create_align
 
 del_items = ida_bytes.del_items
 
 DELIT_SIMPLE = ida_bytes.DELIT_SIMPLE
 
 DELIT_EXPAND = ida_bytes.DELIT_EXPAND
 
 DELIT_DELNAMES = ida_bytes.DELIT_DELNAMES
 
int AP_ALLOWDUPS = 0x00000001
 
int AP_SIGNED = 0x00000002
 
int AP_INDEX = 0x00000004
 
int AP_ARRAY = 0x00000008
 
int AP_IDXBASEMASK = 0x000000F0
 
int AP_IDXDEC = 0x00000000
 
int AP_IDXHEX = 0x00000010
 
int AP_IDXOCT = 0x00000020
 
int AP_IDXBIN = 0x00000030
 
 op_bin = ida_bytes.op_bin
 
 op_oct = ida_bytes.op_oct
 
 op_dec = ida_bytes.op_dec
 
 op_hex = ida_bytes.op_hex
 
 op_chr = ida_bytes.op_chr
 
 OPND_OUTER = ida_bytes.OPND_OUTER
 
 op_offset = ida_offset.op_offset
 
 REF_OFF8 = ida_nalt.REF_OFF8
 
 REF_OFF16 = ida_nalt.REF_OFF16
 
 REF_OFF32 = ida_nalt.REF_OFF32
 
 REF_LOW8 = ida_nalt.REF_LOW8
 
 REF_LOW16 = ida_nalt.REF_LOW16
 
 REF_HIGH8 = ida_nalt.REF_HIGH8
 
 REF_HIGH16 = ida_nalt.REF_HIGH16
 
 REF_OFF64 = ida_nalt.REF_OFF64
 
int REFINFO_RVA = 0x10
 
int REFINFO_PASTEND = 0x20
 
int REFINFO_NOBASE = 0x80
 
int REFINFO_SUBTRACT = 0x0100
 
int REFINFO_SIGNEDOP = 0x0200
 
 op_seg = ida_bytes.op_seg
 
 op_num = ida_bytes.op_num
 
 op_flt = ida_bytes.op_flt
 
 op_man = ida_bytes.set_forced_operand
 
 toggle_sign = ida_bytes.toggle_sign
 
 op_enum = ida_bytes.op_enum
 
 op_stkvar = ida_bytes.op_stkvar
 
 E_PREV = ida_lines.E_PREV
 
 E_NEXT = ida_lines.E_NEXT
 
 get_extra_cmt = ida_lines.get_extra_cmt
 
 update_extra_cmt = ida_lines.update_extra_cmt
 
 del_extra_cmt = ida_lines.del_extra_cmt
 
 set_manual_insn = ida_bytes.set_manual_insn
 
 get_manual_insn = ida_bytes.get_manual_insn
 
 patch_dbg_byte = ida_dbg.put_dbg_byte
 
 patch_byte = ida_bytes.patch_byte
 
 patch_word = ida_bytes.patch_word
 
 patch_dword = ida_bytes.patch_dword
 
 patch_qword = ida_bytes.patch_qword
 
int SR_inherit = 1
 
int SR_user = 2
 
int SR_auto = 3
 
int SR_autostart = 4
 
 auto_mark_range = ida_auto.auto_mark_range
 
 auto_unmark = ida_auto.auto_unmark
 
 AU_UNK = ida_auto.AU_UNK
 
 AU_CODE = ida_auto.AU_CODE
 
 AU_PROC = ida_auto.AU_PROC
 
 AU_USED = ida_auto.AU_USED
 
 AU_LIBF = ida_auto.AU_LIBF
 
 AU_FINAL = ida_auto.AU_FINAL
 
 OFILE_MAP = ida_loader.OFILE_MAP
 
 OFILE_EXE = ida_loader.OFILE_EXE
 
 OFILE_IDC = ida_loader.OFILE_IDC
 
 OFILE_LST = ida_loader.OFILE_LST
 
 OFILE_ASM = ida_loader.OFILE_ASM
 
 OFILE_DIF = ida_loader.OFILE_DIF
 
 GENFLG_MAPSEG = ida_loader.GENFLG_MAPSEG
 
 GENFLG_MAPNAME = ida_loader.GENFLG_MAPNAME
 
 GENFLG_MAPDMNG = ida_loader.GENFLG_MAPDMNG
 
 GENFLG_MAPLOC = ida_loader.GENFLG_MAPLOC
 
 GENFLG_IDCTYPE = ida_loader.GENFLG_IDCTYPE
 
 GENFLG_ASMTYPE = ida_loader.GENFLG_ASMTYPE
 
 GENFLG_GENHTML = ida_loader.GENFLG_GENHTML
 
 GENFLG_ASMINC = ida_loader.GENFLG_ASMINC
 
int CHART_PRINT_NAMES = 0x1000
 
int CHART_GEN_GDL = 0x4000
 
int CHART_WINGRAPH = 0x8000
 
int CHART_NOLIBFUNCS = 0x0400
 
 get_root_filename = ida_nalt.get_root_filename
 
 get_input_file_path = ida_nalt.get_input_file_path
 
 set_root_filename = ida_nalt.set_root_filename
 
 retrieve_input_file_md5 = ida_nalt.retrieve_input_file_md5
 
 get_full_flags = ida_bytes.get_full_flags
 
 get_db_byte = ida_bytes.get_db_byte
 
 get_wide_byte = ida_bytes.get_wide_byte
 
 read_dbg_memory = ida_idd.dbg_read_memory
 
 get_original_byte = ida_bytes.get_original_byte
 
 get_wide_word = ida_bytes.get_wide_word
 
 get_wide_dword = ida_bytes.get_wide_dword
 
 get_qword = ida_bytes.get_qword
 
 get_name_ea = ida_name.get_name_ea
 
 get_screen_ea = ida_kernwin.get_screen_ea
 
 next_addr = ida_bytes.next_addr
 
 prev_addr = ida_bytes.prev_addr
 
 next_not_tail = ida_bytes.next_not_tail
 
 prev_not_tail = ida_bytes.prev_not_tail
 
 get_item_head = ida_bytes.get_item_head
 
 get_item_end = ida_bytes.get_item_end
 
 GN_VISIBLE = ida_name.GN_VISIBLE
 
 GN_COLORED = ida_name.GN_COLORED
 
 GN_DEMANGLED = ida_name.GN_DEMANGLED
 
 GN_STRICT = ida_name.GN_STRICT
 
 GN_SHORT = ida_name.GN_SHORT
 
 GN_LONG = ida_name.GN_LONG
 
 GN_LOCAL = ida_name.GN_LOCAL
 
 GN_ISRET = ida_name.GN_ISRET
 
 GN_NOT_ISRET = ida_name.GN_NOT_ISRET
 
 calc_gtn_flags = ida_name.calc_gtn_flags
 
 GENDSM_FORCE_CODE = ida_lines.GENDSM_FORCE_CODE
 
 GENDSM_MULTI_LINE = ida_lines.GENDSM_MULTI_LINE
 
 o_void = ida_ua.o_void
 
 o_reg = ida_ua.o_reg
 
 o_mem = ida_ua.o_mem
 
 o_phrase = ida_ua.o_phrase
 
 o_displ = ida_ua.o_displ
 
 o_imm = ida_ua.o_imm
 
 o_far = ida_ua.o_far
 
 o_near = ida_ua.o_near
 
 o_idpspec0 = ida_ua.o_idpspec0
 
 o_idpspec1 = ida_ua.o_idpspec1
 
 o_idpspec2 = ida_ua.o_idpspec2
 
 o_idpspec3 = ida_ua.o_idpspec3
 
 o_idpspec4 = ida_ua.o_idpspec4
 
 o_idpspec5 = ida_ua.o_idpspec5
 
 o_trreg = ida_ua.o_idpspec0
 
 o_dbreg = ida_ua.o_idpspec1
 
 o_crreg = ida_ua.o_idpspec2
 
 o_fpreg = ida_ua.o_idpspec3
 
 o_mmxreg = ida_ua.o_idpspec4
 
 o_xmmreg = ida_ua.o_idpspec5
 
 o_reglist = ida_ua.o_idpspec1
 
 o_creglist = ida_ua.o_idpspec2
 
 o_creg = ida_ua.o_idpspec3
 
 o_fpreglist = ida_ua.o_idpspec4
 
 o_text = ida_ua.o_idpspec5
 
tuple o_cond = (ida_ua.o_idpspec5+1)
 
 o_spr = ida_ua.o_idpspec0
 
 o_twofpr = ida_ua.o_idpspec1
 
 o_shmbme = ida_ua.o_idpspec2
 
 o_crf = ida_ua.o_idpspec3
 
 o_crb = ida_ua.o_idpspec4
 
 o_dcr = ida_ua.o_idpspec5
 
 GetCommentEx = ida_bytes.get_cmt
 
 get_cmt = GetCommentEx
 
 get_forced_operand = ida_bytes.get_forced_operand
 
 BPU_1B = ida_nalt.BPU_1B
 
 BPU_2B = ida_nalt.BPU_2B
 
 BPU_4B = ida_nalt.BPU_4B
 
 STRWIDTH_1B = ida_nalt.STRWIDTH_1B
 
 STRWIDTH_2B = ida_nalt.STRWIDTH_2B
 
 STRWIDTH_4B = ida_nalt.STRWIDTH_4B
 
 STRWIDTH_MASK = ida_nalt.STRWIDTH_MASK
 
 STRLYT_TERMCHR = ida_nalt.STRLYT_TERMCHR
 
 STRLYT_PASCAL1 = ida_nalt.STRLYT_PASCAL1
 
 STRLYT_PASCAL2 = ida_nalt.STRLYT_PASCAL2
 
 STRLYT_PASCAL4 = ida_nalt.STRLYT_PASCAL4
 
 STRLYT_MASK = ida_nalt.STRLYT_MASK
 
 STRLYT_SHIFT = ida_nalt.STRLYT_SHIFT
 
 STRTYPE_TERMCHR = ida_nalt.STRTYPE_TERMCHR
 
 STRTYPE_C = ida_nalt.STRTYPE_C
 
 STRTYPE_C_16 = ida_nalt.STRTYPE_C_16
 
 STRTYPE_C_32 = ida_nalt.STRTYPE_C_32
 
 STRTYPE_PASCAL = ida_nalt.STRTYPE_PASCAL
 
 STRTYPE_PASCAL_16 = ida_nalt.STRTYPE_PASCAL_16
 
 STRTYPE_LEN2 = ida_nalt.STRTYPE_LEN2
 
 STRTYPE_LEN2_16 = ida_nalt.STRTYPE_LEN2_16
 
 STRTYPE_LEN4 = ida_nalt.STRTYPE_LEN4
 
 STRTYPE_LEN4_16 = ida_nalt.STRTYPE_LEN4_16
 
 STRTYPE_C16 = STRTYPE_C_16
 
 find_suspop = ida_search.find_suspop
 
 find_code = ida_search.find_code
 
 find_data = ida_search.find_data
 
 find_unknown = ida_search.find_unknown
 
 find_defined = ida_search.find_defined
 
 find_imm = ida_search.find_imm
 
 find_text = ida_search.find_text
 
 find_bytes = ida_bytes.find_bytes
 
int INF_VERSION = 0
 
int INF_PROCNAME = 1
 
int INF_GENFLAGS = 2
 
int INF_LFLAGS = 3
 
int INF_DATABASE_CHANGE_COUNT = 4
 
int INF_CHANGE_COUNTER = INF_DATABASE_CHANGE_COUNT
 
int INF_FILETYPE = 5
 
int FT_EXE_OLD = 0
 
int FT_COM_OLD = 1
 
int FT_BIN = 2
 
int FT_DRV = 3
 
int FT_WIN = 4
 
int FT_HEX = 5
 
int FT_MEX = 6
 
int FT_LX = 7
 
int FT_LE = 8
 
int FT_NLM = 9
 
int FT_COFF = 10
 
int FT_PE = 11
 
int FT_OMF = 12
 
int FT_SREC = 13
 
int FT_ZIP = 14
 
int FT_OMFLIB = 15
 
int FT_AR = 16
 
int FT_LOADER = 17
 
int FT_ELF = 18
 
int FT_W32RUN = 19
 
int FT_AOUT = 20
 
int FT_PRC = 21
 
int FT_EXE = 22
 
int FT_COM = 23
 
int FT_AIXAR = 24
 
int FT_MACHO = 25
 
int INF_OSTYPE = 6
 
int OSTYPE_MSDOS = 0x0001
 
int OSTYPE_WIN = 0x0002
 
int OSTYPE_OS2 = 0x0004
 
int OSTYPE_NETW = 0x0008
 
int INF_APPTYPE = 7
 
int APPT_CONSOLE = 0x0001
 
int APPT_GRAPHIC = 0x0002
 
int APPT_PROGRAM = 0x0004
 
int APPT_LIBRARY = 0x0008
 
int APPT_DRIVER = 0x0010
 
int APPT_1THREAD = 0x0020
 
int APPT_MTHREAD = 0x0040
 
int APPT_16BIT = 0x0080
 
int APPT_32BIT = 0x0100
 
int INF_ASMTYPE = 8
 
int INF_SPECSEGS = 9
 
int INF_AF = 10
 
int INF_AF2 = 11
 
int INF_BASEADDR = 12
 
int INF_START_SS = 13
 
int INF_START_CS = 14
 
int INF_START_IP = 15
 
int INF_START_EA = 16
 
int INF_START_SP = 17
 
int INF_MAIN = 18
 
int INF_MIN_EA = 19
 
int INF_MAX_EA = 20
 
int INF_OMIN_EA = 21
 
int INF_OMAX_EA = 22
 
int INF_LOWOFF = 23
 
int INF_LOW_OFF = INF_LOWOFF
 
int INF_HIGHOFF = 24
 
int INF_HIGH_OFF = INF_HIGHOFF
 
int INF_MAXREF = 25
 
int INF_PRIVRANGE_START_EA = 27
 
int INF_START_PRIVRANGE = INF_PRIVRANGE_START_EA
 
int INF_PRIVRANGE_END_EA = 28
 
int INF_END_PRIVRANGE = INF_PRIVRANGE_END_EA
 
int INF_NETDELTA = 29
 
int INF_XREFNUM = 30
 
int INF_TYPE_XREFNUM = 31
 
int INF_TYPE_XREFS = INF_TYPE_XREFNUM
 
int INF_REFCMTNUM = 32
 
int INF_REFCMTS = INF_REFCMTNUM
 
int INF_XREFFLAG = 33
 
int INF_XREFS = INF_XREFFLAG
 
int INF_MAX_AUTONAME_LEN = 34
 
int INF_NAMETYPE = 35
 
int INF_SHORT_DEMNAMES = 36
 
int INF_SHORT_DN = INF_SHORT_DEMNAMES
 
int INF_LONG_DEMNAMES = 37
 
int INF_LONG_DN = INF_LONG_DEMNAMES
 
int INF_DEMNAMES = 38
 
int INF_LISTNAMES = 39
 
int INF_INDENT = 40
 
int INF_CMT_INDENT = 41
 
int INF_COMMENT = 41
 
int INF_MARGIN = 42
 
int INF_LENXREF = 43
 
int INF_OUTFLAGS = 44
 
int INF_CMTFLG = 45
 
int INF_CMTFLAG = INF_CMTFLG
 
int INF_LIMITER = 46
 
int INF_BORDER = INF_LIMITER
 
int INF_BIN_PREFIX_SIZE = 47
 
int INF_BINPREF = INF_BIN_PREFIX_SIZE
 
int INF_PREFFLAG = 48
 
int INF_STRLIT_FLAGS = 49
 
int INF_STRLIT_BREAK = 50
 
int INF_STRLIT_ZEROES = 51
 
int INF_STRTYPE = 52
 
int INF_STRLIT_PREF = 53
 
int INF_STRLIT_SERNUM = 54
 
int INF_DATATYPES = 55
 
int INF_CC_ID = 57
 
int COMP_MASK = 0x0F
 
int COMP_UNK = 0x00
 
int COMP_MS = 0x01
 
int COMP_BC = 0x02
 
int COMP_WATCOM = 0x03
 
int COMP_GNU = 0x06
 
int COMP_VISAGE = 0x07
 
int COMP_BP = 0x08
 
int INF_CC_CM = 58
 
int INF_CC_SIZE_I = 59
 
int INF_CC_SIZE_B = 60
 
int INF_CC_SIZE_E = 61
 
int INF_CC_DEFALIGN = 62
 
int INF_CC_SIZE_S = 63
 
int INF_CC_SIZE_L = 64
 
int INF_CC_SIZE_LL = 65
 
int INF_CC_SIZE_LDBL = 66
 
int INF_COMPILER = INF_CC_ID
 
int INF_MODEL = INF_CC_CM
 
int INF_SIZEOF_INT = INF_CC_SIZE_I
 
int INF_SIZEOF_BOOL = INF_CC_SIZE_B
 
int INF_SIZEOF_ENUM = INF_CC_SIZE_E
 
int INF_SIZEOF_ALGN = INF_CC_DEFALIGN
 
int INF_SIZEOF_SHORT = INF_CC_SIZE_S
 
int INF_SIZEOF_LONG = INF_CC_SIZE_L
 
int INF_SIZEOF_LLONG = INF_CC_SIZE_LL
 
int INF_SIZEOF_LDBL = INF_CC_SIZE_LDBL
 
int INF_ABIBITS = 67
 
int INF_APPCALL_OPTIONS = 68
 
dict _INF_attrs_accessors
 
 set_processor_type = ida_idp.set_processor_type
 
 SETPROC_IDB = ida_idp.SETPROC_IDB
 
 SETPROC_LOADER = ida_idp.SETPROC_LOADER
 
 SETPROC_LOADER_NON_FATAL = ida_idp.SETPROC_LOADER_NON_FATAL
 
 SETPROC_USER = ida_idp.SETPROC_USER
 
 set_target_assembler = ida_idp.set_target_assembler
 
 ask_seg = ida_kernwin.ask_seg
 
 ask_yn = ida_kernwin.ask_yn
 
 msg = ida_kernwin.msg
 
 warning = ida_kernwin.warning
 
 error = ida_kernwin.error
 
 set_ida_state = ida_auto.set_ida_state
 
int IDA_STATUS_READY = 0
 
int IDA_STATUS_THINKING = 1
 
int IDA_STATUS_WAITING = 2
 
int IDA_STATUS_WORK = 3
 
 refresh_idaview_anyway = ida_kernwin.refresh_idaview_anyway
 
 refresh_lists = ida_kernwin.refresh_choosers
 
 set_selector = ida_segment.set_selector
 
 del_selector = ida_segment.del_selector
 
 ADDSEG_NOSREG = ida_segment.ADDSEG_NOSREG
 
 ADDSEG_OR_DIE = ida_segment. ADDSEG_OR_DIE
 
 ADDSEG_NOTRUNC = ida_segment.ADDSEG_NOTRUNC
 
 ADDSEG_QUIET = ida_segment.ADDSEG_QUIET
 
 ADDSEG_FILLGAP = ida_segment.ADDSEG_FILLGAP
 
 ADDSEG_SPARSE = ida_segment.ADDSEG_SPARSE
 
 del_segm = ida_segment.del_segm
 
 SEGMOD_KILL = ida_segment.SEGMOD_KILL
 
 SEGMOD_KEEP = ida_segment.SEGMOD_KEEP
 
 SEGMOD_SILENT = ida_segment.SEGMOD_SILENT
 
 saAbs = ida_segment.saAbs
 
 saRelByte = ida_segment.saRelByte
 
 saRelWord = ida_segment.saRelWord
 
 saRelPara = ida_segment.saRelPara
 
 saRelPage = ida_segment.saRelPage
 
 saRelDble = ida_segment.saRelDble
 
 saRel4K = ida_segment.saRel4K
 
 saGroup = ida_segment.saGroup
 
 saRel32Bytes = ida_segment.saRel32Bytes
 
 saRel64Bytes = ida_segment.saRel64Bytes
 
 saRelQword = ida_segment.saRelQword
 
 scPriv = ida_segment.scPriv
 
 scPub = ida_segment.scPub
 
 scPub2 = ida_segment.scPub2
 
 scStack = ida_segment.scStack
 
 scCommon = ida_segment.scCommon
 
 scPub3 = ida_segment.scPub3
 
 SEG_NORM = ida_segment.SEG_NORM
 
 SEG_XTRN = ida_segment.SEG_XTRN
 
 SEG_CODE = ida_segment.SEG_CODE
 
 SEG_DATA = ida_segment.SEG_DATA
 
 SEG_IMP = ida_segment.SEG_IMP
 
 SEG_GRP = ida_segment.SEG_GRP
 
 SEG_NULL = ida_segment.SEG_NULL
 
 SEG_UNDF = ida_segment.SEG_UNDF
 
 SEG_BSS = ida_segment.SEG_BSS
 
 SEG_ABSSYM = ida_segment.SEG_ABSSYM
 
 SEG_COMM = ida_segment.SEG_COMM
 
 SEG_IMEM = ida_segment.SEG_IMEM
 
int SEGATTR_START = 0
 
int SEGATTR_END = 4
 
int SEGATTR_ORGBASE = 16
 
int SEGATTR_ALIGN = 20
 
int SEGATTR_COMB = 21
 
int SEGATTR_PERM = 22
 
int SEGATTR_BITNESS = 23
 
int SEGATTR_FLAGS = 24
 
int SEGATTR_SEL = 28
 
int SEGATTR_ES = 32
 
int SEGATTR_CS = 36
 
int SEGATTR_SS = 40
 
int SEGATTR_DS = 44
 
int SEGATTR_FS = 48
 
int SEGATTR_GS = 52
 
int SEGATTR_TYPE = 96
 
int SEGATTR_COLOR = 100
 
dict _SEGATTRMAP
 
int SFL_COMORG = 0x01
 
int SFL_OBOK = 0x02
 
int SFL_HIDDEN = 0x04
 
int SFL_DEBUG = 0x08
 
int SFL_LOADER = 0x10
 
int SFL_HIDETYPE = 0x20
 
int MSF_SILENT = 0x0001
 
int MSF_NOFIX = 0x0002
 
int MSF_LDKEEP = 0x0004
 
int MSF_FIXONCE = 0x0008
 
int MOVE_SEGM_OK = 0
 
int MOVE_SEGM_PARAM = -1
 
int MOVE_SEGM_ROOM = -2
 
int MOVE_SEGM_IDP = -3
 
int MOVE_SEGM_CHUNK = -4
 
int MOVE_SEGM_LOADER = -5
 
int MOVE_SEGM_ODD = -6
 
int MOVE_SEGM_ORPHAN = -7,
 
int MOVE_SEGM_DEBUG = -8,
 
int MOVE_SEGM_SOURCEFILES = -9,
 
int MOVE_SEGM_MAPPING = -10,
 
int MOVE_SEGM_INVAL = -11,
 
 rebase_program = ida_segment.rebase_program
 
 set_storage_type = ida_bytes.change_storage_type
 
int STT_VA = 0
 
int STT_MM = 1
 
int fl_CF = 16
 
int fl_CN = 17
 
int fl_JF = 18
 
int fl_JN = 19
 
int fl_F = 21
 
int XREF_USER = 32
 
 add_cref = ida_xref.add_cref
 
 del_cref = ida_xref.del_cref
 
 get_first_cref_from = ida_xref.get_first_cref_from
 
 get_next_cref_from = ida_xref.get_next_cref_from
 
 get_first_cref_to = ida_xref.get_first_cref_to
 
 get_next_cref_to = ida_xref.get_next_cref_to
 
 get_first_fcref_from = ida_xref.get_first_fcref_from
 
 get_next_fcref_from = ida_xref.get_next_fcref_from
 
 get_first_fcref_to = ida_xref.get_first_fcref_to
 
 get_next_fcref_to = ida_xref.get_next_fcref_to
 
 dr_O = ida_xref.dr_O
 
 dr_W = ida_xref.dr_W
 
 dr_R = ida_xref.dr_R
 
 dr_T = ida_xref.dr_T
 
 dr_I = ida_xref.dr_I
 
 add_dref = ida_xref.add_dref
 
 del_dref = ida_xref.del_dref
 
 get_first_dref_from = ida_xref.get_first_dref_from
 
 get_next_dref_from = ida_xref.get_next_dref_from
 
 get_first_dref_to = ida_xref.get_first_dref_to
 
 get_next_dref_to = ida_xref.get_next_dref_to
 
 add_func = ida_funcs.add_func
 
 del_func = ida_funcs.del_func
 
 set_func_end = ida_funcs.set_func_end
 
int FUNCATTR_START = 0
 
int FUNCATTR_END = 4
 
int FUNCATTR_FLAGS = 8
 
int FUNCATTR_FRAME = 16
 
int FUNCATTR_FRSIZE = 20
 
int FUNCATTR_FRREGS = 24
 
int FUNCATTR_ARGSIZE = 28
 
int FUNCATTR_FPD = 32
 
int FUNCATTR_COLOR = 36
 
int FUNCATTR_OWNER = 16
 
int FUNCATTR_REFQTY = 20
 
dict _FUNCATTRMAP
 
 FUNC_NORET = ida_funcs.FUNC_NORET
 
 FUNC_FAR = ida_funcs.FUNC_FAR
 
 FUNC_LIB = ida_funcs.FUNC_LIB
 
 FUNC_STATIC = ida_funcs.FUNC_STATICDEF
 
 FUNC_FRAME = ida_funcs.FUNC_FRAME
 
 FUNC_USERFAR = ida_funcs.FUNC_USERFAR
 
 FUNC_HIDDEN = ida_funcs.FUNC_HIDDEN
 
 FUNC_THUNK = ida_funcs.FUNC_THUNK
 
 FUNC_BOTTOMBP = ida_funcs.FUNC_BOTTOMBP
 
 FUNC_NORET_PENDING = ida_funcs.FUNC_NORET_PENDING
 
 FUNC_SP_READY = ida_funcs.FUNC_SP_READY
 
 FUNC_PURGED_OK = ida_funcs.FUNC_PURGED_OK
 
 FUNC_TAIL = ida_funcs.FUNC_TAIL
 
 FUNC_LUMINA = ida_funcs.FUNC_LUMINA
 
 FUNC_OUTLINE = ida_funcs.FUNC_OUTLINE
 
 get_fchunk_referer = ida_funcs.get_fchunk_referer
 
 add_user_stkpnt = ida_frame.add_user_stkpnt
 
 recalc_spd = ida_frame.recalc_spd
 
 get_entry_qty = ida_entry.get_entry_qty
 
 add_entry = ida_entry.add_entry
 
 get_entry_ordinal = ida_entry.get_entry_ordinal
 
 get_entry = ida_entry.get_entry
 
 get_entry_name = ida_entry.get_entry_name
 
 rename_entry = ida_entry.rename_entry
 
 get_next_fixup_ea = ida_fixup.get_next_fixup_ea
 
 get_prev_fixup_ea = ida_fixup.get_prev_fixup_ea
 
int FIXUP_OFF8 = 13
 
int FIXUP_OFF16 = 1
 
int FIXUP_SEG16 = 2
 
int FIXUP_PTR32 = 3
 
int FIXUP_OFF32 = 4
 
int FIXUP_PTR48 = 5
 
int FIXUP_HI8 = 6
 
int FIXUP_HI16 = 7
 
int FIXUP_LOW8 = 8
 
int FIXUP_LOW16 = 9
 
int FIXUP_OFF64 = 12
 
int FIXUP_CUSTOM = 0x8000
 
int FIXUPF_REL = 0x1
 
int FIXUPF_EXTDEF = 0x2
 
int FIXUPF_UNUSED = 0x4
 
int FIXUPF_CREATED = 0x8
 
 del_fixup = ida_fixup.del_fixup
 
 put_bookmark = ida_idc.mark_position
 
 get_bookmark = ida_idc.get_marked_pos
 
 get_bookmark_desc = ida_idc.get_mark_comment
 
int ENFL_REGEX = 0x0001
 
str _IDC_ARRAY_PREFIX = "$ idc_array "
 
 AR_LONG = ida_netnode.atag
 
 AR_STR = ida_netnode.stag
 
 add_sourcefile = ida_lines.add_sourcefile
 
 get_sourcefile = ida_lines.get_sourcefile
 
 del_sourcefile = ida_lines.del_sourcefile
 
 set_source_linnum = ida_nalt.set_source_linnum
 
 get_source_linnum = ida_nalt.get_source_linnum
 
 del_source_linnum = ida_nalt.del_source_linnum
 
 SizeOf = sizeof
 
int TINFO_GUESSED = 0x0000
 
int TINFO_DEFINITE = 0x0001
 
int TINFO_DELAYFUNC = 0x0002
 
 PT_SIL = ida_typeinf.PT_SIL
 
 PT_NDC = ida_typeinf.PT_NDC
 
 PT_TYP = ida_typeinf.PT_TYP
 
 PT_VAR = ida_typeinf.PT_VAR
 
 PT_PACKMASK = ida_typeinf.PT_PACKMASK
 
 PT_HIGH = ida_typeinf.PT_HIGH
 
 PT_LOWER = ida_typeinf.PT_LOWER
 
 PT_REPLACE = ida_typeinf.PT_REPLACE
 
 PT_RAWARGS = ida_typeinf.PT_RAWARGS
 
 PT_SILENT = PT_SIL
 
int PT_PAKDEF = 0x0000
 
int PT_PAK1 = 0x0010
 
int PT_PAK2 = 0x0020
 
int PT_PAK4 = 0x0030
 
int PT_PAK8 = 0x0040
 
int PT_PAK16 = 0x0050
 
int PT_FILE = 0x00010000
 
int PDF_INCL_DEPS = 0x1
 
int PDF_DEF_FWD = 0x2
 
int PDF_DEF_BASE = 0x4
 
int PDF_HEADER_CMT = 0x8
 
int PRTYPE_1LINE = 0x0000
 
int PRTYPE_MULTI = 0x0001
 
int PRTYPE_TYPE = 0x0002
 
int PRTYPE_PRAGMA = 0x0004
 
int PRTYPE_SEMI = 0x0008
 
int PRTYPE_CPP = 0x0010
 
int PRTYPE_DEF = 0x0020
 
int PRTYPE_NOARGS = 0x0040
 
int PRTYPE_NOARRS = 0x0080
 
int PRTYPE_NORES = 0x0100
 
int PRTYPE_RESTORE = 0x0200
 
int PRTYPE_NOREGEX = 0x0400
 
int PRTYPE_COLORED = 0x0800
 
int PRTYPE_METHODS = 0x1000
 
int PRTYPE_1LINCMT = 0x2000
 
 add_hidden_range = ida_bytes.add_hidden_range
 
 del_hidden_range = ida_bytes.del_hidden_range
 
 load_debugger = ida_dbg.load_debugger
 
 start_process = ida_dbg.start_process
 
 exit_process = ida_dbg.exit_process
 
 suspend_process = ida_dbg.suspend_process
 
 get_processes = ida_dbg.get_processes
 
 attach_process = ida_dbg.attach_process
 
 detach_process = ida_dbg.detach_process
 
 get_thread_qty = ida_dbg.get_thread_qty
 
 getn_thread = ida_dbg.getn_thread
 
 get_current_thread = ida_dbg.get_current_thread
 
 getn_thread_name = ida_dbg.getn_thread_name
 
 select_thread = ida_dbg.select_thread
 
 suspend_thread = ida_dbg.suspend_thread
 
 resume_thread = ida_dbg.resume_thread
 
 step_into = ida_dbg.step_into
 
 step_over = ida_dbg.step_over
 
 run_to = ida_dbg.run_to
 
 step_until_ret = ida_dbg.step_until_ret
 
 wait_for_next_event = ida_dbg.wait_for_next_event
 
int WFNE_ANY = 0x0001
 
int WFNE_SUSP = 0x0002
 
int WFNE_SILENT = 0x0004
 
int WFNE_CONT = 0x0008
 
int WFNE_NOWAIT = 0x0010
 
int NOTASK = -2
 
int DBG_ERROR = -1
 
int DBG_TIMEOUT = 0
 
int PROCESS_STARTED = 0x00000001
 
int PROCESS_EXITED = 0x00000002
 
int THREAD_STARTED = 0x00000004
 
int THREAD_EXITED = 0x00000008
 
int BREAKPOINT = 0x00000010
 
int STEP = 0x00000020
 
int EXCEPTION = 0x00000040
 
int LIB_LOADED = 0x00000080
 
int LIB_UNLOADED = 0x00000100
 
int INFORMATION = 0x00000200
 
int PROCESS_ATTACHED = 0x00000400
 
int PROCESS_DETACHED = 0x00000800
 
int PROCESS_SUSPENDED = 0x00001000
 
 refresh_debugger_memory = ida_dbg.refresh_debugger_memory
 
 take_memory_snapshot = ida_segment.take_memory_snapshot
 
 get_process_state = ida_dbg.get_process_state
 
int DSTATE_SUSP = -1
 
int DSTATE_NOTASK = 0
 
int DSTATE_RUN = 1
 
int DSTATE_RUN_WAIT_ATTACH = 2
 
int DSTATE_RUN_WAIT_END = 3
 
 set_debugger_options = ida_dbg.set_debugger_options
 
int DOPT_SEGM_MSGS = 0x00000001
 
int DOPT_START_BPT = 0x00000002
 
int DOPT_THREAD_MSGS = 0x00000004
 
int DOPT_THREAD_BPT = 0x00000008
 
int DOPT_BPT_MSGS = 0x00000010
 
int DOPT_LIB_MSGS = 0x00000040
 
int DOPT_LIB_BPT = 0x00000080
 
int DOPT_INFO_MSGS = 0x00000100
 
int DOPT_INFO_BPT = 0x00000200
 
int DOPT_REAL_MEMORY = 0x00000400
 
int DOPT_REDO_STACK = 0x00000800
 
int DOPT_ENTRY_BPT = 0x00001000
 
int DOPT_EXCDLG = 0x00006000
 
int EXCDLG_NEVER = 0x00000000
 
int EXCDLG_UNKNOWN = 0x00002000
 
int EXCDLG_ALWAYS = 0x00006000
 
int DOPT_LOAD_DINFO = 0x00008000
 
 get_debugger_event_cond = ida_dbg.get_debugger_event_cond
 
 set_debugger_event_cond = ida_dbg.set_debugger_event_cond
 
 set_remote_debugger = ida_dbg.set_remote_debugger
 
 define_exception = ida_dbg.define_exception
 
int EXC_BREAK = 0x0001
 
int EXC_HANDLE = 0x0002
 
 get_reg_value = ida_dbg.get_reg_val
 
 get_bpt_qty = ida_dbg.get_bpt_qty
 
int BPTATTR_EA = 1
 
int BPTATTR_SIZE = 2
 
int BPTATTR_TYPE = 3
 
int BPT_WRITE = 1
 
int BPT_RDWR = 3
 
int BPT_SOFT = 4
 
int BPT_EXEC = 8
 
tuple BPT_DEFAULT = (BPT_SOFT|BPT_EXEC);
 
int BPTATTR_COUNT = 4
 
int BPTATTR_FLAGS = 5
 
int BPT_BRK = 0x001
 
int BPT_TRACE = 0x002
 
int BPT_UPDMEM = 0x004
 
int BPT_ENABLED = 0x008
 
int BPT_LOWCND = 0x010
 
int BPT_TRACEON = 0x020
 
int BPT_TRACE_INSN = 0x040
 
int BPT_TRACE_FUNC = 0x080
 
int BPT_TRACE_BBLK = 0x100
 
int BPTATTR_COND = 6
 
int BPTATTR_PID = 7
 
int BPTATTR_TID = 8
 
int BPLT_ABS = 0
 
int BPLT_REL = 1
 
int BPLT_SYM = 2
 
 add_bpt = ida_dbg.add_bpt
 
 del_bpt = ida_dbg.del_bpt
 
 enable_bpt = ida_dbg.enable_bpt
 
 check_bpt = ida_dbg.check_bpt
 
int BPTCK_NONE = -1
 
int BPTCK_NO = 0
 
int BPTCK_YES = 1
 
int BPTCK_ACT = 2
 
int TRACE_STEP = 0x0
 
int TRACE_INSN = 0x1
 
int TRACE_FUNC = 0x2
 
 get_step_trace_options = ida_dbg.get_step_trace_options
 
 set_step_trace_options = ida_dbg.set_step_trace_options
 
int ST_OVER_DEBUG_SEG = 0x01
 
int ST_OVER_LIB_FUNC = 0x02
 
int ST_ALREADY_LOGGED = 0x04
 
int ST_SKIP_LOOPS = 0x08
 
 load_trace_file = ida_dbg.load_trace_file
 
 save_trace_file = ida_dbg.save_trace_file
 
 is_valid_trace_file = ida_dbg.is_valid_trace_file
 
 diff_trace_file = ida_dbg.diff_trace_file
 
 get_trace_file_desc = ida_dbg.get_trace_file_desc
 
 set_trace_file_desc = ida_dbg.set_trace_file_desc
 
 get_tev_qty = ida_dbg.get_tev_qty
 
 get_tev_ea = ida_dbg.get_tev_ea
 
int TEV_NONE = 0
 
int TEV_INSN = 1
 
int TEV_CALL = 2
 
int TEV_RET = 3
 
int TEV_BPT = 4
 
int TEV_MEM = 5
 
int TEV_EVENT = 6
 
 get_tev_type = ida_dbg.get_tev_type
 
 get_tev_tid = ida_dbg.get_tev_tid
 
 get_tev_reg = ida_dbg.get_tev_reg_val
 
 get_tev_mem_qty = ida_dbg.get_tev_reg_mem_qty
 
 get_tev_mem = ida_dbg.get_tev_reg_mem
 
 get_tev_mem_ea = ida_dbg.get_tev_reg_mem_ea
 
 get_call_tev_callee = ida_dbg.get_call_tev_callee
 
 get_ret_tev_return = ida_dbg.get_ret_tev_return
 
 get_bpt_tev_ea = ida_dbg.get_bpt_tev_ea
 
int CIC_ITEM = 1
 
int CIC_FUNC = 2
 
int CIC_SEGM = 3
 
int DEFCOLOR = 0xFFFFFFFF
 
list ARGV = []
 
str text = ""