Module ida_nalt
Each address in the program has a corresponding netnode: netnode(ea).
If we have no information about an address, the corresponding netnode is not created. Otherwise we will create a netnode and save information in it. All variable length information (names, comments, offset information, etc) is stored in the netnode.
Don't forget that some information is already stored in the flags (bytes.hpp)
@warning: Many of the functions in this file are very low level (they are marked as low level functions). Use them only if you can't find higher level function to set/get/del information.netnode.
Global Variables
AFL_ALIGNFLOW
AFL_BNOT0
AFL_BNOT1
AFL_COLORED
AFL_FIXEDSPD
AFL_HIDDEN
AFL_HR_DETERMINED
AFL_HR_GUESSED_DATA
AFL_HR_GUESSED_FUNC
AFL_IDA_GUESSED
AFL_LIB
AFL_LINNUM
AFL_LNAME
AFL_LZERO0
AFL_LZERO1
AFL_MANUAL
AFL_NOBRD
AFL_NORET
AFL_NOTCODE
AFL_NOTPROC
AFL_PUBNAM
AFL_RETFP
AFL_SIGN0
AFL_SIGN1
AFL_TERSESTR
AFL_TI
AFL_TI0
AFL_TI1
AFL_TILCMT
AFL_TYPE_GUESSED
AFL_USEMODSP
AFL_USERSP
AFL_USERTI
AFL_WEAKNAM
AFL_ZSTROFF
AP_ALLOWDUPS
AP_ARRAY
AP_IDXBASEMASK
AP_IDXBIN
AP_IDXDEC
AP_IDXHEX
AP_IDXOCT
AP_INDEX
AP_SIGNED
BPU_1B
BPU_2B
BPU_4B
IDB_DESKTOPS_NODE_NAME
IDB_DESKTOPS_TAG
MAXSTRUCPATH
NALT_ABSBASE
NALT_AFLAGS
NALT_ALIGN
NALT_COLOR
NALT_CREF_FROM
NALT_CREF_TO
NALT_DREF_FROM
NALT_DREF_TO
NALT_ENUM0
NALT_ENUM1
NALT_GR_LAYX
NALT_LINNUM
NALT_PURGE
NALT_STRTYPE
NALT_STRUCT
NALT_SWITCH
NSUP_ARGEAS
NSUP_ARRAY
NSUP_CMT
NSUP_CUSTDT
NSUP_EX_FLAGS
NSUP_FOP1
NSUP_FOP2
NSUP_FOP3
NSUP_FOP4
NSUP_FOP5
NSUP_FOP6
NSUP_FOP7
NSUP_FOP8
NSUP_FRAME
NSUP_FTAILS
NSUP_GROUP
NSUP_GROUPS
NSUP_GR_INFO
NSUP_GR_LAYT
NSUP_JINFO
NSUP_LLABEL
NSUP_MANUAL
NSUP_OMFGRP
NSUP_OPTYPES
NSUP_OREF0
NSUP_OREF1
NSUP_OREF2
NSUP_OREF3
NSUP_OREF4
NSUP_OREF5
NSUP_OREF6
NSUP_OREF7
NSUP_ORIGFMD
NSUP_POINTS
NSUP_REF0
NSUP_REF1
NSUP_REF2
NSUP_REF3
NSUP_REF4
NSUP_REF5
NSUP_REF6
NSUP_REF7
NSUP_REGARG
NSUP_REGVAR
NSUP_REPCMT
NSUP_SEGTRANS
NSUP_STROFF0
NSUP_STROFF1
NSUP_SWITCH
NSUP_TYPEINFO
NSUP_XREFPOS
PATCH_TAG
POF_IS_F64
POF_VALID_AFLAGS
POF_VALID_TI
REFINFO_CUSTOM
REFINFO_NOBASE
REFINFO_NO_ONES
REFINFO_NO_ZEROS
REFINFO_PASTEND
REFINFO_RVAOFF
REFINFO_SELFREF
REFINFO_SIGNEDOP
REFINFO_SUBTRACT
REFINFO_TYPE
REF_HIGH16
REF_HIGH8
REF_LAST
REF_LOW16
REF_LOW8
REF_OFF16
REF_OFF32
REF_OFF64
REF_OFF8
RIDX_ABINAME
RIDX_ARCHIVE_PATH
RIDX_C_MACROS
RIDX_DBG_BINPATHS
RIDX_DUALOP_GRAPH
RIDX_DUALOP_TEXT
RIDX_FILE_FORMAT_NAME
RIDX_GROUPS
RIDX_H_PATH
RIDX_IDA_VERSION
RIDX_INCLUDE
RIDX_MD5
RIDX_NOTEPAD
RIDX_PROBLEMS
RIDX_SELECTORS
RIDX_SHA256
RIDX_SMALL_IDC
RIDX_SMALL_IDC_OLD
RIDX_SRCDBG_PATHS
RIDX_SRCDBG_UNDESIRED
RIDX_STR_ENCODINGS
STRENC_DEFAULT
STRENC_NONE
STRLYT_MASK
STRLYT_PASCAL1
STRLYT_PASCAL2
STRLYT_PASCAL4
STRLYT_SHIFT
STRLYT_TERMCHR
STRTYPE_C
STRTYPE_C_16
STRTYPE_C_32
STRTYPE_LEN2
STRTYPE_LEN2_16
STRTYPE_LEN2_32
STRTYPE_LEN4
STRTYPE_LEN4_16
STRTYPE_LEN4_32
STRTYPE_PASCAL
STRTYPE_PASCAL_16
STRTYPE_PASCAL_32
STRTYPE_TERMCHR
STRWIDTH_1B
STRWIDTH_2B
STRWIDTH_4B
STRWIDTH_MASK
SWI_CUSTOM
SWI_DEFRET
SWI_DEF_IN_TBL
SWI_ELBASE
SWI_HXNOLOWCASE
SWI_INDIRECT
SWI_J32
SWI_JMPINSN
SWI_JMP_INV
SWI_JSIZE
SWI_SELFREL
SWI_SEPARATE
SWI_SHIFT_MASK
SWI_SIGNED
SWI_SPARSE
SWI_STDTBL
SWI_SUBTRACT
SWI_USER
SWI_V32
SWI_VERSION
SWI_VSIZE
SWI_VSPLIT
V695_REF_OFF8
V695_REF_VHIGH
V695_REF_VLOW
Functions
add_encoding(encname: char const *) ‑> int
add_encoding(encname) -> int Add a new encoding (e.g. "UTF-8"). If it's already in the list, return its index.
clr__bnot0(ea: ea_t) ‑> void
clr__bnot0(ea)
clr__bnot1(ea: ea_t) ‑> void
clr__bnot1(ea)
clr__invsign0(ea: ea_t) ‑> void
clr__invsign0(ea)
clr__invsign1(ea: ea_t) ‑> void
clr__invsign1(ea)
clr_abits(ea: ea_t, bits: aflags_t) ‑> void
clr_abits(ea, bits)
clr_align_flow(ea: ea_t) ‑> void
clr_align_flow(ea)
clr_colored_item(ea: ea_t) ‑> void
clr_colored_item(ea)
clr_fixed_spd(ea: ea_t) ‑> void
clr_fixed_spd(ea)
clr_has_lname(ea: ea_t) ‑> void
clr_has_lname(ea)
clr_has_ti(ea: ea_t) ‑> void
clr_has_ti(ea)
clr_has_ti0(ea: ea_t) ‑> void
clr_has_ti0(ea)
clr_has_ti1(ea: ea_t) ‑> void
clr_has_ti1(ea)
clr_libitem(ea: ea_t) ‑> void
clr_libitem(ea)
clr_lzero0(ea: ea_t) ‑> void
clr_lzero0(ea)
clr_lzero1(ea: ea_t) ‑> void
clr_lzero1(ea)
clr_noret(ea: ea_t) ‑> void
clr_noret(ea)
clr_notcode(ea: ea_t) ‑> void
clr_notcode(ea) Clear not-code mark.
clr_notproc(ea: ea_t) ‑> void
clr_notproc(ea)
clr_retfp(ea: ea_t) ‑> void
clr_retfp(ea)
clr_terse_struc(ea: ea_t) ‑> void
clr_terse_struc(ea)
clr_tilcmt(ea: ea_t) ‑> void
clr_tilcmt(ea)
clr_usemodsp(ea: ea_t) ‑> void
clr_usemodsp(ea)
clr_usersp(ea: ea_t) ‑> void
clr_usersp(ea)
clr_userti(ea: ea_t) ‑> void
clr_userti(ea)
clr_zstroff(ea: ea_t) ‑> void
clr_zstroff(ea)
dbg_get_input_path() ‑> size_t
dbg_get_input_path() -> str Get debugger input file name/path (see LFLG_DBG_NOPATH)
del_absbase(ea: ea_t) ‑> void
del_absbase(ea)
del_aflags(ea: ea_t) ‑> void
del_aflags(ea)
del_alignment(ea: ea_t) ‑> void
del_alignment(ea)
del_array_parameters(ea: ea_t) ‑> void
del_array_parameters(ea)
del_custom_data_type_ids(ea: ea_t) ‑> void
del_custom_data_type_ids(ea)
del_encoding(idx: int) ‑> bool
del_encoding(idx) -> bool Delete an encoding The encoding is not actually removed because its index may be used in strtype. So the deletion just clears the encoding name. The default encoding cannot be deleted.
del_ind_purged(ea: ea_t) ‑> void
del_ind_purged(ea)
del_item_color(ea: ea_t) ‑> bool
del_item_color(ea) -> bool
del_op_tinfo(ea: ea_t, n: int) ‑> void
del_op_tinfo(ea, n)
del_refinfo(ea: ea_t, n: int) ‑> bool
del_refinfo(ea, n) -> bool
del_source_linnum(ea: ea_t) ‑> void
del_source_linnum(ea)
del_str_type(ea: ea_t) ‑> void
del_str_type(ea)
del_switch_info(ea: ea_t) ‑> void
del_switch_info(ea)
del_switch_parent(ea: ea_t) ‑> void
del_switch_parent(ea)
del_tinfo(ea: ea_t) ‑> void
del_tinfo(ea)
delete_imports() ‑> void
delete_imports() Delete all imported modules information.
ea2node(ea: ea_t) ‑> nodeidx_t
ea2node(ea) -> nodeidx_t Get netnode for the specified address.
encoding_from_strtype(strtype: int32) ‑> char const *
encoding_from_strtype(strtype) -> char const * Get encoding name for this strtype retval nullptr: if STRTYPE has an incorrect encoding index retval empty: string if the encoding was deleted
end_ea2node(ea: ea_t) ‑> nodeidx_t
end_ea2node(ea) -> nodeidx_t
enum_import_names(mod_index: int, py_cb: PyObject *) ‑> int
enum_import_names(mod_index, py_cb) -> int Enumerate imports from a specific module. Please refer to list_imports.py example.
find_custom_refinfo(name: char const *) ‑> int
find_custom_refinfo(name) -> int Get id of a custom refinfo type.
get_abi_name()
get_absbase(ea: ea_t) ‑> ea_t
get_absbase(ea) -> ea_t
get_aflags(ea: ea_t) ‑> aflags_t
get_aflags(ea) -> aflags_t
get_alignment(ea: ea_t) ‑> uint32
get_alignment(ea) -> uint32
get_archive_path() ‑> qstring *
get_archive_path() -> str Get archive file path from which input file was extracted.
get_array_parameters(out: array_parameters_t, ea: ea_t) ‑> ssize_t
get_array_parameters(out, ea) -> ssize_t
get_asm_inc_file() ‑> qstring *
get_asm_inc_file() -> str Get name of the include file.
get_custom_data_type_ids(cdis: custom_data_type_ids_t, ea: ea_t) ‑> int
get_custom_data_type_ids(cdis, ea) -> int
get_custom_refinfo(crid: int) ‑> custom_refinfo_handler_t const *
get_custom_refinfo(crid) -> custom_refinfo_handler_t const * Get definition of a registered custom refinfo type.
get_default_encoding_idx(bpu: int) ‑> int
get_default_encoding_idx(bpu) -> int Get default encoding index for a specific string type.
get_elapsed_secs() ‑> size_t
get_elapsed_secs() -> size_t Get seconds database stayed open.
get_encoding_bpu(idx: int) ‑> int
get_encoding_bpu(idx) -> int Get the amount of bytes per unit (e.g., 2 for UTF-16, 4 for UTF-32) for the encoding with the given index.
get_encoding_bpu_by_name(encname: char const *) ‑> int
get_encoding_bpu_by_name(encname) -> int Get the amount of bytes per unit for the given encoding
get_encoding_name(idx: int) ‑> char const *
get_encoding_name(idx) -> char const * Get encoding name for specific index (1-based).
get_encoding_qty() ‑> int
get_encoding_qty() -> int Get total number of encodings (counted from 0)
get_gotea() ‑> ea_t
get_gotea() -> ea_t
get_ida_notepad_text() ‑> qstring *
get_ida_notepad_text() -> str Get notepad text.
get_idb_ctime() ‑> time_t
get_idb_ctime() -> time_t Get database creation timestamp.
get_idb_nopens() ‑> size_t
get_idb_nopens() -> size_t Get number of times the database is opened.
get_ids_modnode() ‑> netnode
get_ids_modnode() -> netnode Get ids modnode.
get_imagebase() ‑> ea_t
get_imagebase() -> ea_t Get image base address.
get_import_module_name(mod_index: int) ‑> PyObject *
get_import_module_name(mod_index) -> str Returns the name of an imported module given its index
get_import_module_qty() ‑> uint
get_import_module_qty() -> uint Get number of import modules.
get_ind_purged(ea: ea_t) ‑> ea_t
get_ind_purged(ea) -> ea_t
get_initial_ida_version() ‑> qstring *
get_initial_ida_version() -> str Get version of ida which created the database (string format like "7.5")
get_initial_idb_version() ‑> ushort
get_initial_idb_version() -> ushort Get initial version of the database (numeric format like 700)
get_initial_version() ‑> ushort
get_initial_idb_version() -> ushort Get initial version of the database (numeric format like 700)
get_input_file_path() ‑> size_t
get_input_file_path() -> str Get full path of the input file.
get_item_color(ea: ea_t) ‑> bgcolor_t
get_item_color(ea) -> bgcolor_t
get_loader_format_name() ‑> qstring *
get_loader_format_name() -> str Get file format name for loader modules.
get_op_tinfo(tif: tinfo_t, ea: ea_t, n: int) ‑> bool
get_op_tinfo(tif, ea, n) -> bool
get_outfile_encoding_idx() ‑> int
get_outfile_encoding_idx() -> int Get the index of the encoding used when producing files retval 0: the IDB's default 1 byte-per-unit encoding is used
get_refinfo(ri: refinfo_t, ea: ea_t, n: int) ‑> bool
get_refinfo(ri, ea, n) -> bool
get_reftype_by_size(size: size_t) ‑> reftype_t
get_reftype_by_size(size) -> reftype_t Get REF_... constant from size Supported sizes: 1,2,4,8,16 For other sizes returns reftype_t(-1)
get_root_filename() ‑> size_t
get_root_filename() -> str Get file name only of the input file.
get_source_linnum(ea: ea_t) ‑> uval_t
get_source_linnum(ea) -> uval_t
get_srcdbg_paths() ‑> qstring *
get_srcdbg_paths() -> str Get source debug paths.
get_srcdbg_undesired_paths() ‑> qstring *
get_srcdbg_undesired_paths() -> str Get user-closed source files.
get_str_encoding_idx(strtype: int32) ‑> uchar
get_str_encoding_idx(strtype) -> uchar Get index of the string encoding for this string.
get_str_term1(strtype: int32) ‑> char
get_str_term1(strtype) -> char
get_str_term2(strtype: int32) ‑> char
get_str_term2(strtype) -> char
get_str_type(ea: ea_t) ‑> uint32
get_str_type(ea) -> uint32
get_str_type_code(strtype: int32) ‑> uchar
get_str_type_code(strtype) -> uchar
get_str_type_prefix_length(strtype: int32) ‑> size_t
get_str_type_prefix_length(strtype) -> size_t
get_strid(ea: ea_t) ‑> tid_t
get_strid(ea) -> tid_t
get_strtype_bpu(strtype: int32) ‑> int
get_strtype_bpu(strtype) -> int
get_switch_info(*args)
get_switch_parent(ea: ea_t) ‑> ea_t
get_switch_parent(ea) -> ea_t
get_tinfo(tif: tinfo_t, ea: ea_t) ‑> bool
get_tinfo(tif, ea) -> bool
getnode(ea: ea_t) ‑> netnode
getnode(ea) -> netnode
has_aflag_linnum(flags: aflags_t) ‑> bool
has_aflag_linnum(flags) -> bool
has_aflag_lname(flags: aflags_t) ‑> bool
has_aflag_lname(flags) -> bool
has_aflag_ti(flags: aflags_t) ‑> bool
has_aflag_ti(flags) -> bool
has_aflag_ti0(flags: aflags_t) ‑> bool
has_aflag_ti0(flags) -> bool
has_aflag_ti1(flags: aflags_t) ‑> bool
has_aflag_ti1(flags) -> bool
has_lname(ea: ea_t) ‑> bool
has_lname(ea) -> bool
has_ti(ea: ea_t) ‑> bool
has_ti(ea) -> bool
has_ti0(ea: ea_t) ‑> bool
has_ti0(ea) -> bool
has_ti1(ea: ea_t) ‑> bool
has_ti1(ea) -> bool
hide_border(ea: ea_t) ‑> void
hide_border(ea)
hide_item(ea: ea_t) ‑> void
hide_item(ea)
is__bnot0(ea: ea_t) ‑> bool
is__bnot0(ea) -> bool
is__bnot1(ea: ea_t) ‑> bool
is__bnot1(ea) -> bool
is__invsign0(ea: ea_t) ‑> bool
is__invsign0(ea) -> bool
is__invsign1(ea: ea_t) ‑> bool
is__invsign1(ea) -> bool
is_aflag__bnot0(flags: aflags_t) ‑> bool
is_aflag__bnot0(flags) -> bool
is_aflag__bnot1(flags: aflags_t) ‑> bool
is_aflag__bnot1(flags) -> bool
is_aflag__invsign0(flags: aflags_t) ‑> bool
is_aflag__invsign0(flags) -> bool
is_aflag__invsign1(flags: aflags_t) ‑> bool
is_aflag__invsign1(flags) -> bool
is_aflag_align_flow(flags: aflags_t) ‑> bool
is_aflag_align_flow(flags) -> bool
is_aflag_colored_item(flags: aflags_t) ‑> bool
is_aflag_colored_item(flags) -> bool
is_aflag_data_guessed_by_hexrays(flags: aflags_t) ‑> bool
is_aflag_data_guessed_by_hexrays(flags) -> bool
is_aflag_fixed_spd(flags: aflags_t) ‑> bool
is_aflag_fixed_spd(flags) -> bool
is_aflag_func_guessed_by_hexrays(flags: aflags_t) ‑> bool
is_aflag_func_guessed_by_hexrays(flags) -> bool
is_aflag_hidden_border(flags: aflags_t) ‑> bool
is_aflag_hidden_border(flags) -> bool
is_aflag_hidden_item(flags: aflags_t) ‑> bool
is_aflag_hidden_item(flags) -> bool
is_aflag_libitem(flags: aflags_t) ‑> bool
is_aflag_libitem(flags) -> bool
is_aflag_lzero0(flags: aflags_t) ‑> bool
is_aflag_lzero0(flags) -> bool
is_aflag_lzero1(flags: aflags_t) ‑> bool
is_aflag_lzero1(flags) -> bool
is_aflag_manual_insn(flags: aflags_t) ‑> bool
is_aflag_manual_insn(flags) -> bool
is_aflag_noret(flags: aflags_t) ‑> bool
is_aflag_noret(flags) -> bool
is_aflag_notcode(flags: aflags_t) ‑> bool
is_aflag_notcode(flags) -> bool
is_aflag_notproc(flags: aflags_t) ‑> bool
is_aflag_notproc(flags) -> bool
is_aflag_public_name(flags: aflags_t) ‑> bool
is_aflag_public_name(flags) -> bool
is_aflag_retfp(flags: aflags_t) ‑> bool
is_aflag_retfp(flags) -> bool
is_aflag_terse_struc(flags: aflags_t) ‑> bool
is_aflag_terse_struc(flags) -> bool
is_aflag_tilcmt(flags: aflags_t) ‑> bool
is_aflag_tilcmt(flags) -> bool
is_aflag_type_determined_by_hexrays(flags: aflags_t) ‑> bool
is_aflag_type_determined_by_hexrays(flags) -> bool
is_aflag_type_guessed_by_hexrays(flags: aflags_t) ‑> bool
is_aflag_type_guessed_by_hexrays(flags) -> bool
is_aflag_type_guessed_by_ida(flags: aflags_t) ‑> bool
is_aflag_type_guessed_by_ida(flags) -> bool
is_aflag_usersp(flags: aflags_t) ‑> bool
is_aflag_usersp(flags) -> bool
is_aflag_userti(flags: aflags_t) ‑> bool
is_aflag_userti(flags) -> bool
is_aflag_weak_name(flags: aflags_t) ‑> bool
is_aflag_weak_name(flags) -> bool
is_aflag_zstroff(flags: aflags_t) ‑> bool
is_aflag_zstroff(flags) -> bool
is_align_flow(ea: ea_t) ‑> bool
is_align_flow(ea) -> bool
is_colored_item(ea: ea_t) ‑> bool
is_colored_item(ea) -> bool
is_data_guessed_by_hexrays(ea: ea_t) ‑> bool
is_data_guessed_by_hexrays(ea) -> bool
is_finally_visible_item(ea: ea_t) ‑> bool
is_finally_visible_item(ea) -> bool Is instruction visible?
is_fixed_spd(ea: ea_t) ‑> bool
is_fixed_spd(ea) -> bool
is_func_guessed_by_hexrays(ea: ea_t) ‑> bool
is_func_guessed_by_hexrays(ea) -> bool
is_hidden_border(ea: ea_t) ‑> bool
is_hidden_border(ea) -> bool
is_hidden_item(ea: ea_t) ‑> bool
is_hidden_item(ea) -> bool
is_libitem(ea: ea_t) ‑> bool
is_libitem(ea) -> bool
is_lzero0(ea: ea_t) ‑> bool
is_lzero0(ea) -> bool
is_lzero1(ea: ea_t) ‑> bool
is_lzero1(ea) -> bool
is_noret(ea: ea_t) ‑> bool
is_noret(ea) -> bool
is_notcode(ea: ea_t) ‑> bool
is_notcode(ea) -> bool Is the address marked as not-code?
is_notproc(ea: ea_t) ‑> bool
is_notproc(ea) -> bool
is_pascal(strtype: int32) ‑> bool
is_pascal(strtype) -> bool
is_reftype_target_optional(type: reftype_t) ‑> bool
is_reftype_target_optional(type) -> bool Can the target be calculated using operand value?
is_retfp(ea: ea_t) ‑> bool
is_retfp(ea) -> bool
is_terse_struc(ea: ea_t) ‑> bool
is_terse_struc(ea) -> bool
is_tilcmt(ea: ea_t) ‑> bool
is_tilcmt(ea) -> bool
is_type_determined_by_hexrays(ea: ea_t) ‑> bool
is_type_determined_by_hexrays(ea) -> bool
is_type_guessed_by_hexrays(ea: ea_t) ‑> bool
is_type_guessed_by_hexrays(ea) -> bool
is_type_guessed_by_ida(ea: ea_t) ‑> bool
is_type_guessed_by_ida(ea) -> bool
is_usersp(ea: ea_t) ‑> bool
is_usersp(ea) -> bool
is_userti(ea: ea_t) ‑> bool
is_userti(ea) -> bool
is_visible_item(ea: ea_t) ‑> bool
is_visible_item(ea) -> bool Test visibility of item at given ea.
is_zstroff(ea: ea_t) ‑> bool
is_zstroff(ea) -> bool
make_str_type(type_code: uchar, encoding_idx: int, term1: uchar = 0, term2: uchar = 0) ‑> int32
make_str_type(type_code, encoding_idx, term1=0, term2=0) -> int32 Get string type for a string in the given encoding.
node2ea(ndx: nodeidx_t) ‑> ea_t
node2ea(ndx) -> ea_t
rename_encoding(idx: int, encname: char const *) ‑> bool
rename_encoding(idx, encname) -> bool Change name for an encoding The number of bytes per unit (BPU) of the new encoding must match this number of the existing default encoding. Specifying the empty name simply deletes this encoding.
retrieve_input_file_crc32() ‑> uint32
retrieve_input_file_crc32() -> uint32 Get input file crc32 stored in the database. it can be used to check that the input file has not been changed.
retrieve_input_file_md5() ‑> uchar [ANY]
retrieve_input_file_md5() -> bytes Get input file md5.
retrieve_input_file_sha256() ‑> uchar [ANY]
retrieve_input_file_sha256() -> bytes Get input file sha256.
retrieve_input_file_size() ‑> size_t
retrieve_input_file_size() -> size_t Get size of input file in bytes.
set__bnot0(ea: ea_t) ‑> void
set__bnot0(ea)
set__bnot1(ea: ea_t) ‑> void
set__bnot1(ea)
set__invsign0(ea: ea_t) ‑> void
set__invsign0(ea)
set__invsign1(ea: ea_t) ‑> void
set__invsign1(ea)
set_abits(ea: ea_t, bits: aflags_t) ‑> void
set_abits(ea, bits)
set_absbase(ea: ea_t, x: ea_t) ‑> void
set_absbase(ea, x)
set_aflags(ea: ea_t, flags: aflags_t) ‑> void
set_aflags(ea, flags)
set_align_flow(ea: ea_t) ‑> void
set_align_flow(ea)
set_alignment(ea: ea_t, x: uint32) ‑> void
set_alignment(ea, x)
set_archive_path(file: char const *) ‑> bool
set_archive_path(file) -> bool Set archive file path from which input file was extracted.
set_array_parameters(ea: ea_t, _in: array_parameters_t) ‑> void
set_array_parameters(ea, _in)
set_asm_inc_file(file: char const *) ‑> bool
set_asm_inc_file(file) -> bool Set name of the include file.
set_colored_item(ea: ea_t) ‑> void
set_colored_item(ea)
set_custom_data_type_ids(ea: ea_t, cdis: custom_data_type_ids_t) ‑> void
set_custom_data_type_ids(ea, cdis)
set_data_guessed_by_hexrays(ea: ea_t) ‑> void
set_data_guessed_by_hexrays(ea)
set_default_encoding_idx(bpu: int, idx: int) ‑> bool
set_default_encoding_idx(bpu, idx) -> bool Set default encoding for a string type
set_fixed_spd(ea: ea_t) ‑> void
set_fixed_spd(ea)
set_func_guessed_by_hexrays(ea: ea_t) ‑> void
set_func_guessed_by_hexrays(ea)
set_gotea(gotea: ea_t) ‑> void
set_gotea(gotea)
set_has_lname(ea: ea_t) ‑> void
set_has_lname(ea)
set_has_ti(ea: ea_t) ‑> void
set_has_ti(ea)
set_has_ti0(ea: ea_t) ‑> void
set_has_ti0(ea)
set_has_ti1(ea: ea_t) ‑> void
set_has_ti1(ea)
set_ida_notepad_text(text: char const *, size: size_t = 0) ‑> void
set_ida_notepad_text(text, size=0) Set notepad text.
set_ids_modnode(id: netnode) ‑> void
set_ids_modnode(id) Set ids modnode.
set_imagebase(base: ea_t) ‑> void
set_imagebase(base) Set image base address.
set_item_color(ea: ea_t, color: bgcolor_t) ‑> void
set_item_color(ea, color)
set_libitem(ea: ea_t) ‑> void
set_libitem(ea)
set_loader_format_name(name: char const *) ‑> void
set_loader_format_name(name) Set file format name for loader modules.
set_lzero0(ea: ea_t) ‑> void
set_lzero0(ea)
set_lzero1(ea: ea_t) ‑> void
set_lzero1(ea)
set_noret(ea: ea_t) ‑> void
set_noret(ea)
set_notcode(ea: ea_t) ‑> void
set_notcode(ea) Mark address so that it cannot be converted to instruction.
set_notproc(ea: ea_t) ‑> void
set_notproc(ea)
set_op_tinfo(ea: ea_t, n: int, tif: tinfo_t) ‑> bool
set_op_tinfo(ea, n, tif) -> bool
set_outfile_encoding_idx(idx: int) ‑> bool
set_outfile_encoding_idx(idx) -> bool set encoding to be used when producing files
set_refinfo(*args) ‑> bool
set_refinfo(ea, n, type, target=BADADDR, base=0, tdelta=0) -> bool
set_refinfo_ex(ea: ea_t, n: int, ri: refinfo_t) ‑> bool
set_refinfo_ex(ea, n, ri) -> bool
set_retfp(ea: ea_t) ‑> void
set_retfp(ea)
set_root_filename(file: char const *) ‑> void
set_root_filename(file) Set full path of the input file.
set_source_linnum(ea: ea_t, lnnum: uval_t) ‑> void
set_source_linnum(ea, lnnum)
set_srcdbg_paths(paths: char const *) ‑> void
set_srcdbg_paths(paths) Set source debug paths.
set_srcdbg_undesired_paths(paths: char const *) ‑> void
set_srcdbg_undesired_paths(paths) Set user-closed source files.
set_str_encoding_idx(strtype: int32, encoding_idx: int) ‑> int32
set_str_encoding_idx(strtype, encoding_idx) -> int32 Set index of the string encoding in the string type.
set_str_type(ea: ea_t, x: uint32) ‑> void
set_str_type(ea, x)
set_switch_info(ea: ea_t, _in: switch_info_t) ‑> void
set_switch_info(ea, _in)
set_switch_parent(ea: ea_t, x: ea_t) ‑> void
set_switch_parent(ea, x)
set_terse_struc(ea: ea_t) ‑> void
set_terse_struc(ea)
set_tilcmt(ea: ea_t) ‑> void
set_tilcmt(ea)
set_tinfo(ea: ea_t, tif: tinfo_t) ‑> bool
set_tinfo(ea, tif) -> bool
set_type_determined_by_hexrays(ea: ea_t) ‑> void
set_type_determined_by_hexrays(ea)
set_type_guessed_by_ida(ea: ea_t) ‑> void
set_type_guessed_by_ida(ea)
set_usemodsp(ea: ea_t) ‑> void
set_usemodsp(ea)
set_usersp(ea: ea_t) ‑> void
set_usersp(ea)
set_userti(ea: ea_t) ‑> void
set_userti(ea)
set_visible_item(ea: ea_t, visible: bool) ‑> void
set_visible_item(ea, visible) Change visibility of item at given ea.
set_zstroff(ea: ea_t) ‑> void
set_zstroff(ea)
switch_info_t__from_ptrval__(ptrval: size_t) ‑> switch_info_t *
switch_info_t__from_ptrval__(ptrval) -> switch_info_t
unhide_border(ea: ea_t) ‑> void
unhide_border(ea)
unhide_item(ea: ea_t) ‑> void
unhide_item(ea)
upd_abits(ea: ea_t, clr_bits: aflags_t, set_bits: aflags_t) ‑> void
upd_abits(ea, clr_bits, set_bits)
uses_aflag_modsp(flags: aflags_t) ‑> bool
uses_aflag_modsp(flags) -> bool
uses_modsp(ea: ea_t) ‑> bool
uses_modsp(ea) -> bool
Classes
array_parameters_t()
: Proxy of C++ array_parameters_t class.
Instance variables
alignment: int32
alignment
flags: int32
flags
lineitems: int32
lineitems
Methods
is_default(self) ‑> bool is_default(self) -> bool
custom_data_type_ids_fids_array(data: short (&)[8])
: Proxy of C++ wrapped_array_t< int16,8 > class.
Instance variables
bytes: bytevec_t
_get_bytes(self) -> bytevec_t
data: short (&)[8]
data
custom_data_type_ids_t()
: Proxy of C++ custom_data_type_ids_t class.
Instance variables
dtid: int16
dtid
fids: wrapped_array_t< int16,8 >
__getFids(self) -> custom_data_type_ids_fids_array
Methods
get_dtid(self) ‑> tid_t get_dtid(self) -> tid_t
set(self, tid: tid_t) ‑> void set(self, tid)
tid: tid_t
enum_const_t()
: Proxy of C++ enum_const_t class.
Instance variables
serial: uchar
serial
tid: tid_t
tid
opinfo_t()
: Proxy of C++ opinfo_t class.
Instance variables
cd: custom_data_type_ids_t
cd
ec: enum_const_t
ec
path: strpath_t
path
ri: refinfo_t
ri
strtype: int32
strtype
tid: tid_t
tid
printop_t()
: Proxy of C++ printop_t class.
Instance variables
aflags: aflags_t
aflags
features: uchar
features
flags: flags64_t
flags
is_ti_valid: bool
is_ti_initialized(self) -> bool
suspop: int
suspop
ti: opinfo_t
ti
Methods
get_ti(self) ‑> opinfo_t const * get_ti(self) -> opinfo_t
is_aflags_initialized(self) ‑> bool is_aflags_initialized(self) -> bool
is_f64(self) ‑> bool is_f64(self) -> bool
is_ti_initialized(self) ‑> bool is_ti_initialized(self) -> bool
set_aflags_initialized(self, v: bool = True) ‑> void set_aflags_initialized(self, v=True)
v: bool
set_ti_initialized(self, v: bool = True) ‑> void set_ti_initialized(self, v=True)
v: bool
refinfo_t()
: Proxy of C++ refinfo_t class.
Instance variables
base: ea_t
base
flags: uint32
flags
target: ea_t
target
tdelta: adiff_t
tdelta
Methods
init(self, *args) ‑> void init(self, reft_and_flags, _base=0, _target=BADADDR, _tdelta=0)
reft_and_flags: uint32 _base: ea_t _target: ea_t _tdelta: adiff_t
is_custom(self) ‑> bool is_custom(self) -> bool
is_no_ones(self) ‑> bool is_no_ones(self) -> bool
is_no_zeros(self) ‑> bool is_no_zeros(self) -> bool
is_pastend(self) ‑> bool is_pastend(self) -> bool
is_rvaoff(self) ‑> bool is_rvaoff(self) -> bool
is_selfref(self) ‑> bool is_selfref(self) -> bool
is_signed(self) ‑> bool is_signed(self) -> bool
is_subtract(self) ‑> bool is_subtract(self) -> bool
is_target_optional(self) ‑> bool is_target_optional(self) -> bool < is_reftype_target_optional()
no_base_xref(self) ‑> bool no_base_xref(self) -> bool
set_type(self, rt: reftype_t) ‑> void set_type(self, rt)
rt: reftype_t
type(self) ‑> reftype_t type(self) -> reftype_t
strpath_ids_array(data: unsigned long long (&)[32])
: Proxy of C++ wrapped_array_t< tid_t,32 > class.
Instance variables
bytes: bytevec_t
_get_bytes(self) -> bytevec_t
data: unsigned long long (&)[32]
data
strpath_t()
: Proxy of C++ strpath_t class.
Instance variables
delta: adiff_t
delta
ids: wrapped_array_t< tid_t,32 >
__getIds(self) -> strpath_ids_array
len: int
len
switch_info_t()
: Proxy of C++ switch_info_t class.
Class variables
SWITCH_INFO_VERSION
Instance variables
custom: uval_t
custom
defjump: ea_t
defjump
elbase: ea_t
elbase
expr_ea: ea_t
expr_ea
flags: uint32
flags
ind_lowcase: sval_t
ind_lowcase
jcases: int
jcases
jumps: ea_t
jumps
lowcase: ea_t
_get_values_lowcase(self) -> ea_t
marks: eavec_t
marks
ncases: ushort
ncases
regdtype: op_dtype_t
regdtype
regnum: int
regnum
startea: ea_t
startea
values: ea_t
_get_values_lowcase(self) -> ea_t
Methods
assign(self, other: switch_info_t) ‑> void assign(self, other)
other: switch_info_t const &
clear(self) ‑> void clear(self)
get_jrange_vrange(self, jrange: range_t = None, vrange: range_t = None) ‑> bool get_jrange_vrange(self, jrange=None, vrange=None) -> bool get separate parts of the switch
jrange: (C++: range_t *) vrange: (C++: range_t *)
get_jtable_element_size(self) ‑> int get_jtable_element_size(self) -> int
get_jtable_size(self) ‑> int get_jtable_size(self) -> int
get_lowcase(self) ‑> sval_t get_lowcase(self) -> sval_t
get_shift(self) ‑> int get_shift(self) -> int See SWI_SHIFT_MASK. possible answers: 0..3.
get_version(self) ‑> int get_version(self) -> int
get_vtable_element_size(self) ‑> int get_vtable_element_size(self) -> int
has_default(self) ‑> bool has_default(self) -> bool
has_elbase(self) ‑> bool has_elbase(self) -> bool
is_custom(self) ‑> bool is_custom(self) -> bool
is_indirect(self) ‑> bool is_indirect(self) -> bool
is_nolowcase(self) ‑> bool is_nolowcase(self) -> bool
is_sparse(self) ‑> bool is_sparse(self) -> bool
is_subtract(self) ‑> bool is_subtract(self) -> bool
is_user_defined(self) ‑> bool is_user_defined(self) -> bool
set_elbase(self, base: ea_t) ‑> void set_elbase(self, base)
base: ea_t
set_expr(self, r: int, dt: op_dtype_t) ‑> void set_expr(self, r, dt)
r: int dt: op_dtype_t
set_jtable_element_size(self, size: int) ‑> void set_jtable_element_size(self, size)
size: int
set_jtable_size(self, size: int) ‑> void set_jtable_size(self, size)
size: int
set_shift(self, shift: int) ‑> void set_shift(self, shift) See SWI_SHIFT_MASK.
shift: (C++: int)
set_vtable_element_size(self, size: int) ‑> void set_vtable_element_size(self, size)
size: int
use_std_table(self) ‑> bool use_std_table(self) -> bool
Last updated