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_ALIGNFLOW = 16777216

AFL_BNOT0

AFL_BNOT0 = 256

AFL_BNOT1

AFL_BNOT1 = 512

AFL_COLORED

AFL_COLORED = 262144

AFL_FIXEDSPD

AFL_FIXEDSPD = 8388608

AFL_HIDDEN

AFL_HIDDEN = 16

AFL_HR_DETERMINED

AFL_HR_DETERMINED = -1073741824

AFL_HR_GUESSED_DATA

AFL_HR_GUESSED_DATA = -2147483648

AFL_HR_GUESSED_FUNC

AFL_HR_GUESSED_FUNC = 1073741824

AFL_IDA_GUESSED

AFL_IDA_GUESSED = 0

AFL_LIB

AFL_LIB = 1024

AFL_LINNUM

AFL_LINNUM = 1

AFL_LNAME

AFL_LNAME = 16384

AFL_LZERO0

AFL_LZERO0 = 65536

AFL_LZERO1

AFL_LZERO1 = 131072

AFL_MANUAL

AFL_MANUAL = 32

AFL_NOBRD

AFL_NOBRD = 64

AFL_NORET

AFL_NORET = 4194304

AFL_NOTCODE

AFL_NOTCODE = 268435456

AFL_NOTPROC

AFL_NOTPROC = 536870912

AFL_PUBNAM

AFL_PUBNAM = 4

AFL_RETFP

AFL_RETFP = 67108864

AFL_SIGN0

AFL_SIGN0 = 1048576

AFL_SIGN1

AFL_SIGN1 = 2097152

AFL_TERSESTR

AFL_TERSESTR = 524288

AFL_TI

AFL_TI = 2048

AFL_TI0

AFL_TI0 = 4096

AFL_TI1

AFL_TI1 = 8192

AFL_TILCMT

AFL_TILCMT = 32768

AFL_TYPE_GUESSED

AFL_TYPE_GUESSED = -1040187392

AFL_USEMODSP

AFL_USEMODSP = 134217728

AFL_USERSP

AFL_USERSP = 2

AFL_USERTI

AFL_USERTI = 33554432

AFL_WEAKNAM

AFL_WEAKNAM = 8

AFL_ZSTROFF

AFL_ZSTROFF = 128

AP_ALLOWDUPS

AP_ALLOWDUPS = 1

AP_ARRAY

AP_ARRAY = 8

AP_IDXBASEMASK

AP_IDXBASEMASK = 240

AP_IDXBIN

AP_IDXBIN = 48

AP_IDXDEC

AP_IDXDEC = 0

AP_IDXHEX

AP_IDXHEX = 16

AP_IDXOCT

AP_IDXOCT = 32

AP_INDEX

AP_INDEX = 4

AP_SIGNED

AP_SIGNED = 2

BPU_1B

BPU_1B = 1

BPU_2B

BPU_2B = 2

BPU_4B

BPU_4B = 4

IDB_DESKTOPS_NODE_NAME

IDB_DESKTOPS_NODE_NAME = '$ desktops'

IDB_DESKTOPS_TAG

IDB_DESKTOPS_TAG = 'S'

MAXSTRUCPATH

MAXSTRUCPATH = 32

NALT_ABSBASE

NALT_ABSBASE = 10

NALT_AFLAGS

NALT_AFLAGS = 8

NALT_ALIGN

NALT_ALIGN = 17

NALT_COLOR

NALT_COLOR = 20

NALT_CREF_FROM

NALT_CREF_FROM = 'x'

NALT_CREF_TO

NALT_CREF_TO = 'X'

NALT_DREF_FROM

NALT_DREF_FROM = 'd'

NALT_DREF_TO

NALT_DREF_TO = 'D'

NALT_ENUM0

NALT_ENUM0 = 11

NALT_ENUM1

NALT_ENUM1 = 12

NALT_GR_LAYX

NALT_GR_LAYX = 'p'

NALT_LINNUM

NALT_LINNUM = 9

NALT_PURGE

NALT_PURGE = 15

NALT_STRTYPE

NALT_STRTYPE = 16

NALT_STRUCT

NALT_STRUCT = 3

NALT_SWITCH

NALT_SWITCH = 1

NSUP_ARGEAS

NSUP_ARGEAS = 30

NSUP_ARRAY

NSUP_ARRAY = 5

NSUP_CMT

NSUP_CMT = 0

NSUP_CUSTDT

NSUP_CUSTDT = 28

NSUP_EX_FLAGS

NSUP_EX_FLAGS = 37

NSUP_FOP1

NSUP_FOP1 = 2

NSUP_FOP2

NSUP_FOP2 = 3

NSUP_FOP3

NSUP_FOP3 = 7

NSUP_FOP4

NSUP_FOP4 = 18

NSUP_FOP5

NSUP_FOP5 = 19

NSUP_FOP6

NSUP_FOP6 = 20

NSUP_FOP7

NSUP_FOP7 = 31

NSUP_FOP8

NSUP_FOP8 = 32

NSUP_FRAME

NSUP_FRAME = 1089536

NSUP_FTAILS

NSUP_FTAILS = 28672

NSUP_GROUP

NSUP_GROUP = 32768

NSUP_GROUPS

NSUP_GROUPS = 29

NSUP_GR_INFO

NSUP_GR_INFO = 'g'

NSUP_GR_LAYT

NSUP_GR_LAYT = 'l'

NSUP_JINFO

NSUP_JINFO = 4

NSUP_LLABEL

NSUP_LLABEL = 20480

NSUP_MANUAL

NSUP_MANUAL = 8192

NSUP_OMFGRP

NSUP_OMFGRP = 6

NSUP_OPTYPES

NSUP_OPTYPES = 36864

NSUP_OREF0

NSUP_OREF0 = 12

NSUP_OREF1

NSUP_OREF1 = 13

NSUP_OREF2

NSUP_OREF2 = 14

NSUP_OREF3

NSUP_OREF3 = 24

NSUP_OREF4

NSUP_OREF4 = 25

NSUP_OREF5

NSUP_OREF5 = 26

NSUP_OREF6

NSUP_OREF6 = 35

NSUP_OREF7

NSUP_OREF7 = 36

NSUP_ORIGFMD

NSUP_ORIGFMD = 1085440

NSUP_POINTS

NSUP_POINTS = 4096

NSUP_REF0

NSUP_REF0 = 9

NSUP_REF1

NSUP_REF1 = 10

NSUP_REF2

NSUP_REF2 = 11

NSUP_REF3

NSUP_REF3 = 21

NSUP_REF4

NSUP_REF4 = 22

NSUP_REF5

NSUP_REF5 = 23

NSUP_REF6

NSUP_REF6 = 33

NSUP_REF7

NSUP_REF7 = 34

NSUP_REGARG

NSUP_REGARG = 24576

NSUP_REGVAR

NSUP_REGVAR = 16384

NSUP_REPCMT

NSUP_REPCMT = 1

NSUP_SEGTRANS

NSUP_SEGTRANS = 17

NSUP_STROFF0

NSUP_STROFF0 = 15

NSUP_STROFF1

NSUP_STROFF1 = 16

NSUP_SWITCH

NSUP_SWITCH = 8

NSUP_TYPEINFO

NSUP_TYPEINFO = 12288

NSUP_XREFPOS

NSUP_XREFPOS = 27

PATCH_TAG

PATCH_TAG = 'P'

POF_IS_F64

POF_IS_F64 = 4

POF_VALID_AFLAGS

POF_VALID_AFLAGS = 2

POF_VALID_TI

POF_VALID_TI = 1

REFINFO_CUSTOM

REFINFO_CUSTOM = 64

REFINFO_NOBASE

REFINFO_NOBASE = 128

REFINFO_NO_ONES

REFINFO_NO_ONES = 2048

REFINFO_NO_ZEROS

REFINFO_NO_ZEROS = 1024

REFINFO_PASTEND

REFINFO_PASTEND = 32

REFINFO_RVAOFF

REFINFO_RVAOFF = 16

REFINFO_SELFREF

REFINFO_SELFREF = 4096

REFINFO_SIGNEDOP

REFINFO_SIGNEDOP = 512

REFINFO_SUBTRACT

REFINFO_SUBTRACT = 256

REFINFO_TYPE

REFINFO_TYPE = 15

REF_HIGH16

REF_HIGH16 = 6

REF_HIGH8

REF_HIGH8 = 5

REF_LAST

REF_LAST = 10

REF_LOW16

REF_LOW16 = 4

REF_LOW8

REF_LOW8 = 3

REF_OFF16

REF_OFF16 = 1

REF_OFF32

REF_OFF32 = 2

REF_OFF64

REF_OFF64 = 9

REF_OFF8

REF_OFF8 = 10

RIDX_ABINAME

RIDX_ABINAME = 1350

RIDX_ARCHIVE_PATH

RIDX_ARCHIVE_PATH = 1351

RIDX_C_MACROS

RIDX_C_MACROS = 66

RIDX_DBG_BINPATHS

RIDX_DBG_BINPATHS = 1328

RIDX_DUALOP_GRAPH

RIDX_DUALOP_GRAPH = 1300

RIDX_DUALOP_TEXT

RIDX_DUALOP_TEXT = 1301

RIDX_FILE_FORMAT_NAME

RIDX_FILE_FORMAT_NAME = 1

RIDX_GROUPS

RIDX_GROUPS = 64

RIDX_H_PATH

RIDX_H_PATH = 65

RIDX_IDA_VERSION

RIDX_IDA_VERSION = 1303

RIDX_INCLUDE

RIDX_INCLUDE = 1100

RIDX_MD5

RIDX_MD5 = 1302

RIDX_NOTEPAD

RIDX_NOTEPAD = 68

RIDX_PROBLEMS

RIDX_PROBLEMS = 1352

RIDX_SELECTORS

RIDX_SELECTORS = 2

RIDX_SHA256

RIDX_SHA256 = 1349

RIDX_SMALL_IDC

RIDX_SMALL_IDC = 1200

RIDX_SMALL_IDC_OLD

RIDX_SMALL_IDC_OLD = 67

RIDX_SRCDBG_PATHS

RIDX_SRCDBG_PATHS = 1306

RIDX_SRCDBG_UNDESIRED

RIDX_SRCDBG_UNDESIRED = 1353

RIDX_STR_ENCODINGS

RIDX_STR_ENCODINGS = 1305

STRENC_DEFAULT

STRENC_DEFAULT = 0

STRENC_NONE

STRENC_NONE = 255

STRLYT_MASK

STRLYT_MASK = 252

STRLYT_PASCAL1

STRLYT_PASCAL1 = 1

STRLYT_PASCAL2

STRLYT_PASCAL2 = 2

STRLYT_PASCAL4

STRLYT_PASCAL4 = 3

STRLYT_SHIFT

STRLYT_SHIFT = 2

STRLYT_TERMCHR

STRLYT_TERMCHR = 0

STRTYPE_C

STRTYPE_C = 0

STRTYPE_C_16

STRTYPE_C_16 = 1

STRTYPE_C_32

STRTYPE_C_32 = 2

STRTYPE_LEN2

STRTYPE_LEN2 = 8

STRTYPE_LEN2_16

STRTYPE_LEN2_16 = 9

STRTYPE_LEN2_32

STRTYPE_LEN2_32 = 10

STRTYPE_LEN4

STRTYPE_LEN4 = 12

STRTYPE_LEN4_16

STRTYPE_LEN4_16 = 13

STRTYPE_LEN4_32

STRTYPE_LEN4_32 = 14

STRTYPE_PASCAL

STRTYPE_PASCAL = 4

STRTYPE_PASCAL_16

STRTYPE_PASCAL_16 = 5

STRTYPE_PASCAL_32

STRTYPE_PASCAL_32 = 6

STRTYPE_TERMCHR

STRTYPE_TERMCHR = 0

STRWIDTH_1B

STRWIDTH_1B = 0

STRWIDTH_2B

STRWIDTH_2B = 1

STRWIDTH_4B

STRWIDTH_4B = 2

STRWIDTH_MASK

STRWIDTH_MASK = 3

SWI_CUSTOM

SWI_CUSTOM = 16384

SWI_DEFRET

SWI_DEFRET = 1048576

SWI_DEF_IN_TBL

SWI_DEF_IN_TBL = 32

SWI_ELBASE

SWI_ELBASE = 512

SWI_HXNOLOWCASE

SWI_HXNOLOWCASE = 262144

SWI_INDIRECT

SWI_INDIRECT = 65536

SWI_J32

SWI_J32 = 4

SWI_JMPINSN

SWI_JMPINSN = 4194304

SWI_JMP_INV

SWI_JMP_INV = 64

SWI_JSIZE

SWI_JSIZE = 1024

SWI_SELFREL

SWI_SELFREL = 2097152

SWI_SEPARATE

SWI_SEPARATE = 4096

SWI_SHIFT_MASK

SWI_SHIFT_MASK = 384

SWI_SIGNED

SWI_SIGNED = 8192

SWI_SPARSE

SWI_SPARSE = 1

SWI_STDTBL

SWI_STDTBL = 524288

SWI_SUBTRACT

SWI_SUBTRACT = 131072

SWI_USER

SWI_USER = 16

SWI_V32

SWI_V32 = 2

SWI_VERSION

SWI_VERSION = 8388608

SWI_VSIZE

SWI_VSIZE = 2048

SWI_VSPLIT

SWI_VSPLIT = 8

V695_REF_OFF8

V695_REF_OFF8 = 0

V695_REF_VHIGH

V695_REF_VHIGH = 7

V695_REF_VLOW

V695_REF_VLOW = 8

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.

encname: (C++: const char *) the encoding name
return: its index (1-based); -1 means error

clr__bnot0(ea: ea_t) ‑> void

clr__bnot0(ea)

ea: ea_t

clr__bnot1(ea: ea_t) ‑> void

clr__bnot1(ea)

ea: ea_t

clr__invsign0(ea: ea_t) ‑> void

clr__invsign0(ea)

ea: ea_t

clr__invsign1(ea: ea_t) ‑> void

clr__invsign1(ea)

ea: ea_t

clr_abits(ea: ea_t, bits: aflags_t) ‑> void

clr_abits(ea, bits)

ea: ea_t
bits: aflags_t

clr_align_flow(ea: ea_t) ‑> void

clr_align_flow(ea)

ea: ea_t

clr_colored_item(ea: ea_t) ‑> void

clr_colored_item(ea)

ea: ea_t

clr_fixed_spd(ea: ea_t) ‑> void

clr_fixed_spd(ea)

ea: ea_t

clr_has_lname(ea: ea_t) ‑> void

clr_has_lname(ea)

ea: ea_t

clr_has_ti(ea: ea_t) ‑> void

clr_has_ti(ea)

ea: ea_t

clr_has_ti0(ea: ea_t) ‑> void

clr_has_ti0(ea)

ea: ea_t

clr_has_ti1(ea: ea_t) ‑> void

clr_has_ti1(ea)

ea: ea_t

clr_libitem(ea: ea_t) ‑> void

clr_libitem(ea)

ea: ea_t

clr_lzero0(ea: ea_t) ‑> void

clr_lzero0(ea)

ea: ea_t

clr_lzero1(ea: ea_t) ‑> void

clr_lzero1(ea)

ea: ea_t

clr_noret(ea: ea_t) ‑> void

clr_noret(ea)

ea: ea_t

clr_notcode(ea: ea_t) ‑> void

clr_notcode(ea) Clear not-code mark.

ea: (C++: ea_t)

clr_notproc(ea: ea_t) ‑> void

clr_notproc(ea)

ea: ea_t

clr_retfp(ea: ea_t) ‑> void

clr_retfp(ea)

ea: ea_t

clr_terse_struc(ea: ea_t) ‑> void

clr_terse_struc(ea)

ea: ea_t

clr_tilcmt(ea: ea_t) ‑> void

clr_tilcmt(ea)

ea: ea_t

clr_usemodsp(ea: ea_t) ‑> void

clr_usemodsp(ea)

ea: ea_t

clr_usersp(ea: ea_t) ‑> void

clr_usersp(ea)

ea: ea_t

clr_userti(ea: ea_t) ‑> void

clr_userti(ea)

ea: ea_t

clr_zstroff(ea: ea_t) ‑> void

clr_zstroff(ea)

ea: ea_t

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)

ea: ea_t

del_aflags(ea: ea_t) ‑> void

del_aflags(ea)

ea: ea_t

del_alignment(ea: ea_t) ‑> void

del_alignment(ea)

ea: ea_t

del_array_parameters(ea: ea_t) ‑> void

del_array_parameters(ea)

ea: ea_t

del_custom_data_type_ids(ea: ea_t) ‑> void

del_custom_data_type_ids(ea)

ea: ea_t

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.

idx: (C++: int) the encoding index (1-based)

del_ind_purged(ea: ea_t) ‑> void

del_ind_purged(ea)

ea: ea_t

del_item_color(ea: ea_t) ‑> bool

del_item_color(ea) -> bool

ea: ea_t

del_op_tinfo(ea: ea_t, n: int) ‑> void

del_op_tinfo(ea, n)

ea: ea_t
n: int

del_refinfo(ea: ea_t, n: int) ‑> bool

del_refinfo(ea, n) -> bool

ea: ea_t
n: int

del_source_linnum(ea: ea_t) ‑> void

del_source_linnum(ea)

ea: ea_t

del_str_type(ea: ea_t) ‑> void

del_str_type(ea)

ea: ea_t

del_switch_info(ea: ea_t) ‑> void

del_switch_info(ea)

ea: ea_t

del_switch_parent(ea: ea_t) ‑> void

del_switch_parent(ea)

ea: ea_t

del_tinfo(ea: ea_t) ‑> void

del_tinfo(ea)

ea: ea_t

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.

ea: (C++: ea_t)

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

strtype: (C++: int32)

end_ea2node(ea: ea_t) ‑> nodeidx_t

end_ea2node(ea) -> nodeidx_t

ea: ea_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.

mod_index: The module index
callback: A callable object that will be invoked with an ea, name (could be None) and ordinal.
return: 1-finished ok, -1 on error, otherwise callback return value (<=0)

find_custom_refinfo(name: char const *) ‑> int

find_custom_refinfo(name) -> int Get id of a custom refinfo type.

name: (C++: const char *) char const *

get_abi_name()

get_absbase(ea: ea_t) ‑> ea_t

get_absbase(ea) -> ea_t

ea: ea_t

get_aflags(ea: ea_t) ‑> aflags_t

get_aflags(ea) -> aflags_t

ea: ea_t

get_alignment(ea: ea_t) ‑> uint32

get_alignment(ea) -> uint32

ea: ea_t

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

out: array_parameters_t *
ea: ea_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

cdis: custom_data_type_ids_t *
ea: ea_t

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.

crid: (C++: int)

get_default_encoding_idx(bpu: int) ‑> int

get_default_encoding_idx(bpu) -> int Get default encoding index for a specific string type.

bpu: (C++: int) the amount of bytes per unit (e.g., 1 for ASCII, CP1252, UTF-8..., 2
           for UTF-16, 4 for UTF-32)
retval 0: bad BPU argument

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.

idx: (C++: int) the encoding index (1-based)
return: the number of bytes per units (1/2/4); -1 means error

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

encname: (C++: const char *) the encoding name
return: the number of bytes per units (1/2/4); -1 means error

get_encoding_name(idx: int) ‑> char const *

get_encoding_name(idx) -> char const * Get encoding name for specific index (1-based).

idx: (C++: int) the encoding index (1-based)
retval nullptr: if IDX is out of bounds
retval empty: string if the encoding was deleted

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

mod_index: int
return: None or the module name

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

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

ea: ea_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

tif: tinfo_t *
ea: ea_t
n: int

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

ri: refinfo_t *
ea: ea_t
n: int

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)

size: (C++: size_t)

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

ea: ea_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.

strtype: (C++: int32)

get_str_term1(strtype: int32) ‑> char

get_str_term1(strtype) -> char

strtype: int32

get_str_term2(strtype: int32) ‑> char

get_str_term2(strtype) -> char

strtype: int32

get_str_type(ea: ea_t) ‑> uint32

get_str_type(ea) -> uint32

ea: ea_t

get_str_type_code(strtype: int32) ‑> uchar

get_str_type_code(strtype) -> uchar

strtype: int32

get_str_type_prefix_length(strtype: int32) ‑> size_t

get_str_type_prefix_length(strtype) -> size_t

strtype: int32

get_strid(ea: ea_t) ‑> tid_t

get_strid(ea) -> tid_t

ea: ea_t

get_strtype_bpu(strtype: int32) ‑> int

get_strtype_bpu(strtype) -> int

strtype: int32

get_switch_info(*args)

get_switch_parent(ea: ea_t) ‑> ea_t

get_switch_parent(ea) -> ea_t

ea: ea_t

get_tinfo(tif: tinfo_t, ea: ea_t) ‑> bool

get_tinfo(tif, ea) -> bool

tif: tinfo_t *
ea: ea_t

getnode(ea: ea_t) ‑> netnode

getnode(ea) -> netnode

ea: ea_t

has_aflag_linnum(flags: aflags_t) ‑> bool

has_aflag_linnum(flags) -> bool

flags: aflags_t

has_aflag_lname(flags: aflags_t) ‑> bool

has_aflag_lname(flags) -> bool

flags: aflags_t

has_aflag_ti(flags: aflags_t) ‑> bool

has_aflag_ti(flags) -> bool

flags: aflags_t

has_aflag_ti0(flags: aflags_t) ‑> bool

has_aflag_ti0(flags) -> bool

flags: aflags_t

has_aflag_ti1(flags: aflags_t) ‑> bool

has_aflag_ti1(flags) -> bool

flags: aflags_t

has_lname(ea: ea_t) ‑> bool

has_lname(ea) -> bool

ea: ea_t

has_ti(ea: ea_t) ‑> bool

has_ti(ea) -> bool

ea: ea_t

has_ti0(ea: ea_t) ‑> bool

has_ti0(ea) -> bool

ea: ea_t

has_ti1(ea: ea_t) ‑> bool

has_ti1(ea) -> bool

ea: ea_t

hide_border(ea: ea_t) ‑> void

hide_border(ea)

ea: ea_t

hide_item(ea: ea_t) ‑> void

hide_item(ea)

ea: ea_t

is__bnot0(ea: ea_t) ‑> bool

is__bnot0(ea) -> bool

ea: ea_t

is__bnot1(ea: ea_t) ‑> bool

is__bnot1(ea) -> bool

ea: ea_t

is__invsign0(ea: ea_t) ‑> bool

is__invsign0(ea) -> bool

ea: ea_t

is__invsign1(ea: ea_t) ‑> bool

is__invsign1(ea) -> bool

ea: ea_t

is_aflag__bnot0(flags: aflags_t) ‑> bool

is_aflag__bnot0(flags) -> bool

flags: aflags_t

is_aflag__bnot1(flags: aflags_t) ‑> bool

is_aflag__bnot1(flags) -> bool

flags: aflags_t

is_aflag__invsign0(flags: aflags_t) ‑> bool

is_aflag__invsign0(flags) -> bool

flags: aflags_t

is_aflag__invsign1(flags: aflags_t) ‑> bool

is_aflag__invsign1(flags) -> bool

flags: aflags_t

is_aflag_align_flow(flags: aflags_t) ‑> bool

is_aflag_align_flow(flags) -> bool

flags: aflags_t

is_aflag_colored_item(flags: aflags_t) ‑> bool

is_aflag_colored_item(flags) -> bool

flags: aflags_t

is_aflag_data_guessed_by_hexrays(flags: aflags_t) ‑> bool

is_aflag_data_guessed_by_hexrays(flags) -> bool

flags: aflags_t

is_aflag_fixed_spd(flags: aflags_t) ‑> bool

is_aflag_fixed_spd(flags) -> bool

flags: aflags_t

is_aflag_func_guessed_by_hexrays(flags: aflags_t) ‑> bool

is_aflag_func_guessed_by_hexrays(flags) -> bool

flags: aflags_t

is_aflag_hidden_border(flags: aflags_t) ‑> bool

is_aflag_hidden_border(flags) -> bool

flags: aflags_t

is_aflag_hidden_item(flags: aflags_t) ‑> bool

is_aflag_hidden_item(flags) -> bool

flags: aflags_t

is_aflag_libitem(flags: aflags_t) ‑> bool

is_aflag_libitem(flags) -> bool

flags: aflags_t

is_aflag_lzero0(flags: aflags_t) ‑> bool

is_aflag_lzero0(flags) -> bool

flags: aflags_t

is_aflag_lzero1(flags: aflags_t) ‑> bool

is_aflag_lzero1(flags) -> bool

flags: aflags_t

is_aflag_manual_insn(flags: aflags_t) ‑> bool

is_aflag_manual_insn(flags) -> bool

flags: aflags_t

is_aflag_noret(flags: aflags_t) ‑> bool

is_aflag_noret(flags) -> bool

flags: aflags_t

is_aflag_notcode(flags: aflags_t) ‑> bool

is_aflag_notcode(flags) -> bool

flags: aflags_t

is_aflag_notproc(flags: aflags_t) ‑> bool

is_aflag_notproc(flags) -> bool

flags: aflags_t

is_aflag_public_name(flags: aflags_t) ‑> bool

is_aflag_public_name(flags) -> bool

flags: aflags_t

is_aflag_retfp(flags: aflags_t) ‑> bool

is_aflag_retfp(flags) -> bool

flags: aflags_t

is_aflag_terse_struc(flags: aflags_t) ‑> bool

is_aflag_terse_struc(flags) -> bool

flags: aflags_t

is_aflag_tilcmt(flags: aflags_t) ‑> bool

is_aflag_tilcmt(flags) -> bool

flags: aflags_t

is_aflag_type_determined_by_hexrays(flags: aflags_t) ‑> bool

is_aflag_type_determined_by_hexrays(flags) -> bool

flags: aflags_t

is_aflag_type_guessed_by_hexrays(flags: aflags_t) ‑> bool

is_aflag_type_guessed_by_hexrays(flags) -> bool

flags: aflags_t

is_aflag_type_guessed_by_ida(flags: aflags_t) ‑> bool

is_aflag_type_guessed_by_ida(flags) -> bool

flags: aflags_t

is_aflag_usersp(flags: aflags_t) ‑> bool

is_aflag_usersp(flags) -> bool

flags: aflags_t

is_aflag_userti(flags: aflags_t) ‑> bool

is_aflag_userti(flags) -> bool

flags: aflags_t

is_aflag_weak_name(flags: aflags_t) ‑> bool

is_aflag_weak_name(flags) -> bool

flags: aflags_t

is_aflag_zstroff(flags: aflags_t) ‑> bool

is_aflag_zstroff(flags) -> bool

flags: aflags_t

is_align_flow(ea: ea_t) ‑> bool

is_align_flow(ea) -> bool

ea: ea_t

is_colored_item(ea: ea_t) ‑> bool

is_colored_item(ea) -> bool

ea: ea_t

is_data_guessed_by_hexrays(ea: ea_t) ‑> bool

is_data_guessed_by_hexrays(ea) -> bool

ea: ea_t

is_finally_visible_item(ea: ea_t) ‑> bool

is_finally_visible_item(ea) -> bool Is instruction visible?

ea: (C++: ea_t)

is_fixed_spd(ea: ea_t) ‑> bool

is_fixed_spd(ea) -> bool

ea: ea_t

is_func_guessed_by_hexrays(ea: ea_t) ‑> bool

is_func_guessed_by_hexrays(ea) -> bool

ea: ea_t

is_hidden_border(ea: ea_t) ‑> bool

is_hidden_border(ea) -> bool

ea: ea_t

is_hidden_item(ea: ea_t) ‑> bool

is_hidden_item(ea) -> bool

ea: ea_t

is_libitem(ea: ea_t) ‑> bool

is_libitem(ea) -> bool

ea: ea_t

is_lzero0(ea: ea_t) ‑> bool

is_lzero0(ea) -> bool

ea: ea_t

is_lzero1(ea: ea_t) ‑> bool

is_lzero1(ea) -> bool

ea: ea_t

is_noret(ea: ea_t) ‑> bool

is_noret(ea) -> bool

ea: ea_t

is_notcode(ea: ea_t) ‑> bool

is_notcode(ea) -> bool Is the address marked as not-code?

ea: (C++: ea_t)

is_notproc(ea: ea_t) ‑> bool

is_notproc(ea) -> bool

ea: ea_t

is_pascal(strtype: int32) ‑> bool

is_pascal(strtype) -> bool

strtype: int32

is_reftype_target_optional(type: reftype_t) ‑> bool

is_reftype_target_optional(type) -> bool Can the target be calculated using operand value?

type: (C++: reftype_t)

is_retfp(ea: ea_t) ‑> bool

is_retfp(ea) -> bool

ea: ea_t

is_terse_struc(ea: ea_t) ‑> bool

is_terse_struc(ea) -> bool

ea: ea_t

is_tilcmt(ea: ea_t) ‑> bool

is_tilcmt(ea) -> bool

ea: ea_t

is_type_determined_by_hexrays(ea: ea_t) ‑> bool

is_type_determined_by_hexrays(ea) -> bool

ea: ea_t

is_type_guessed_by_hexrays(ea: ea_t) ‑> bool

is_type_guessed_by_hexrays(ea) -> bool

ea: ea_t

is_type_guessed_by_ida(ea: ea_t) ‑> bool

is_type_guessed_by_ida(ea) -> bool

ea: ea_t

is_usersp(ea: ea_t) ‑> bool

is_usersp(ea) -> bool

ea: ea_t

is_userti(ea: ea_t) ‑> bool

is_userti(ea) -> bool

ea: ea_t

is_visible_item(ea: ea_t) ‑> bool

is_visible_item(ea) -> bool Test visibility of item at given ea.

ea: (C++: ea_t)

is_zstroff(ea: ea_t) ‑> bool

is_zstroff(ea) -> bool

ea: ea_t

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.

type_code: (C++: uchar)
encoding_idx: (C++: int)
term1: (C++: uchar)
term2: (C++: uchar)

node2ea(ndx: nodeidx_t) ‑> ea_t

node2ea(ndx) -> ea_t

ndx: nodeidx_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.

idx: (C++: int) the encoding index (1-based)
encname: (C++: const char *) the new encoding name

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)

ea: ea_t

set__bnot1(ea: ea_t) ‑> void

set__bnot1(ea)

ea: ea_t

set__invsign0(ea: ea_t) ‑> void

set__invsign0(ea)

ea: ea_t

set__invsign1(ea: ea_t) ‑> void

set__invsign1(ea)

ea: ea_t

set_abits(ea: ea_t, bits: aflags_t) ‑> void

set_abits(ea, bits)

ea: ea_t
bits: aflags_t

set_absbase(ea: ea_t, x: ea_t) ‑> void

set_absbase(ea, x)

ea: ea_t
x: ea_t

set_aflags(ea: ea_t, flags: aflags_t) ‑> void

set_aflags(ea, flags)

ea: ea_t
flags: aflags_t

set_align_flow(ea: ea_t) ‑> void

set_align_flow(ea)

ea: ea_t

set_alignment(ea: ea_t, x: uint32) ‑> void

set_alignment(ea, x)

ea: ea_t
x: uint32

set_archive_path(file: char const *) ‑> bool

set_archive_path(file) -> bool Set archive file path from which input file was extracted.

file: (C++: const char *) char const *

set_array_parameters(ea: ea_t, _in: array_parameters_t) ‑> void

set_array_parameters(ea, _in)

ea: ea_t
in: array_parameters_t const *

set_asm_inc_file(file: char const *) ‑> bool

set_asm_inc_file(file) -> bool Set name of the include file.

file: (C++: const char *) char const *

set_colored_item(ea: ea_t) ‑> void

set_colored_item(ea)

ea: ea_t

set_custom_data_type_ids(ea: ea_t, cdis: custom_data_type_ids_t) ‑> void

set_custom_data_type_ids(ea, cdis)

ea: ea_t
cdis: custom_data_type_ids_t const *

set_data_guessed_by_hexrays(ea: ea_t) ‑> void

set_data_guessed_by_hexrays(ea)

ea: ea_t

set_default_encoding_idx(bpu: int, idx: int) ‑> bool

set_default_encoding_idx(bpu, idx) -> bool Set default encoding for a string type

bpu: (C++: int) the amount of bytes per unit
idx: (C++: int) the encoding index. It cannot be 0

set_fixed_spd(ea: ea_t) ‑> void

set_fixed_spd(ea)

ea: ea_t

set_func_guessed_by_hexrays(ea: ea_t) ‑> void

set_func_guessed_by_hexrays(ea)

ea: ea_t

set_gotea(gotea: ea_t) ‑> void

set_gotea(gotea)

gotea: ea_t

set_has_lname(ea: ea_t) ‑> void

set_has_lname(ea)

ea: ea_t

set_has_ti(ea: ea_t) ‑> void

set_has_ti(ea)

ea: ea_t

set_has_ti0(ea: ea_t) ‑> void

set_has_ti0(ea)

ea: ea_t

set_has_ti1(ea: ea_t) ‑> void

set_has_ti1(ea)

ea: ea_t

set_ida_notepad_text(text: char const *, size: size_t = 0) ‑> void

set_ida_notepad_text(text, size=0) Set notepad text.

text: (C++: const char *) char const *
size: (C++: size_t)

set_ids_modnode(id: netnode) ‑> void

set_ids_modnode(id) Set ids modnode.

id: (C++: netnode)

set_imagebase(base: ea_t) ‑> void

set_imagebase(base) Set image base address.

base: (C++: ea_t)

set_item_color(ea: ea_t, color: bgcolor_t) ‑> void

set_item_color(ea, color)

ea: ea_t
color: bgcolor_t

set_libitem(ea: ea_t) ‑> void

set_libitem(ea)

ea: ea_t

set_loader_format_name(name: char const *) ‑> void

set_loader_format_name(name) Set file format name for loader modules.

name: (C++: const char *) char const *

set_lzero0(ea: ea_t) ‑> void

set_lzero0(ea)

ea: ea_t

set_lzero1(ea: ea_t) ‑> void

set_lzero1(ea)

ea: ea_t

set_noret(ea: ea_t) ‑> void

set_noret(ea)

ea: ea_t

set_notcode(ea: ea_t) ‑> void

set_notcode(ea) Mark address so that it cannot be converted to instruction.

ea: (C++: ea_t)

set_notproc(ea: ea_t) ‑> void

set_notproc(ea)

ea: ea_t

set_op_tinfo(ea: ea_t, n: int, tif: tinfo_t) ‑> bool

set_op_tinfo(ea, n, tif) -> bool

ea: ea_t
n: int
tif: tinfo_t const *

set_outfile_encoding_idx(idx: int) ‑> bool

set_outfile_encoding_idx(idx) -> bool set encoding to be used when producing files

idx: (C++: int) the encoding index IDX can be 0 to use the IDB's default 1-byte-per-
           unit encoding

set_refinfo(*args) ‑> bool

set_refinfo(ea, n, type, target=BADADDR, base=0, tdelta=0) -> bool

ea: ea_t
n: int
type: reftype_t
target: ea_t
base: ea_t
tdelta: adiff_t

set_refinfo_ex(ea: ea_t, n: int, ri: refinfo_t) ‑> bool

set_refinfo_ex(ea, n, ri) -> bool

ea: ea_t
n: int
ri: refinfo_t const *

set_retfp(ea: ea_t) ‑> void

set_retfp(ea)

ea: ea_t

set_root_filename(file: char const *) ‑> void

set_root_filename(file) Set full path of the input file.

file: (C++: const char *) char const *

set_source_linnum(ea: ea_t, lnnum: uval_t) ‑> void

set_source_linnum(ea, lnnum)

ea: ea_t
lnnum: uval_t

set_srcdbg_paths(paths: char const *) ‑> void

set_srcdbg_paths(paths) Set source debug paths.

paths: (C++: const char *) char const *

set_srcdbg_undesired_paths(paths: char const *) ‑> void

set_srcdbg_undesired_paths(paths) Set user-closed source files.

paths: (C++: const char *) char const *

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.

strtype: (C++: int32)
encoding_idx: (C++: int)

set_str_type(ea: ea_t, x: uint32) ‑> void

set_str_type(ea, x)

ea: ea_t
x: uint32

set_switch_info(ea: ea_t, _in: switch_info_t) ‑> void

set_switch_info(ea, _in)

ea: ea_t
in: switch_info_t const &

set_switch_parent(ea: ea_t, x: ea_t) ‑> void

set_switch_parent(ea, x)

ea: ea_t
x: ea_t

set_terse_struc(ea: ea_t) ‑> void

set_terse_struc(ea)

ea: ea_t

set_tilcmt(ea: ea_t) ‑> void

set_tilcmt(ea)

ea: ea_t

set_tinfo(ea: ea_t, tif: tinfo_t) ‑> bool

set_tinfo(ea, tif) -> bool

ea: ea_t
tif: tinfo_t const *

set_type_determined_by_hexrays(ea: ea_t) ‑> void

set_type_determined_by_hexrays(ea)

ea: ea_t

set_type_guessed_by_ida(ea: ea_t) ‑> void

set_type_guessed_by_ida(ea)

ea: ea_t

set_usemodsp(ea: ea_t) ‑> void

set_usemodsp(ea)

ea: ea_t

set_usersp(ea: ea_t) ‑> void

set_usersp(ea)

ea: ea_t

set_userti(ea: ea_t) ‑> void

set_userti(ea)

ea: ea_t

set_visible_item(ea: ea_t, visible: bool) ‑> void

set_visible_item(ea, visible) Change visibility of item at given ea.

ea: (C++: ea_t)
visible: (C++: bool)

set_zstroff(ea: ea_t) ‑> void

set_zstroff(ea)

ea: ea_t

switch_info_t__from_ptrval__(ptrval: size_t) ‑> switch_info_t *

switch_info_t__from_ptrval__(ptrval) -> switch_info_t

ptrval: size_t

unhide_border(ea: ea_t) ‑> void

unhide_border(ea)

ea: ea_t

unhide_item(ea: ea_t) ‑> void

unhide_item(ea)

ea: ea_t

upd_abits(ea: ea_t, clr_bits: aflags_t, set_bits: aflags_t) ‑> void

upd_abits(ea, clr_bits, set_bits)

ea: ea_t
clr_bits: aflags_t
set_bits: aflags_t

uses_aflag_modsp(flags: aflags_t) ‑> bool

uses_aflag_modsp(flags) -> bool

flags: aflags_t

uses_modsp(ea: ea_t) ‑> bool

uses_modsp(ea) -> bool

ea: ea_t

Classes

array_parameters_t()

: Proxy of C++ array_parameters_t class.

__init__(self, _f=0x00000001, _l=0, _a=-1) -> array_parameters_t

 _f: int32
 _l: int32
 _a: int32

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.

__init__(self, data) -> custom_data_type_ids_fids_array

 data: short (&)[8]

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.

__init__(self) -> custom_data_type_ids_t

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.

__init__(self) -> enum_const_t

Instance variables

  • serial: uchar serial


  • tid: tid_t tid


opinfo_t()

: Proxy of C++ opinfo_t class.

__init__(self) -> opinfo_t

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.

__init__(self) -> printop_t

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.

__init__(self) -> refinfo_t

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.

__init__(self, data) -> strpath_ids_array

 data: unsigned long long (&)[32]

Instance variables

  • bytes: bytevec_t _get_bytes(self) -> bytevec_t


  • data: unsigned long long (&)[32] data


strpath_t()

: Proxy of C++ strpath_t class.

__init__(self) -> strpath_t

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.

__init__(self) -> switch_info_t

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