Module ida_ida
[frames] | no frames]

Module ida_ida

IDA Plugin SDK API wrapper: ida

Classes
  compiler_info_t
Proxy of C++ compiler_info_t class
  idainfo
Proxy of C++ idainfo class
Functions
bool
is_filetype_like_binary(ft)
Is unstructured input file?
ushort
inf_get_version()
bool
inf_set_version(_v)
ushort
inf_get_genflags()
bool
inf_set_genflags(_v)
bool
inf_is_auto_enabled()
bool
inf_set_auto_enabled(_v=True)
bool
inf_use_allasm()
bool
inf_set_use_allasm(_v=True)
bool
inf_loading_idc()
bool
inf_set_loading_idc(_v=True)
bool
inf_no_store_user_info()
bool
inf_set_no_store_user_info(_v=True)
bool
inf_readonly_idb()
bool
inf_set_readonly_idb(_v=True)
bool
inf_check_manual_ops()
bool
inf_set_check_manual_ops(_v=True)
bool
inf_allow_non_matched_ops()
bool
inf_set_allow_non_matched_ops(_v=True)
bool
inf_is_graph_view()
bool
inf_set_graph_view(_v=True)
uint32
inf_get_lflags()
bool
inf_set_lflags(_v)
bool
inf_decode_fpp()
bool
inf_set_decode_fpp(_v=True)
bool
inf_is_32bit()
bool
inf_set_32bit(_v=True)
bool
inf_is_64bit()
bool
inf_set_64bit(_v=True)
bool
inf_is_dll()
bool
inf_set_dll(_v=True)
bool
inf_is_flat_off32()
bool
inf_set_flat_off32(_v=True)
bool
inf_is_be()
bool
inf_set_be(_v=True)
bool
inf_is_wide_high_byte_first()
bool
inf_set_wide_high_byte_first(_v=True)
bool
inf_dbg_no_store_path()
bool
inf_set_dbg_no_store_path(_v=True)
bool
inf_is_snapshot()
bool
inf_set_snapshot(_v=True)
bool
inf_pack_idb()
bool
inf_set_pack_idb(_v=True)
bool
inf_compress_idb()
bool
inf_set_compress_idb(_v=True)
bool
inf_is_kernel_mode()
bool
inf_set_kernel_mode(_v=True)
uint32
inf_get_database_change_count()
bool
inf_set_database_change_count(_v)
filetype_t
inf_get_filetype()
bool
inf_set_filetype(_v)
ushort
inf_get_ostype()
bool
inf_set_ostype(_v)
ushort
inf_get_apptype()
bool
inf_set_apptype(_v)
uchar
inf_get_asmtype()
bool
inf_set_asmtype(_v)
uchar
inf_get_specsegs()
bool
inf_set_specsegs(_v)
uint32
inf_get_af()
bool
inf_set_af(_v)
bool
inf_trace_flow()
bool
inf_set_trace_flow(_v=True)
bool
inf_mark_code()
bool
inf_set_mark_code(_v=True)
bool
inf_create_jump_tables()
bool
inf_set_create_jump_tables(_v=True)
bool
inf_noflow_to_data()
bool
inf_set_noflow_to_data(_v=True)
bool
inf_create_all_xrefs()
bool
inf_set_create_all_xrefs(_v=True)
bool
inf_del_no_xref_insns()
bool
inf_set_del_no_xref_insns(_v=True)
bool
inf_create_func_from_ptr()
bool
inf_set_create_func_from_ptr(_v=True)
bool
inf_create_func_from_call()
bool
inf_set_create_func_from_call(_v=True)
bool
inf_create_func_tails()
bool
inf_set_create_func_tails(_v=True)
bool
inf_should_create_stkvars()
bool
inf_set_should_create_stkvars(_v=True)
bool
inf_propagate_stkargs()
bool
inf_set_propagate_stkargs(_v=True)
bool
inf_propagate_regargs()
bool
inf_set_propagate_regargs(_v=True)
bool
inf_should_trace_sp()
bool
inf_set_should_trace_sp(_v=True)
bool
inf_full_sp_ana()
bool
inf_set_full_sp_ana(_v=True)
bool
inf_noret_ana()
bool
inf_set_noret_ana(_v=True)
bool
inf_guess_func_type()
bool
inf_set_guess_func_type(_v=True)
bool
inf_truncate_on_del()
bool
inf_set_truncate_on_del(_v=True)
bool
inf_create_strlit_on_xref()
bool
inf_set_create_strlit_on_xref(_v=True)
bool
inf_check_unicode_strlits()
bool
inf_set_check_unicode_strlits(_v=True)
bool
inf_create_off_using_fixup()
bool
inf_set_create_off_using_fixup(_v=True)
bool
inf_create_off_on_dref()
bool
inf_set_create_off_on_dref(_v=True)
bool
inf_op_offset()
bool
inf_set_op_offset(_v=True)
bool
inf_data_offset()
bool
inf_set_data_offset(_v=True)
bool
inf_use_flirt()
bool
inf_set_use_flirt(_v=True)
bool
inf_append_sigcmt()
bool
inf_set_append_sigcmt(_v=True)
bool
inf_allow_sigmulti()
bool
inf_set_allow_sigmulti(_v=True)
bool
inf_hide_libfuncs()
bool
inf_set_hide_libfuncs(_v=True)
bool
inf_rename_jumpfunc()
bool
inf_set_rename_jumpfunc(_v=True)
bool
inf_rename_nullsub()
bool
inf_set_rename_nullsub(_v=True)
bool
inf_coagulate_data()
bool
inf_set_coagulate_data(_v=True)
bool
inf_coagulate_code()
bool
inf_set_coagulate_code(_v=True)
bool
inf_final_pass()
bool
inf_set_final_pass(_v=True)
uint32
inf_get_af2()
bool
inf_set_af2(_v)
bool
inf_handle_eh()
bool
inf_set_handle_eh(_v=True)
bool
inf_handle_rtti()
bool
inf_set_handle_rtti(_v=True)
bool
inf_macros_enabled()
bool
inf_set_macros_enabled(_v=True)
uval_t
inf_get_baseaddr()
bool
inf_set_baseaddr(_v)
sel_t
inf_get_start_ss()
bool
inf_set_start_ss(_v)
sel_t
inf_get_start_cs()
bool
inf_set_start_cs(_v)
ea_t
inf_get_start_ip()
bool
inf_set_start_ip(_v)
ea_t
inf_get_start_ea()
bool
inf_set_start_ea(_v)
ea_t
inf_get_start_sp()
bool
inf_set_start_sp(_v)
ea_t
inf_get_main()
bool
inf_set_main(_v)
ea_t
inf_get_min_ea()
bool
inf_set_min_ea(_v)
ea_t
inf_get_max_ea()
bool
inf_set_max_ea(_v)
ea_t
inf_get_omin_ea()
bool
inf_set_omin_ea(_v)
ea_t
inf_get_omax_ea()
bool
inf_set_omax_ea(_v)
ea_t
inf_get_lowoff()
bool
inf_set_lowoff(_v)
ea_t
inf_get_highoff()
bool
inf_set_highoff(_v)
uval_t
inf_get_maxref()
bool
inf_set_maxref(_v)
sval_t
inf_get_netdelta()
bool
inf_set_netdelta(_v)
uchar
inf_get_xrefnum()
bool
inf_set_xrefnum(_v)
uchar
inf_get_type_xrefnum()
bool
inf_set_type_xrefnum(_v)
uchar
inf_get_refcmtnum()
bool
inf_set_refcmtnum(_v)
uchar
inf_get_xrefflag()
bool
inf_set_xrefflag(_v)
bool
inf_show_xref_seg()
bool
inf_set_show_xref_seg(_v=True)
bool
inf_show_xref_tmarks()
bool
inf_set_show_xref_tmarks(_v=True)
bool
inf_show_xref_fncoff()
bool
inf_set_show_xref_fncoff(_v=True)
bool
inf_show_xref_val()
bool
inf_set_show_xref_val(_v=True)
ushort
inf_get_max_autoname_len()
bool
inf_set_max_autoname_len(_v)
char
inf_get_nametype()
bool
inf_set_nametype(_v)
uint32
inf_get_short_demnames()
bool
inf_set_short_demnames(_v)
uint32
inf_get_long_demnames()
bool
inf_set_long_demnames(_v)
uchar
inf_get_demnames()
bool
inf_set_demnames(_v)
uchar
inf_get_listnames()
bool
inf_set_listnames(_v)
uchar
inf_get_indent()
bool
inf_set_indent(_v)
uchar
inf_get_comment()
bool
inf_set_comment(_v)
ushort
inf_get_margin()
bool
inf_set_margin(_v)
ushort
inf_get_lenxref()
bool
inf_set_lenxref(_v)
uint32
inf_get_outflags()
bool
inf_set_outflags(_v)
bool
inf_show_void()
bool
inf_set_show_void(_v=True)
bool
inf_show_auto()
bool
inf_set_show_auto(_v=True)
bool
inf_gen_null()
bool
inf_set_gen_null(_v=True)
bool
inf_show_line_pref()
bool
inf_set_show_line_pref(_v=True)
bool
inf_line_pref_with_seg()
bool
inf_set_line_pref_with_seg(_v=True)
bool
inf_gen_lzero()
bool
inf_set_gen_lzero(_v=True)
bool
inf_gen_org()
bool
inf_set_gen_org(_v=True)
bool
inf_gen_assume()
bool
inf_set_gen_assume(_v=True)
bool
inf_gen_tryblks()
bool
inf_set_gen_tryblks(_v=True)
uchar
inf_get_cmtflg()
bool
inf_set_cmtflg(_v)
bool
inf_show_repeatables()
bool
inf_set_show_repeatables(_v=True)
bool
inf_show_all_comments()
bool
inf_set_show_all_comments(_v=True)
bool
inf_hide_comments()
bool
inf_set_hide_comments(_v=True)
bool
inf_show_src_linnum()
bool
inf_set_show_src_linnum(_v=True)
bool
inf_test_mode()
bool
inf_set_test_mode(_v=True)
bool
inf_show_hidden_insns()
bool
inf_set_show_hidden_insns(_v=True)
bool
inf_show_hidden_funcs()
bool
inf_set_show_hidden_funcs(_v=True)
bool
inf_show_hidden_segms()
bool
inf_set_show_hidden_segms(_v=True)
uchar
inf_get_limiter()
bool
inf_set_limiter(_v)
bool
inf_is_limiter_thin()
bool
inf_set_limiter_thin(_v=True)
bool
inf_is_limiter_thick()
bool
inf_set_limiter_thick(_v=True)
bool
inf_is_limiter_empty()
bool
inf_set_limiter_empty(_v=True)
short
inf_get_bin_prefix_size()
bool
inf_set_bin_prefix_size(_v)
uchar
inf_get_prefflag()
bool
inf_set_prefflag(_v)
bool
inf_prefix_show_segaddr()
bool
inf_set_prefix_show_segaddr(_v=True)
bool
inf_prefix_show_funcoff()
bool
inf_set_prefix_show_funcoff(_v=True)
bool
inf_prefix_show_stack()
bool
inf_set_prefix_show_stack(_v=True)
uchar
inf_get_strlit_flags()
bool
inf_set_strlit_flags(_v)
bool
inf_strlit_names()
bool
inf_set_strlit_names(_v=True)
bool
inf_strlit_name_bit()
bool
inf_set_strlit_name_bit(_v=True)
bool
inf_strlit_serial_names()
bool
inf_set_strlit_serial_names(_v=True)
bool
inf_unicode_strlits()
bool
inf_set_unicode_strlits(_v=True)
bool
inf_strlit_autocmt()
bool
inf_set_strlit_autocmt(_v=True)
bool
inf_strlit_savecase()
bool
inf_set_strlit_savecase(_v=True)
uchar
inf_get_strlit_break()
bool
inf_set_strlit_break(_v)
char
inf_get_strlit_zeroes()
bool
inf_set_strlit_zeroes(_v)
int32
inf_get_strtype()
bool
inf_set_strtype(_v)
uval_t
inf_get_strlit_sernum()
bool
inf_set_strlit_sernum(_v)
uval_t
inf_get_datatypes()
bool
inf_set_datatypes(_v)
uint32
inf_get_abibits()
bool
inf_set_abibits(_v)
bool
inf_is_mem_aligned4()
bool
inf_set_mem_aligned4(_v=True)
bool
inf_pack_stkargs()
bool
inf_set_pack_stkargs(_v=True)
bool
inf_big_arg_align()
bool
inf_set_big_arg_align(_v=True)
bool
inf_stack_ldbl()
bool
inf_set_stack_ldbl(_v=True)
bool
inf_stack_varargs()
bool
inf_set_stack_varargs(_v=True)
bool
inf_is_hard_float()
bool
inf_set_hard_float(_v=True)
bool
inf_abi_set_by_user()
bool
inf_set_abi_set_by_user(_v=True)
bool
inf_use_gcc_layout()
bool
inf_set_use_gcc_layout(_v=True)
bool
inf_map_stkargs()
bool
inf_set_map_stkargs(_v=True)
uint32
inf_get_appcall_options()
bool
inf_set_appcall_options(_v)
ea_t
inf_get_privrange_start_ea()
bool
inf_set_privrange_start_ea(_v)
ea_t
inf_get_privrange_end_ea()
bool
inf_set_privrange_end_ea(_v)
comp_t
inf_get_cc_id()
bool
inf_set_cc_id(_v)
cm_t
inf_get_cc_cm()
bool
inf_set_cc_cm(_v)
uchar
inf_get_cc_size_i()
bool
inf_set_cc_size_i(_v)
uchar
inf_get_cc_size_b()
bool
inf_set_cc_size_b(_v)
uchar
inf_get_cc_size_e()
bool
inf_set_cc_size_e(_v)
uchar
inf_get_cc_defalign()
bool
inf_set_cc_defalign(_v)
uchar
inf_get_cc_size_s()
bool
inf_set_cc_size_s(_v)
uchar
inf_get_cc_size_l()
bool
inf_set_cc_size_l(_v)
uchar
inf_get_cc_size_ll()
bool
inf_set_cc_size_ll(_v)
uchar
inf_get_cc_size_ldbl()
bool
inf_set_cc_size_ldbl(_v)
bool
inf_get_procname()
bool
inf_set_procname(_v, len=size_t(-1))
bool
inf_get_strlit_pref()
bool
inf_set_strlit_pref(_v, len=size_t(-1))
bool
inf_get_cc(out)
bool
inf_set_cc(_v)
bool
inf_set_privrange(_v)
bool
inf_get_privrange(out)
inf_get_privrange() -> range_t
ushort
inf_get_af_low()
Get/set low/high 16bit halves of inf.af.
 
inf_set_af_low(saf)
ushort
inf_get_af_high()
 
inf_set_af_high(saf2)
ushort
inf_get_af2_low()
Get/set low 16bit half of inf.af2.
 
inf_set_af2_low(saf)
int
inf_get_pack_mode()
int
inf_set_pack_mode(pack_mode)
 
inf_inc_database_change_count(cnt=1)
uchar
inf_get_demname_form()
Get 'DEMNAM_MASK' bits of #demnames.
uval_t
inf_postinc_strlit_sernum(cnt=1)
bool
inf_like_binary()
int
calc_default_idaplace_flags()
Get default disassembly line options.
ea_t
to_ea(reg_cs, reg_ip)
Convert (seg,off) value to a linear address.
bool
idainfo_big_arg_align()
bool
idainfo_gen_null()
bool
idainfo_set_gen_null(_v=True)
bool
idainfo_gen_lzero()
bool
idainfo_set_gen_lzero(_v=True)
bool
idainfo_gen_tryblks()
bool
idainfo_set_gen_tryblks(_v=True)
uchar
idainfo_get_demname_form()
Get 'DEMNAM_MASK' bits of #demnames.
int
idainfo_get_pack_mode()
int
idainfo_set_pack_mode(pack_mode)
bool
idainfo_is_32bit()
bool
idainfo_is_64bit()
bool
idainfo_set_64bit(_v=True)
bool
idainfo_is_auto_enabled()
bool
idainfo_set_auto_enabled(_v=True)
bool
idainfo_is_be()
bool
idainfo_set_be(_v=True)
bool
idainfo_is_dll()
bool
idainfo_is_flat_off32()
bool
idainfo_is_graph_view()
bool
idainfo_set_graph_view(_v=True)
bool
idainfo_is_hard_float()
bool
idainfo_is_kernel_mode()
bool
idainfo_is_mem_aligned4()
bool
idainfo_is_snapshot()
bool
idainfo_is_wide_high_byte_first()
bool
idainfo_set_wide_high_byte_first(_v=True)
bool
idainfo_like_binary()
bool
idainfo_line_pref_with_seg()
bool
idainfo_set_line_pref_with_seg(_v=True)
bool
idainfo_show_auto()
bool
idainfo_set_show_auto(_v=True)
bool
idainfo_show_line_pref()
bool
idainfo_set_show_line_pref(_v=True)
bool
idainfo_show_void()
bool
idainfo_set_show_void(_v=True)
bool
idainfo_loading_idc()
bool
idainfo_map_stkargs()
bool
idainfo_pack_stkargs()
bool
idainfo_readonly_idb()
 
idainfo_set_store_user_info(*args)
bool
idainfo_stack_ldbl()
bool
idainfo_stack_varargs()
bool
idainfo_use_allasm()
bool
idainfo_use_gcc_layout()
bool
macros_enabled()
bool
should_create_stkvars()
bool
should_trace_sp()
bool
show_all_comments()
 
show_comments(*args)
bool
show_repeatables()
Variables
  f_EXE_old = 0
  f_COM_old = 1
  f_BIN = 2
  f_DRV = 3
  f_WIN = 4
  f_HEX = 5
  f_MEX = 6
  f_LX = 7
  f_LE = 8
  f_NLM = 9
  f_COFF = 10
  f_PE = 11
  f_OMF = 12
  f_SREC = 13
  f_ZIP = 14
  f_OMFLIB = 15
  f_AR = 16
  f_LOADER = 17
  f_ELF = 18
  f_W32RUN = 19
  f_AOUT = 20
  f_PRC = 21
  f_EXE = 22
  f_COM = 23
  f_AIXAR = 24
  f_MACHO = 25
  STT_CUR = -1
  STT_VA = 0
  STT_MM = 1
  STT_DBG = 2
  IDAINFO_TAG_SIZE = 3
The database parameters.
  IDAINFO_PROCNAME_SIZE = 16
  IDAINFO_STRLIT_PREF_SIZE = 16
  INFFL_AUTO = 1
Autoanalysis is enabled?
  INFFL_ALLASM = 2
the target assembler
  INFFL_LOADIDC = 4
loading an idc file that contains database info
  INFFL_NOUSER = 8
do not store user info in the database
  INFFL_READONLY = 16
(internal) temporary interdiction to modify the database
  INFFL_CHKOPS = 32
check manual operands? (unused)
  INFFL_NMOPS = 64
allow non-matched operands? (unused)
  INFFL_GRAPH_VIEW = 128
currently using graph options (\dto{graph})
  LFLG_PC_FPP = 1
decode floating point processor instructions?
  LFLG_PC_FLAT = 2
32-bit program?
  LFLG_64BIT = 4
64-bit program?
  LFLG_IS_DLL = 8
Is dynamic library?
  LFLG_FLAT_OFF32 = 16
treat 'REF_OFF32' as 32-bit offset for 16bit segments (otherwise try SEG16:OFF16)
  LFLG_MSF = 32
Byte order: is MSB first?
  LFLG_WIDE_HBF = 64
(wide bytes: \ph{dnbits} > 8)
  LFLG_DBG_NOPATH = 128
do not store input full path in debugger process options
  LFLG_SNAPSHOT = 256
memory snapshot was taken?
  LFLG_PACK = 512
pack the database?
  LFLG_COMPRESS = 1024
compress the database?
  LFLG_KERNMODE = 2048
is kernel mode binary?
  IDB_UNPACKED = 0
leave database components unpacked
  IDB_PACKED = 1
pack database components into .idb
  IDB_COMPRESSED = 2
compress & pack database components
  AF_CODE = 1
Trace execution flow.
  AF_MARKCODE = 2
Mark typical code sequences as code.
  AF_JUMPTBL = 4
Locate and create jump tables.
  AF_PURDAT = 8
Control flow to data segment is ignored.
  AF_USED = 16
Analyze and create all xrefs.
  AF_UNK = 32
Delete instructions with no xrefs.
  AF_PROCPTR = 64
Create function if data xref data->code32 exists.
  AF_PROC = 128
Create functions if call is present.
  AF_FTAIL = 256
Create function tails.
  AF_LVAR = 512
Create stack variables.
  AF_STKARG = 1024
Propagate stack argument information.
  AF_REGARG = 2048
Propagate register argument information.
  AF_TRACE = 4096
Trace stack pointer.
  AF_VERSP = 8192
Perform full SP-analysis.
  AF_ANORET = 16384
Perform 'no-return' analysis.
  AF_MEMFUNC = 32768
Try to guess member function types.
  AF_TRFUNC = 65536
Truncate functions upon code deletion.
  AF_STRLIT = 131072
Create string literal if data xref exists.
  AF_CHKUNI = 262144
Check for unicode strings.
  AF_FIXUP = 524288
Create offsets and segments using fixup info.
  AF_DREFOFF = 1048576
Create offset if data xref to seg32 exists.
  AF_IMMOFF = 2097152
Convert 32bit instruction operand to offset.
  AF_DATOFF = 4194304
Automatically convert data to offsets.
  AF_FLIRT = 8388608
Use flirt signatures.
  AF_SIGCMT = 16777216
Append a signature name comment for recognized anonymous library functions.
  AF_SIGMLT = 33554432
Allow recognition of several copies of the same function.
  AF_HFLIRT = 67108864
Automatically hide library functions.
  AF_JFUNC = 134217728
Rename jump functions as j_...
  AF_NULLSUB = 268435456
Rename empty functions as nullsub_...
  AF_DODATA = 536870912
Coagulate data segs at the final pass.
  AF_DOCODE = 1073741824
Coagulate code segs at the final pass.
  AF_FINAL = -2147483648
Final pass of analysis.
  AF2_DOEH = 1
Handle EH information.
  AF2_DORTTI = 2
Handle RTTI information.
  AF2_MACRO = 4
Try to combine several instructions into a macro instruction
  SW_SEGXRF = 1
show segments in xrefs?
  SW_XRFMRK = 2
show xref type marks?
  SW_XRFFNC = 4
show function offsets?
  SW_XRFVAL = 8
show xref values? (otherwise-"...")
  NM_REL_OFF = 0
  NM_PTR_OFF = 1
  NM_NAM_OFF = 2
  NM_REL_EA = 3
  NM_PTR_EA = 4
  NM_NAM_EA = 5
  NM_EA = 6
  NM_EA4 = 7
  NM_EA8 = 8
  NM_SHORT = 9
  NM_SERIAL = 10
  DEMNAM_MASK = 3
mask for name form
  DEMNAM_CMNT = 0
display demangled names as comments
  DEMNAM_NAME = 1
display demangled names as regular names
  DEMNAM_NONE = 2
don't display demangled names
  DEMNAM_GCC3 = 4
assume gcc3 names (valid for gnu compiler)
  DEMNAM_FIRST = 8
override type info
  LN_NORMAL = 1
include normal names
  LN_PUBLIC = 2
include public names
  LN_AUTO = 4
include autogenerated names
  LN_WEAK = 8
include weak names
  OFLG_SHOW_VOID = 2
Display void marks?
  OFLG_SHOW_AUTO = 4
Display autoanalysis indicator?
  OFLG_GEN_NULL = 16
Generate empty lines?
  OFLG_SHOW_PREF = 32
Show line prefixes?
  OFLG_PREF_SEG = 64
line prefixes with segment name?
  OFLG_LZERO = 128
generate leading zeroes in numbers
  OFLG_GEN_ORG = 256
Generate 'org' directives?
  OFLG_GEN_ASSUME = 512
Generate 'assume' directives?
  OFLG_GEN_TRYBLKS = 1024
Generate try/catch directives?
  SCF_RPTCMT = 1
show repeatable comments?
  SCF_ALLCMT = 2
comment all lines?
  SCF_NOCMT = 4
no comments at all
  SCF_LINNUM = 8
show source line numbers
  SCF_TESTMODE = 16
testida.idc is running
  SCF_SHHID_ITEM = 32
show hidden instructions
  SCF_SHHID_FUNC = 64
show hidden functions
  SCF_SHHID_SEGM = 128
show hidden segments
  LMT_THIN = 1
thin borders
  LMT_THICK = 2
thick borders
  LMT_EMPTY = 4
empty lines at the end of basic blocks
  PREF_SEGADR = 1
show segment addresses?
  PREF_FNCOFF = 2
show function offsets?
  PREF_STACK = 4
show stack pointer?
  STRF_GEN = 1
generate names?
  STRF_AUTO = 2
names have 'autogenerated' bit?
  STRF_SERIAL = 4
generate serial names?
  STRF_UNICODE = 8
unicode strings are present?
  STRF_COMMENT = 16
generate auto comment for string references?
  STRF_SAVECASE = 32
preserve case of strings for identifiers
  ABI_8ALIGN4 = 1
4 byte alignment for 8byte scalars (__int64/double) inside structures?
  ABI_PACK_STKARGS = 2
do not align stack arguments to stack slots
  ABI_BIGARG_ALIGN = 4
(e.g.
  ABI_STACK_LDBL = 8
long double arguments are passed on stack
  ABI_STACK_VARARGS = 16
varargs are always passed on stack (even when there are free registers)
  ABI_HARD_FLOAT = 32
use the floating-point register set
  ABI_SET_BY_USER = 64
compiler/abi were set by user flag and require SETCOMP_BY_USER flag to be changed
  ABI_GCC_LAYOUT = 128
use gcc layout for udts (used for mingw)
  ABI_MAP_STKARGS = 256
register arguments are mapped to stack area (and consume stack slots)
  INF_VERSION = 0
  INF_PROCNAME = 1
  INF_GENFLAGS = 2
  INF_LFLAGS = 3
  INF_DATABASE_CHANGE_COUNT = 4
  INF_FILETYPE = 5
  INF_OSTYPE = 6
  INF_APPTYPE = 7
  INF_ASMTYPE = 8
  INF_SPECSEGS = 9
  INF_AF = 10
  INF_AF2 = 11
  INF_BASEADDR = 12
  INF_START_SS = 13
  INF_START_CS = 14
  INF_START_IP = 15
  INF_START_EA = 16
  INF_START_SP = 17
  INF_MAIN = 18
  INF_MIN_EA = 19
  INF_MAX_EA = 20
  INF_OMIN_EA = 21
  INF_OMAX_EA = 22
  INF_LOWOFF = 23
  INF_HIGHOFF = 24
  INF_MAXREF = 25
  INF_PRIVRANGE = 26
  INF_PRIVRANGE_START_EA = 27
  INF_PRIVRANGE_END_EA = 28
  INF_NETDELTA = 29
  INF_XREFNUM = 30
  INF_TYPE_XREFNUM = 31
  INF_REFCMTNUM = 32
  INF_XREFFLAG = 33
  INF_MAX_AUTONAME_LEN = 34
  INF_NAMETYPE = 35
  INF_SHORT_DEMNAMES = 36
  INF_LONG_DEMNAMES = 37
  INF_DEMNAMES = 38
  INF_LISTNAMES = 39
  INF_INDENT = 40
  INF_COMMENT = 41
  INF_MARGIN = 42
  INF_LENXREF = 43
  INF_OUTFLAGS = 44
  INF_CMTFLG = 45
  INF_LIMITER = 46
  INF_BIN_PREFIX_SIZE = 47
  INF_PREFFLAG = 48
  INF_STRLIT_FLAGS = 49
  INF_STRLIT_BREAK = 50
  INF_STRLIT_ZEROES = 51
  INF_STRTYPE = 52
  INF_STRLIT_PREF = 53
  INF_STRLIT_SERNUM = 54
  INF_DATATYPES = 55
  INF_CC = 56
  INF_CC_ID = 57
  INF_CC_CM = 58
  INF_CC_SIZE_I = 59
  INF_CC_SIZE_B = 60
  INF_CC_SIZE_E = 61
  INF_CC_DEFALIGN = 62
  INF_CC_SIZE_S = 63
  INF_CC_SIZE_L = 64
  INF_CC_SIZE_LL = 65
  INF_CC_SIZE_LDBL = 66
  INF_ABIBITS = 67
  INF_APPCALL_OPTIONS = 68
  INF_LAST = 69
  UA_MAXOP = 8
max number of operands allowed for an instruction
  MAXADDR = 4278190080
  IDB_EXT32 = 'idb'
  IDB_EXT64 = 'i64'
  IDB_EXT = 'idb'
  SW_RPTCMT = 1
  SW_ALLCMT = 2
  SW_NOCMT = 4
  SW_LINNUM = 8
  SW_TESTMODE = 16
  SW_SHHID_ITEM = 32
  SW_SHHID_FUNC = 64
  SW_SHHID_SEGM = 128
  cvar = _ida_ida.cvar
  __package__ = None
Function Details

is_filetype_like_binary(ft)

 

Is unstructured input file?

Parameters:
  • ft, (C++ - filetype_t)
Returns: bool

to_ea(reg_cs, reg_ip)

 

Convert (seg,off) value to a linear address.

Parameters:
  • reg_cs, (C++ - sel_t)
  • reg_ip, (C++ - ea_t)
Returns: ea_t

Variables Details

IDAINFO_TAG_SIZE

The database parameters. This structure is kept in the ida database. It contains the essential parameters for the current program

Value:
3

INFFL_ALLASM

the target assembler

may use constructs not supported by

Value:
2

LFLG_WIDE_HBF

(wide bytes: \ph{dnbits} > 8)

Bit order of wide bytes: high byte first?

Value:
64

AF_VERSP

Perform full SP-analysis. (\ph{verify_sp})

Value:
8192

ABI_BIGARG_ALIGN

(e.g. __int64 argument should be 8byte aligned on some 32bit platforms)

use natural type alignment for argument if the alignment exceeds native word size

Value:
4