ida_ida
Contains the ::inf structure definition and some functions common to the whole IDA project.
The ::inf structure is saved in the database and contains information specific to the current program being disassembled. Initially it is filled with values from ida.cfg. Although it is not a good idea to change values in ::inf structure (because you will overwrite values taken from ida.cfg), you are allowed to do it if you feel it necessary.
Attributes
Final pass of analysis. |
|
MS DOS EXE File. |
|
MS DOS COM File. |
|
Binary File. |
|
MS DOS Driver. |
|
New Executable (NE) |
|
Intel Hex Object File. |
|
MOS Technology Hex Object File. |
|
Linear Executable (LX) |
|
Linear Executable (LE) |
|
Netware Loadable Module (NLM) |
|
Common Object File Format (COFF) |
|
Portable Executable (PE) |
|
Object Module Format. |
|
Motorola SREC (S-record) |
|
ZIP file (this file is never loaded to IDA database) |
|
Library of OMF Modules. |
|
ar library |
|
file is loaded using LOADER DLL |
|
Executable and Linkable Format (ELF) |
|
Watcom DOS32 Extender (W32RUN) |
|
Linux a.out (AOUT) |
|
PalmPilot program file. |
|
MS DOS EXE File. |
|
MS DOS COM File. |
|
AIX ar library. |
|
Mac OS X Mach-O. |
|
Sony Playstation PSX object file. |
|
Mediatek Firmware Image. |
|
use current storage type (may be used only as a function argument) |
|
regular storage: virtual arrays, an explicit flag for each byte |
|
memory map: sparse storage. useful for huge objects |
|
memory map: temporary debugger storage. used internally |
|
The database parameters. This structure is kept in the ida database. It contains the essential parameters for the current program |
|
Autoanalysis is enabled? |
|
may use constructs not supported by the target assembler |
|
loading an idc file that contains database info |
|
do not store user info in the database |
|
(internal) temporary interdiction to modify the database |
|
check manual operands? (unused) |
|
allow non-matched operands? (unused) |
|
currently using graph options ( text_options_t::graph) |
|
decode floating point processor instructions? |
|
32-bit program (or higher)? |
|
64-bit program? |
|
Is dynamic library? |
|
treat REF_OFF32 as 32-bit offset for 16bit segments (otherwise try SEG16:OFF16) |
|
Byte order: is MSB first? |
|
Bit order of wide bytes: high byte first? (wide bytes: processor_t::dnbits > 8) |
|
do not store input full path in debugger process options |
|
memory snapshot was taken? |
|
pack the database? |
|
compress the database? |
|
is kernel mode binary? |
|
64-bit instructions with 64-bit registers, but 32-bit pointers and address space. this bit is mutually exclusive with LFLG_64BIT |
|
leave database components unpacked |
|
pack database components into .idb |
|
compress & pack database components |
|
Trace execution flow. |
|
Mark typical code sequences as code. |
|
Locate and create jump tables. |
|
Control flow to data segment is ignored. |
|
Analyze and create all xrefs. |
|
Delete instructions with no xrefs. |
|
Create function if data xref data->code32 exists. |
|
Create functions if call is present. |
|
Create function tails. |
|
Create stack variables. |
|
Propagate stack argument information. |
|
Propagate register argument information. |
|
Trace stack pointer. |
|
Perform full SP-analysis. ( processor_t::verify_sp) |
|
Perform 'no-return' analysis. |
|
Try to guess member function types. |
|
Truncate functions upon code deletion. |
|
Create string literal if data xref exists. |
|
Check for unicode strings. |
|
Create offsets and segments using fixup info. |
|
Create offset if data xref to seg32 exists. |
|
Convert 32bit instruction operand to offset. |
|
Automatically convert data to offsets. |
|
Use flirt signatures. |
|
Append a signature name comment for recognized anonymous library functions. |
|
Allow recognition of several copies of the same function. |
|
Automatically hide library functions. |
|
Rename jump functions as j_... |
|
Rename empty functions as nullsub_... |
|
Coagulate data segs at the final pass. |
|
Coagulate code segs at the final pass. |
|
Handle EH information. |
|
Handle RTTI information. |
|
Try to combine several instructions into a macro instruction |
|
Merge string literals created using data xrefs |
|
show segments in xrefs? |
|
show xref type marks? |
|
show function offsets? |
|
show xref values? (otherwise-"...") |
|
mask for name form |
|
display demangled names as comments |
|
display demangled names as regular names |
|
don't display demangled names |
|
assume gcc3 names (valid for gnu compiler) |
|
override type info |
|
include normal names |
|
include public names |
|
include autogenerated names |
|
include weak names |
|
Display void marks? |
|
Display autoanalysis indicator? |
|
Generate empty lines? |
|
Show line prefixes? |
|
line prefixes with segment name? |
|
generate leading zeroes in numbers |
|
Generate 'org' directives? |
|
Generate 'assume' directives? |
|
Generate try/catch directives? |
|
show repeatable comments? |
|
comment all lines? |
|
no comments at all |
|
show source line numbers |
|
testida.idc is running |
|
show hidden instructions |
|
show hidden functions |
|
show hidden segments |
|
thin borders |
|
thick borders |
|
empty lines at the end of basic blocks |
|
show segment addresses? |
|
show function offsets? |
|
show stack pointer? |
|
truncate instruction bytes if they would need more than 1 line |
|
generate names? |
|
names have 'autogenerated' bit? |
|
generate serial names? |
|
unicode strings are present? |
|
generate auto comment for string references? |
|
preserve case of strings for identifiers |
|
4 byte alignment for 8byte scalars (__int64/double) inside structures? |
|
do not align stack arguments to stack slots |
|
use natural type alignment for argument if the alignment exceeds native word size. (e.g. __int64 argument should be 8byte aligned on some 32bit platforms) |
|
long double arguments are passed on stack |
|
varargs are always passed on stack (even when there are free registers) |
|
use the floating-point register set |
|
compiler/abi were set by user flag and require SETCOMP_BY_USER flag to be changed |
|
use gcc layout for udts (used for mingw) |
|
register arguments are mapped to stack area (and consume stack slots) |
|
use natural type alignment for an argument even if its alignment exceeds double native word size (the default is to use double word max). e.g. if this bit is set, __int128 has 16-byte alignment. this bit is not used by ida yet |
|
file format name for loader modules |
|
segment group information (see init_groups()) |
|
C header path. |
|
C predefined macros. |
|
assembler include file name |
|
Graph text representation options. |
|
Text text representation options. |
|
MD5 of the input file. |
|
version of ida which created the database |
|
a list of encodings for the program strings |
|
unused (20 indexes) |
|
SHA256 of the input file. |
|
ABI name (processor specific) |
|
archive file path |
|
problem lists |
|
2..63 are for selector_t blob (see init_selectors()) |
|
notepad blob, occupies 1000 indexes (1MB of text) |
|
source debug paths, occupies 20 indexes |
|
user-closed source files, occupies 20 indexes |
|
initial version of database |
|
database creation timestamp |
|
seconds database stayed open |
|
how many times the database is opened |
|
input file crc32 |
|
image base |
|
ids modnode id (for import_module) |
|
input file size |
|
output file encoding index |
|
max number of operands allowed for an instruction |
|
automatically repair the database |
|
ask user to repair (this bit is mutually exclusive with VLD_AUTO_REPAIR) |
|
no messages to the output window |
|
structure field (opposite to IDI_NODEVAL) |
|
netnode: altval |
|
netnode: supval |
|
netnode: valobj |
|
netnode: blob |
|
scalar value (default) |
|
string |
|
qstring |
|
byte array: binary representation |
|
default representation: hex or "BADADDR" |
|
show as decimal |
|
show as hexadecimal |
|
stored value is incremented (scalars only) |
|
apply ea2node() to value |
|
hashed node field, hash name in offset |
|
call helper for pointer to structure |
|
read-only field (cannot be modified) |
|
bitmap field: interpret bitmask as bit number |
|
show boolean as on/off (not true/false) |
|
field should not be merged as part of INF |
|
Classes
Functions
Module Contents
- ida_ida.SWIG_PYTHON_LEGACY_BOOL
- ida_ida.AF_FINAL
Final pass of analysis.
- ida_ida.f_EXE_old
MS DOS EXE File.
- ida_ida.f_COM_old
MS DOS COM File.
- ida_ida.f_BIN
Binary File.
- ida_ida.f_DRV
MS DOS Driver.
- ida_ida.f_WIN
New Executable (NE)
- ida_ida.f_HEX
Intel Hex Object File.
- ida_ida.f_MEX
MOS Technology Hex Object File.
- ida_ida.f_LX
Linear Executable (LX)
- ida_ida.f_LE
Linear Executable (LE)
- ida_ida.f_NLM
Netware Loadable Module (NLM)
- ida_ida.f_COFF
Common Object File Format (COFF)
- ida_ida.f_PE
Portable Executable (PE)
- ida_ida.f_OMF
Object Module Format.
- ida_ida.f_SREC
Motorola SREC (S-record)
- ida_ida.f_ZIP
ZIP file (this file is never loaded to IDA database)
- ida_ida.f_OMFLIB
Library of OMF Modules.
- ida_ida.f_AR
ar library
- ida_ida.f_LOADER
file is loaded using LOADER DLL
- ida_ida.f_ELF
Executable and Linkable Format (ELF)
- ida_ida.f_W32RUN
Watcom DOS32 Extender (W32RUN)
- ida_ida.f_AOUT
Linux a.out (AOUT)
- ida_ida.f_PRC
PalmPilot program file.
- ida_ida.f_EXE
MS DOS EXE File.
- ida_ida.f_COM
MS DOS COM File.
- ida_ida.f_AIXAR
AIX ar library.
- ida_ida.f_MACHO
Mac OS X Mach-O.
- ida_ida.f_PSXOBJ
Sony Playstation PSX object file.
- ida_ida.f_MD1IMG
Mediatek Firmware Image.
- ida_ida.is_filetype_like_binary(ft: filetype_t) bool
Is unstructured input file?
- class ida_ida.compiler_info_t
Bases:
object
- thisown
- id: comp_t
compiler id (see Compiler IDs)
- cm: cm_t
memory model and calling convention (see CM) see also get_cc/set_cc
- size_i: uchar
sizeof(int)
- size_b: uchar
sizeof(bool)
- size_e: uchar
sizeof(enum)
- defalign: uchar
default alignment for structures
- size_s: uchar
short
- size_l: uchar
long
- size_ll: uchar
longlong
- size_ldbl: uchar
longdouble (if different from processor_t::tbyte_size)
- get_cc() callcnv_t
- set_cc(cc: callcnv_t) None
- ida_ida.STT_CUR
use current storage type (may be used only as a function argument)
- ida_ida.STT_VA
regular storage: virtual arrays, an explicit flag for each byte
- ida_ida.STT_MM
memory map: sparse storage. useful for huge objects
- ida_ida.STT_DBG
memory map: temporary debugger storage. used internally
- ida_ida.IDAINFO_TAG_SIZE
The database parameters. This structure is kept in the ida database. It contains the essential parameters for the current program
- ida_ida.IDAINFO_PROCNAME_SIZE
- ida_ida.IDAINFO_STRLIT_PREF_SIZE
- class ida_ida.idainfo(*args, **kwargs)
Bases:
object
- thisown
- tag: char[3]
‘IDA’
- version: ushort
Version of database.
- procname: char[16]
Name of the current processor (with 0)
- s_genflags: ushort
General idainfo flags
- database_change_count: int
incremented after each byte and regular segment modifications
- filetype: ushort
The input file type.
- ostype: ushort
OS type the program is for bit definitions in libfuncs.hpp
- apptype: ushort
Application type bit definitions in libfuncs.hpp
- asmtype: uchar
target assembler number
- specsegs: uchar
What format do special segments use? 0-unspecified, 4-entries are 4 bytes, 8- entries are 8 bytes.
- af: int
Analysis flags
- af2: int
Analysis flags 2
- baseaddr: int
remaining 28 bits are reserved
base address of the program (paragraphs)
- start_ss: sel_t
selector of the initial stack segment
- start_cs: sel_t
selector of the segment with the main entry point
- start_ip: ida_idaapi.ea_t
IP register value at the start of program execution
- start_ea: ida_idaapi.ea_t
Linear address of program entry point.
- start_sp: ida_idaapi.ea_t
SP register value at the start of program execution
- main: ida_idaapi.ea_t
address of main()
- min_ea: ida_idaapi.ea_t
current limits of program
- max_ea: ida_idaapi.ea_t
maxEA is excluded
- omin_ea: ida_idaapi.ea_t
original minEA (is set after loading the input file)
- omax_ea: ida_idaapi.ea_t
original maxEA (is set after loading the input file)
- lowoff: ida_idaapi.ea_t
Low limit for offsets (used in calculation of ‘void’ operands)
- highoff: ida_idaapi.ea_t
High limit for offsets (used in calculation of ‘void’ operands)
- maxref: int
Max tail for references.
- xrefnum: uchar
CROSS REFERENCES.
Number of references to generate in the disassembly listing 0 - xrefs won’t be generated at all
- type_xrefnum: uchar
Number of references to generate in the struct & enum windows 0 - xrefs won’t be generated at all
- refcmtnum: uchar
Number of comment lines to generate for refs to string literals or demangled names 0 - such comments won’t be generated at all
- s_xrefflag: uchar
Xref options
- max_autoname_len: ushort
NAMES.
max autogenerated name length (without zero byte)
- nametype: char
Dummy names representation types
- short_demnames: int
short form of demangled names
- long_demnames: int
long form of demangled names see demangle.h for definitions
- demnames: uchar
Demangled name flags
- listnames: uchar
Name list options
- indent: uchar
DISASSEMBLY LISTING DETAILS.
Indentation for instructions
- cmt_indent: uchar
Indentation for comments.
- margin: ushort
max length of data lines
- lenxref: ushort
max length of line with xrefs
- outflags: int
output flags
- s_cmtflg: uchar
Comment options
- s_limiter: uchar
Delimiter options
- bin_prefix_size: short
Number of instruction bytes (opcodes) to show in line prefix.
- s_prefflag: uchar
Line prefix options
- strlit_flags: uchar
STRING LITERALS.
string literal flags
- strlit_break: uchar
string literal line break symbol
- strlit_zeroes: char
leading zeroes
- strtype: int
current ascii string type see nalt.hpp for string types
- strlit_pref: char[16]
prefix for string literal names
- strlit_sernum: int
serial number
- datatypes: int
data types allowed in data carousel
- cc: compiler_info_t
COMPILER.
Target compiler
- abibits: int
ABI features. Depends on info returned by get_abi_name() Processor modules may modify them in set_compiler
- appcall_options: int
appcall options, see idd.hpp
- get_abiname() str
- abiname
- lflags
Misc. database flags
- minEA
- maxEA
- procName
- ida_ida.INFFL_AUTO
Autoanalysis is enabled?
- ida_ida.INFFL_ALLASM
may use constructs not supported by the target assembler
- ida_ida.INFFL_LOADIDC
loading an idc file that contains database info
- ida_ida.INFFL_NOUSER
do not store user info in the database
- ida_ida.INFFL_READONLY
(internal) temporary interdiction to modify the database
- ida_ida.INFFL_CHKOPS
check manual operands? (unused)
- ida_ida.INFFL_NMOPS
allow non-matched operands? (unused)
- ida_ida.INFFL_GRAPH_VIEW
currently using graph options ( text_options_t::graph)
- ida_ida.LFLG_PC_FPP
decode floating point processor instructions?
- ida_ida.LFLG_PC_FLAT
32-bit program (or higher)?
- ida_ida.LFLG_64BIT
64-bit program?
- ida_ida.LFLG_IS_DLL
Is dynamic library?
- ida_ida.LFLG_FLAT_OFF32
treat REF_OFF32 as 32-bit offset for 16bit segments (otherwise try SEG16:OFF16)
- ida_ida.LFLG_MSF
Byte order: is MSB first?
- ida_ida.LFLG_WIDE_HBF
Bit order of wide bytes: high byte first? (wide bytes: processor_t::dnbits > 8)
- ida_ida.LFLG_DBG_NOPATH
do not store input full path in debugger process options
- ida_ida.LFLG_SNAPSHOT
memory snapshot was taken?
- ida_ida.LFLG_PACK
pack the database?
- ida_ida.LFLG_COMPRESS
compress the database?
- ida_ida.LFLG_KERNMODE
is kernel mode binary?
- ida_ida.LFLG_ILP32
64-bit instructions with 64-bit registers, but 32-bit pointers and address space. this bit is mutually exclusive with LFLG_64BIT
- ida_ida.IDB_UNPACKED
leave database components unpacked
- ida_ida.IDB_PACKED
pack database components into .idb
- ida_ida.IDB_COMPRESSED
compress & pack database components
- ida_ida.AF_CODE
Trace execution flow.
- ida_ida.AF_MARKCODE
Mark typical code sequences as code.
- ida_ida.AF_JUMPTBL
Locate and create jump tables.
- ida_ida.AF_PURDAT
Control flow to data segment is ignored.
- ida_ida.AF_USED
Analyze and create all xrefs.
- ida_ida.AF_UNK
Delete instructions with no xrefs.
- ida_ida.AF_PROCPTR
Create function if data xref data->code32 exists.
- ida_ida.AF_PROC
Create functions if call is present.
- ida_ida.AF_FTAIL
Create function tails.
- ida_ida.AF_LVAR
Create stack variables.
- ida_ida.AF_STKARG
Propagate stack argument information.
- ida_ida.AF_REGARG
Propagate register argument information.
- ida_ida.AF_TRACE
Trace stack pointer.
- ida_ida.AF_VERSP
Perform full SP-analysis. ( processor_t::verify_sp)
- ida_ida.AF_ANORET
Perform ‘no-return’ analysis.
- ida_ida.AF_MEMFUNC
Try to guess member function types.
- ida_ida.AF_TRFUNC
Truncate functions upon code deletion.
- ida_ida.AF_STRLIT
Create string literal if data xref exists.
- ida_ida.AF_CHKUNI
Check for unicode strings.
- ida_ida.AF_FIXUP
Create offsets and segments using fixup info.
- ida_ida.AF_DREFOFF
Create offset if data xref to seg32 exists.
- ida_ida.AF_IMMOFF
Convert 32bit instruction operand to offset.
- ida_ida.AF_DATOFF
Automatically convert data to offsets.
- ida_ida.AF_FLIRT
Use flirt signatures.
- ida_ida.AF_SIGCMT
Append a signature name comment for recognized anonymous library functions.
- ida_ida.AF_SIGMLT
Allow recognition of several copies of the same function.
- ida_ida.AF_HFLIRT
Automatically hide library functions.
- ida_ida.AF_DODATA
Coagulate data segs at the final pass.
- ida_ida.AF_DOCODE
Coagulate code segs at the final pass.
- ida_ida.AF2_DOEH
Handle EH information.
- ida_ida.AF2_DORTTI
Handle RTTI information.
- ida_ida.AF2_MACRO
Try to combine several instructions into a macro instruction
- ida_ida.AF2_MERGESTR
Merge string literals created using data xrefs
- ida_ida.SW_SEGXRF
show segments in xrefs?
- ida_ida.SW_XRFMRK
show xref type marks?
- ida_ida.SW_XRFFNC
show function offsets?
- ida_ida.SW_XRFVAL
show xref values? (otherwise-”…”)
- ida_ida.NM_REL_OFF
- ida_ida.NM_PTR_OFF
- ida_ida.NM_NAM_OFF
- ida_ida.NM_REL_EA
- ida_ida.NM_PTR_EA
- ida_ida.NM_NAM_EA
- ida_ida.NM_EA
- ida_ida.NM_EA4
- ida_ida.NM_EA8
- ida_ida.NM_SHORT
- ida_ida.NM_SERIAL
- ida_ida.DEMNAM_MASK
mask for name form
- ida_ida.DEMNAM_CMNT
display demangled names as comments
- ida_ida.DEMNAM_NAME
display demangled names as regular names
- ida_ida.DEMNAM_NONE
don’t display demangled names
- ida_ida.DEMNAM_GCC3
assume gcc3 names (valid for gnu compiler)
- ida_ida.DEMNAM_FIRST
override type info
- ida_ida.LN_NORMAL
include normal names
- ida_ida.LN_PUBLIC
include public names
- ida_ida.LN_AUTO
include autogenerated names
- ida_ida.LN_WEAK
include weak names
- ida_ida.OFLG_SHOW_VOID
Display void marks?
- ida_ida.OFLG_SHOW_AUTO
Display autoanalysis indicator?
- ida_ida.OFLG_GEN_NULL
Generate empty lines?
- ida_ida.OFLG_SHOW_PREF
Show line prefixes?
- ida_ida.OFLG_PREF_SEG
line prefixes with segment name?
- ida_ida.OFLG_LZERO
generate leading zeroes in numbers
- ida_ida.OFLG_GEN_ORG
Generate ‘org’ directives?
- ida_ida.OFLG_GEN_ASSUME
Generate ‘assume’ directives?
- ida_ida.OFLG_GEN_TRYBLKS
Generate try/catch directives?
- ida_ida.SCF_RPTCMT
show repeatable comments?
- ida_ida.SCF_ALLCMT
comment all lines?
- ida_ida.SCF_NOCMT
no comments at all
- ida_ida.SCF_LINNUM
show source line numbers
- ida_ida.SCF_TESTMODE
testida.idc is running
- ida_ida.SCF_SHHID_ITEM
show hidden instructions
- ida_ida.SCF_SHHID_FUNC
show hidden functions
- ida_ida.SCF_SHHID_SEGM
show hidden segments
- ida_ida.LMT_THIN
thin borders
- ida_ida.LMT_THICK
thick borders
- ida_ida.LMT_EMPTY
empty lines at the end of basic blocks
- ida_ida.PREF_SEGADR
show segment addresses?
- ida_ida.PREF_FNCOFF
show function offsets?
- ida_ida.PREF_STACK
show stack pointer?
- ida_ida.PREF_PFXTRUNC
truncate instruction bytes if they would need more than 1 line
- ida_ida.STRF_GEN
generate names?
- ida_ida.STRF_AUTO
names have ‘autogenerated’ bit?
- ida_ida.STRF_SERIAL
generate serial names?
- ida_ida.STRF_UNICODE
unicode strings are present?
- ida_ida.STRF_COMMENT
generate auto comment for string references?
- ida_ida.STRF_SAVECASE
preserve case of strings for identifiers
- ida_ida.ABI_8ALIGN4
4 byte alignment for 8byte scalars (__int64/double) inside structures?
- ida_ida.ABI_PACK_STKARGS
do not align stack arguments to stack slots
- ida_ida.ABI_BIGARG_ALIGN
use natural type alignment for argument if the alignment exceeds native word size. (e.g. __int64 argument should be 8byte aligned on some 32bit platforms)
- ida_ida.ABI_STACK_LDBL
long double arguments are passed on stack
- ida_ida.ABI_STACK_VARARGS
varargs are always passed on stack (even when there are free registers)
- ida_ida.ABI_HARD_FLOAT
use the floating-point register set
- ida_ida.ABI_SET_BY_USER
compiler/abi were set by user flag and require SETCOMP_BY_USER flag to be changed
- ida_ida.ABI_GCC_LAYOUT
use gcc layout for udts (used for mingw)
- ida_ida.ABI_MAP_STKARGS
register arguments are mapped to stack area (and consume stack slots)
- ida_ida.ABI_HUGEARG_ALIGN
use natural type alignment for an argument even if its alignment exceeds double native word size (the default is to use double word max). e.g. if this bit is set, __int128 has 16-byte alignment. this bit is not used by ida yet
- ida_ida.INF_VERSION
- ida_ida.INF_PROCNAME
- ida_ida.INF_GENFLAGS
- ida_ida.INF_LFLAGS
- ida_ida.INF_DATABASE_CHANGE_COUNT
- ida_ida.INF_FILETYPE
- ida_ida.INF_OSTYPE
- ida_ida.INF_APPTYPE
- ida_ida.INF_ASMTYPE
- ida_ida.INF_SPECSEGS
- ida_ida.INF_AF
- ida_ida.INF_AF2
- ida_ida.INF_BASEADDR
- ida_ida.INF_START_SS
- ida_ida.INF_START_CS
- ida_ida.INF_START_IP
- ida_ida.INF_START_EA
- ida_ida.INF_START_SP
- ida_ida.INF_MAIN
- ida_ida.INF_MIN_EA
- ida_ida.INF_MAX_EA
- ida_ida.INF_OMIN_EA
- ida_ida.INF_OMAX_EA
- ida_ida.INF_LOWOFF
- ida_ida.INF_HIGHOFF
- ida_ida.INF_MAXREF
- ida_ida.INF_PRIVRANGE
- ida_ida.INF_PRIVRANGE_START_EA
- ida_ida.INF_PRIVRANGE_END_EA
- ida_ida.INF_NETDELTA
- ida_ida.INF_XREFNUM
- ida_ida.INF_TYPE_XREFNUM
- ida_ida.INF_REFCMTNUM
- ida_ida.INF_XREFFLAG
- ida_ida.INF_MAX_AUTONAME_LEN
- ida_ida.INF_NAMETYPE
- ida_ida.INF_SHORT_DEMNAMES
- ida_ida.INF_LONG_DEMNAMES
- ida_ida.INF_DEMNAMES
- ida_ida.INF_LISTNAMES
- ida_ida.INF_INDENT
- ida_ida.INF_CMT_INDENT
- ida_ida.INF_MARGIN
- ida_ida.INF_LENXREF
- ida_ida.INF_OUTFLAGS
- ida_ida.INF_CMTFLG
- ida_ida.INF_LIMITER
- ida_ida.INF_BIN_PREFIX_SIZE
- ida_ida.INF_PREFFLAG
- ida_ida.INF_STRLIT_FLAGS
- ida_ida.INF_STRLIT_BREAK
- ida_ida.INF_STRLIT_ZEROES
- ida_ida.INF_STRTYPE
- ida_ida.INF_STRLIT_PREF
- ida_ida.INF_STRLIT_SERNUM
- ida_ida.INF_DATATYPES
- ida_ida.INF_OBSOLETE_CC
- ida_ida.INF_CC_ID
- ida_ida.INF_CC_CM
- ida_ida.INF_CC_SIZE_I
- ida_ida.INF_CC_SIZE_B
- ida_ida.INF_CC_SIZE_E
- ida_ida.INF_CC_DEFALIGN
- ida_ida.INF_CC_SIZE_S
- ida_ida.INF_CC_SIZE_L
- ida_ida.INF_CC_SIZE_LL
- ida_ida.INF_CC_SIZE_LDBL
- ida_ida.INF_ABIBITS
- ida_ida.INF_APPCALL_OPTIONS
- ida_ida.INF_FILE_FORMAT_NAME
file format name for loader modules
- ida_ida.INF_GROUPS
segment group information (see init_groups())
- ida_ida.INF_H_PATH
C header path.
- ida_ida.INF_C_MACROS
C predefined macros.
- ida_ida.INF_INCLUDE
assembler include file name
- ida_ida.INF_DUALOP_GRAPH
Graph text representation options.
- ida_ida.INF_DUALOP_TEXT
Text text representation options.
- ida_ida.INF_MD5
MD5 of the input file.
- ida_ida.INF_IDA_VERSION
version of ida which created the database
- ida_ida.INF_STR_ENCODINGS
a list of encodings for the program strings
- ida_ida.INF_DBG_BINPATHS
unused (20 indexes)
- ida_ida.INF_SHA256
SHA256 of the input file.
- ida_ida.INF_ABINAME
ABI name (processor specific)
- ida_ida.INF_ARCHIVE_PATH
archive file path
- ida_ida.INF_PROBLEMS
problem lists
- ida_ida.INF_SELECTORS
2..63 are for selector_t blob (see init_selectors())
- ida_ida.INF_NOTEPAD
notepad blob, occupies 1000 indexes (1MB of text)
- ida_ida.INF_SRCDBG_PATHS
source debug paths, occupies 20 indexes
- ida_ida.INF_SRCDBG_UNDESIRED
user-closed source files, occupies 20 indexes
- ida_ida.INF_INITIAL_VERSION
initial version of database
- ida_ida.INF_CTIME
database creation timestamp
- ida_ida.INF_ELAPSED
seconds database stayed open
- ida_ida.INF_NOPENS
how many times the database is opened
- ida_ida.INF_CRC32
input file crc32
- ida_ida.INF_IMAGEBASE
image base
- ida_ida.INF_IDSNODE
ids modnode id (for import_module)
- ida_ida.INF_FSIZE
input file size
- ida_ida.INF_OUTFILEENC
output file encoding index
- ida_ida.INF_INPUT_FILE_PATH
- ida_ida.INF_COMPILER_INFO
- ida_ida.INF_CALLCNV
- ida_ida.INF_LAST
- ida_ida.getinf_str(tag: inftag_t) str
Get program specific information (a non-scalar value)
- Parameters:
tag – one of inftag_t constants
- Returns:
number of bytes stored in the buffer (<0 - not defined)
- ida_ida.delinf(tag: inftag_t) bool
Undefine a program specific information
- Parameters:
tag – one of inftag_t constants
- Returns:
success
- ida_ida.inf_get_version() ushort
- ida_ida.inf_set_version(_v: ushort) bool
- ida_ida.inf_get_genflags() ushort
- ida_ida.inf_set_genflags(_v: ushort) bool
- ida_ida.inf_is_auto_enabled() bool
- ida_ida.inf_set_auto_enabled(_v: bool = True) bool
- ida_ida.inf_use_allasm() bool
- ida_ida.inf_set_use_allasm(_v: bool = True) bool
- ida_ida.inf_loading_idc() bool
- ida_ida.inf_set_loading_idc(_v: bool = True) bool
- ida_ida.inf_no_store_user_info() bool
- ida_ida.inf_set_no_store_user_info(_v: bool = True) bool
- ida_ida.inf_readonly_idb() bool
- ida_ida.inf_set_readonly_idb(_v: bool = True) bool
- ida_ida.inf_check_manual_ops() bool
- ida_ida.inf_set_check_manual_ops(_v: bool = True) bool
- ida_ida.inf_allow_non_matched_ops() bool
- ida_ida.inf_set_allow_non_matched_ops(_v: bool = True) bool
- ida_ida.inf_is_graph_view() bool
- ida_ida.inf_set_graph_view(_v: bool = True) bool
- ida_ida.inf_get_lflags() int
- ida_ida.inf_set_lflags(_v: int) bool
- ida_ida.inf_decode_fpp() bool
- ida_ida.inf_set_decode_fpp(_v: bool = True) bool
- ida_ida.inf_is_32bit_or_higher() bool
- ida_ida.inf_is_32bit_exactly() bool
- ida_ida.inf_set_32bit(_v: bool = True) bool
- ida_ida.inf_is_16bit() bool
- ida_ida.inf_is_64bit() bool
- ida_ida.inf_set_64bit(_v: bool = True) bool
- ida_ida.inf_is_ilp32() bool
- ida_ida.inf_set_ilp32(_v: bool = True) bool
- ida_ida.inf_is_dll() bool
- ida_ida.inf_set_dll(_v: bool = True) bool
- ida_ida.inf_is_flat_off32() bool
- ida_ida.inf_set_flat_off32(_v: bool = True) bool
- ida_ida.inf_is_be() bool
- ida_ida.inf_set_be(_v: bool = True) bool
- ida_ida.inf_is_wide_high_byte_first() bool
- ida_ida.inf_set_wide_high_byte_first(_v: bool = True) bool
- ida_ida.inf_dbg_no_store_path() bool
- ida_ida.inf_set_dbg_no_store_path(_v: bool = True) bool
- ida_ida.inf_is_snapshot() bool
- ida_ida.inf_set_snapshot(_v: bool = True) bool
- ida_ida.inf_pack_idb() bool
- ida_ida.inf_set_pack_idb(_v: bool = True) bool
- ida_ida.inf_compress_idb() bool
- ida_ida.inf_set_compress_idb(_v: bool = True) bool
- ida_ida.inf_is_kernel_mode() bool
- ida_ida.inf_set_kernel_mode(_v: bool = True) bool
- ida_ida.inf_get_app_bitness() uint
- ida_ida.inf_set_app_bitness(bitness: uint) None
- ida_ida.inf_get_database_change_count() int
- ida_ida.inf_set_database_change_count(_v: int) bool
- ida_ida.inf_get_filetype() filetype_t
- ida_ida.inf_set_filetype(_v: filetype_t) bool
- ida_ida.inf_get_ostype() ushort
- ida_ida.inf_set_ostype(_v: ushort) bool
- ida_ida.inf_get_apptype() ushort
- ida_ida.inf_set_apptype(_v: ushort) bool
- ida_ida.inf_get_asmtype() uchar
- ida_ida.inf_set_asmtype(_v: uchar) bool
- ida_ida.inf_get_specsegs() uchar
- ida_ida.inf_set_specsegs(_v: uchar) bool
- ida_ida.inf_get_af() int
- ida_ida.inf_set_af(_v: int) bool
- ida_ida.inf_trace_flow() bool
- ida_ida.inf_set_trace_flow(_v: bool = True) bool
- ida_ida.inf_mark_code() bool
- ida_ida.inf_set_mark_code(_v: bool = True) bool
- ida_ida.inf_create_jump_tables() bool
- ida_ida.inf_set_create_jump_tables(_v: bool = True) bool
- ida_ida.inf_noflow_to_data() bool
- ida_ida.inf_set_noflow_to_data(_v: bool = True) bool
- ida_ida.inf_create_all_xrefs() bool
- ida_ida.inf_set_create_all_xrefs(_v: bool = True) bool
- ida_ida.inf_del_no_xref_insns() bool
- ida_ida.inf_set_del_no_xref_insns(_v: bool = True) bool
- ida_ida.inf_create_func_from_ptr() bool
- ida_ida.inf_set_create_func_from_ptr(_v: bool = True) bool
- ida_ida.inf_create_func_from_call() bool
- ida_ida.inf_set_create_func_from_call(_v: bool = True) bool
- ida_ida.inf_create_func_tails() bool
- ida_ida.inf_set_create_func_tails(_v: bool = True) bool
- ida_ida.inf_should_create_stkvars() bool
- ida_ida.inf_set_should_create_stkvars(_v: bool = True) bool
- ida_ida.inf_propagate_stkargs() bool
- ida_ida.inf_set_propagate_stkargs(_v: bool = True) bool
- ida_ida.inf_propagate_regargs() bool
- ida_ida.inf_set_propagate_regargs(_v: bool = True) bool
- ida_ida.inf_should_trace_sp() bool
- ida_ida.inf_set_should_trace_sp(_v: bool = True) bool
- ida_ida.inf_full_sp_ana() bool
- ida_ida.inf_set_full_sp_ana(_v: bool = True) bool
- ida_ida.inf_noret_ana() bool
- ida_ida.inf_set_noret_ana(_v: bool = True) bool
- ida_ida.inf_guess_func_type() bool
- ida_ida.inf_set_guess_func_type(_v: bool = True) bool
- ida_ida.inf_truncate_on_del() bool
- ida_ida.inf_set_truncate_on_del(_v: bool = True) bool
- ida_ida.inf_create_strlit_on_xref() bool
- ida_ida.inf_set_create_strlit_on_xref(_v: bool = True) bool
- ida_ida.inf_check_unicode_strlits() bool
- ida_ida.inf_set_check_unicode_strlits(_v: bool = True) bool
- ida_ida.inf_create_off_using_fixup() bool
- ida_ida.inf_set_create_off_using_fixup(_v: bool = True) bool
- ida_ida.inf_create_off_on_dref() bool
- ida_ida.inf_set_create_off_on_dref(_v: bool = True) bool
- ida_ida.inf_op_offset() bool
- ida_ida.inf_set_op_offset(_v: bool = True) bool
- ida_ida.inf_data_offset() bool
- ida_ida.inf_set_data_offset(_v: bool = True) bool
- ida_ida.inf_use_flirt() bool
- ida_ida.inf_set_use_flirt(_v: bool = True) bool
- ida_ida.inf_append_sigcmt() bool
- ida_ida.inf_set_append_sigcmt(_v: bool = True) bool
- ida_ida.inf_allow_sigmulti() bool
- ida_ida.inf_set_allow_sigmulti(_v: bool = True) bool
- ida_ida.inf_hide_libfuncs() bool
- ida_ida.inf_set_hide_libfuncs(_v: bool = True) bool
- ida_ida.inf_rename_jumpfunc() bool
- ida_ida.inf_set_rename_jumpfunc(_v: bool = True) bool
- ida_ida.inf_rename_nullsub() bool
- ida_ida.inf_set_rename_nullsub(_v: bool = True) bool
- ida_ida.inf_coagulate_data() bool
- ida_ida.inf_set_coagulate_data(_v: bool = True) bool
- ida_ida.inf_coagulate_code() bool
- ida_ida.inf_set_coagulate_code(_v: bool = True) bool
- ida_ida.inf_final_pass() bool
- ida_ida.inf_set_final_pass(_v: bool = True) bool
- ida_ida.inf_get_af2() int
- ida_ida.inf_set_af2(_v: int) bool
- ida_ida.inf_handle_eh() bool
- ida_ida.inf_set_handle_eh(_v: bool = True) bool
- ida_ida.inf_handle_rtti() bool
- ida_ida.inf_set_handle_rtti(_v: bool = True) bool
- ida_ida.inf_macros_enabled() bool
- ida_ida.inf_set_macros_enabled(_v: bool = True) bool
- ida_ida.inf_merge_strlits() bool
- ida_ida.inf_set_merge_strlits(_v: bool = True) bool
- ida_ida.inf_get_baseaddr() int
- ida_ida.inf_set_baseaddr(_v: int) bool
- ida_ida.inf_get_start_ss() sel_t
- ida_ida.inf_set_start_ss(_v: sel_t) bool
- ida_ida.inf_get_start_cs() sel_t
- ida_ida.inf_set_start_cs(_v: sel_t) bool
- ida_ida.inf_get_start_ip() ida_idaapi.ea_t
- ida_ida.inf_set_start_ip(_v: ida_idaapi.ea_t) bool
- ida_ida.inf_get_start_ea() ida_idaapi.ea_t
- ida_ida.inf_set_start_ea(_v: ida_idaapi.ea_t) bool
- ida_ida.inf_get_start_sp() ida_idaapi.ea_t
- ida_ida.inf_set_start_sp(_v: ida_idaapi.ea_t) bool
- ida_ida.inf_get_main() ida_idaapi.ea_t
- ida_ida.inf_set_main(_v: ida_idaapi.ea_t) bool
- ida_ida.inf_get_min_ea() ida_idaapi.ea_t
- ida_ida.inf_set_min_ea(_v: ida_idaapi.ea_t) bool
- ida_ida.inf_get_max_ea() ida_idaapi.ea_t
- ida_ida.inf_set_max_ea(_v: ida_idaapi.ea_t) bool
- ida_ida.inf_get_omin_ea() ida_idaapi.ea_t
- ida_ida.inf_set_omin_ea(_v: ida_idaapi.ea_t) bool
- ida_ida.inf_get_omax_ea() ida_idaapi.ea_t
- ida_ida.inf_set_omax_ea(_v: ida_idaapi.ea_t) bool
- ida_ida.inf_get_lowoff() ida_idaapi.ea_t
- ida_ida.inf_set_lowoff(_v: ida_idaapi.ea_t) bool
- ida_ida.inf_get_highoff() ida_idaapi.ea_t
- ida_ida.inf_set_highoff(_v: ida_idaapi.ea_t) bool
- ida_ida.inf_get_maxref() int
- ida_ida.inf_set_maxref(_v: int) bool
- ida_ida.inf_get_netdelta() int
- ida_ida.inf_set_netdelta(_v: int) bool
- ida_ida.inf_get_xrefnum() uchar
- ida_ida.inf_set_xrefnum(_v: uchar) bool
- ida_ida.inf_get_type_xrefnum() uchar
- ida_ida.inf_set_type_xrefnum(_v: uchar) bool
- ida_ida.inf_get_refcmtnum() uchar
- ida_ida.inf_set_refcmtnum(_v: uchar) bool
- ida_ida.inf_get_xrefflag() uchar
- ida_ida.inf_set_xrefflag(_v: uchar) bool
- ida_ida.inf_show_xref_seg() bool
- ida_ida.inf_set_show_xref_seg(_v: bool = True) bool
- ida_ida.inf_show_xref_tmarks() bool
- ida_ida.inf_set_show_xref_tmarks(_v: bool = True) bool
- ida_ida.inf_show_xref_fncoff() bool
- ida_ida.inf_set_show_xref_fncoff(_v: bool = True) bool
- ida_ida.inf_show_xref_val() bool
- ida_ida.inf_set_show_xref_val(_v: bool = True) bool
- ida_ida.inf_get_max_autoname_len() ushort
- ida_ida.inf_set_max_autoname_len(_v: ushort) bool
- ida_ida.inf_get_nametype() char
- ida_ida.inf_set_nametype(_v: char) bool
- ida_ida.inf_get_short_demnames() int
- ida_ida.inf_set_short_demnames(_v: int) bool
- ida_ida.inf_get_long_demnames() int
- ida_ida.inf_set_long_demnames(_v: int) bool
- ida_ida.inf_get_demnames() uchar
- ida_ida.inf_set_demnames(_v: uchar) bool
- ida_ida.inf_get_listnames() uchar
- ida_ida.inf_set_listnames(_v: uchar) bool
- ida_ida.inf_get_indent() uchar
- ida_ida.inf_set_indent(_v: uchar) bool
- ida_ida.inf_get_cmt_indent() uchar
- ida_ida.inf_set_cmt_indent(_v: uchar) bool
- ida_ida.inf_get_margin() ushort
- ida_ida.inf_set_margin(_v: ushort) bool
- ida_ida.inf_get_lenxref() ushort
- ida_ida.inf_set_lenxref(_v: ushort) bool
- ida_ida.inf_get_outflags() int
- ida_ida.inf_set_outflags(_v: int) bool
- ida_ida.inf_show_void() bool
- ida_ida.inf_set_show_void(_v: bool = True) bool
- ida_ida.inf_show_auto() bool
- ida_ida.inf_set_show_auto(_v: bool = True) bool
- ida_ida.inf_gen_null() bool
- ida_ida.inf_set_gen_null(_v: bool = True) bool
- ida_ida.inf_show_line_pref() bool
- ida_ida.inf_set_show_line_pref(_v: bool = True) bool
- ida_ida.inf_line_pref_with_seg() bool
- ida_ida.inf_set_line_pref_with_seg(_v: bool = True) bool
- ida_ida.inf_gen_lzero() bool
- ida_ida.inf_set_gen_lzero(_v: bool = True) bool
- ida_ida.inf_gen_org() bool
- ida_ida.inf_set_gen_org(_v: bool = True) bool
- ida_ida.inf_gen_assume() bool
- ida_ida.inf_set_gen_assume(_v: bool = True) bool
- ida_ida.inf_gen_tryblks() bool
- ida_ida.inf_set_gen_tryblks(_v: bool = True) bool
- ida_ida.inf_get_cmtflg() uchar
- ida_ida.inf_set_cmtflg(_v: uchar) bool
- ida_ida.inf_show_repeatables() bool
- ida_ida.inf_set_show_repeatables(_v: bool = True) bool
- ida_ida.inf_show_all_comments() bool
- ida_ida.inf_set_show_all_comments(_v: bool = True) bool
- ida_ida.inf_hide_comments() bool
- ida_ida.inf_set_hide_comments(_v: bool = True) bool
- ida_ida.inf_show_src_linnum() bool
- ida_ida.inf_set_show_src_linnum(_v: bool = True) bool
- ida_ida.inf_test_mode() bool
- ida_ida.inf_get_limiter() uchar
- ida_ida.inf_set_limiter(_v: uchar) bool
- ida_ida.inf_is_limiter_thin() bool
- ida_ida.inf_set_limiter_thin(_v: bool = True) bool
- ida_ida.inf_is_limiter_thick() bool
- ida_ida.inf_set_limiter_thick(_v: bool = True) bool
- ida_ida.inf_is_limiter_empty() bool
- ida_ida.inf_set_limiter_empty(_v: bool = True) bool
- ida_ida.inf_get_bin_prefix_size() short
- ida_ida.inf_set_bin_prefix_size(_v: short) bool
- ida_ida.inf_get_prefflag() uchar
- ida_ida.inf_set_prefflag(_v: uchar) bool
- ida_ida.inf_prefix_show_segaddr() bool
- ida_ida.inf_set_prefix_show_segaddr(_v: bool = True) bool
- ida_ida.inf_prefix_show_funcoff() bool
- ida_ida.inf_set_prefix_show_funcoff(_v: bool = True) bool
- ida_ida.inf_prefix_show_stack() bool
- ida_ida.inf_set_prefix_show_stack(_v: bool = True) bool
- ida_ida.inf_prefix_truncate_opcode_bytes() bool
- ida_ida.inf_set_prefix_truncate_opcode_bytes(_v: bool = True) bool
- ida_ida.inf_get_strlit_flags() uchar
- ida_ida.inf_set_strlit_flags(_v: uchar) bool
- ida_ida.inf_strlit_names() bool
- ida_ida.inf_set_strlit_names(_v: bool = True) bool
- ida_ida.inf_strlit_name_bit() bool
- ida_ida.inf_set_strlit_name_bit(_v: bool = True) bool
- ida_ida.inf_strlit_serial_names() bool
- ida_ida.inf_set_strlit_serial_names(_v: bool = True) bool
- ida_ida.inf_unicode_strlits() bool
- ida_ida.inf_set_unicode_strlits(_v: bool = True) bool
- ida_ida.inf_strlit_autocmt() bool
- ida_ida.inf_set_strlit_autocmt(_v: bool = True) bool
- ida_ida.inf_strlit_savecase() bool
- ida_ida.inf_set_strlit_savecase(_v: bool = True) bool
- ida_ida.inf_get_strlit_break() uchar
- ida_ida.inf_set_strlit_break(_v: uchar) bool
- ida_ida.inf_get_strlit_zeroes() char
- ida_ida.inf_set_strlit_zeroes(_v: char) bool
- ida_ida.inf_get_strtype() int
- ida_ida.inf_set_strtype(_v: int) bool
- ida_ida.inf_get_strlit_sernum() int
- ida_ida.inf_set_strlit_sernum(_v: int) bool
- ida_ida.inf_get_datatypes() int
- ida_ida.inf_set_datatypes(_v: int) bool
- ida_ida.inf_get_abibits() int
- ida_ida.inf_set_abibits(_v: int) bool
- ida_ida.inf_is_mem_aligned4() bool
- ida_ida.inf_set_mem_aligned4(_v: bool = True) bool
- ida_ida.inf_pack_stkargs(*args) bool
- ida_ida.inf_set_pack_stkargs(_v: bool = True) bool
- ida_ida.inf_big_arg_align(*args) bool
- ida_ida.inf_set_big_arg_align(_v: bool = True) bool
- ida_ida.inf_stack_ldbl() bool
- ida_ida.inf_set_stack_ldbl(_v: bool = True) bool
- ida_ida.inf_stack_varargs() bool
- ida_ida.inf_set_stack_varargs(_v: bool = True) bool
- ida_ida.inf_is_hard_float() bool
- ida_ida.inf_set_hard_float(_v: bool = True) bool
- ida_ida.inf_abi_set_by_user() bool
- ida_ida.inf_set_abi_set_by_user(_v: bool = True) bool
- ida_ida.inf_use_gcc_layout() bool
- ida_ida.inf_set_use_gcc_layout(_v: bool = True) bool
- ida_ida.inf_map_stkargs() bool
- ida_ida.inf_set_map_stkargs(_v: bool = True) bool
- ida_ida.inf_huge_arg_align(*args) bool
- ida_ida.inf_set_huge_arg_align(_v: bool = True) bool
- ida_ida.inf_get_appcall_options() int
- ida_ida.inf_set_appcall_options(_v: int) bool
- ida_ida.inf_get_privrange_start_ea() ida_idaapi.ea_t
- ida_ida.inf_set_privrange_start_ea(_v: ida_idaapi.ea_t) bool
- ida_ida.inf_get_privrange_end_ea() ida_idaapi.ea_t
- ida_ida.inf_set_privrange_end_ea(_v: ida_idaapi.ea_t) bool
- ida_ida.inf_get_cc_id() comp_t
- ida_ida.inf_set_cc_id(_v: comp_t) bool
- ida_ida.inf_get_cc_cm() cm_t
- ida_ida.inf_set_cc_cm(_v: cm_t) bool
- ida_ida.inf_get_callcnv() callcnv_t
- ida_ida.inf_set_callcnv(_v: callcnv_t) bool
- ida_ida.inf_get_cc_size_i() uchar
- ida_ida.inf_set_cc_size_i(_v: uchar) bool
- ida_ida.inf_get_cc_size_b() uchar
- ida_ida.inf_set_cc_size_b(_v: uchar) bool
- ida_ida.inf_get_cc_size_e() uchar
- ida_ida.inf_set_cc_size_e(_v: uchar) bool
- ida_ida.inf_get_cc_defalign() uchar
- ida_ida.inf_set_cc_defalign(_v: uchar) bool
- ida_ida.inf_get_cc_size_s() uchar
- ida_ida.inf_set_cc_size_s(_v: uchar) bool
- ida_ida.inf_get_cc_size_l() uchar
- ida_ida.inf_set_cc_size_l(_v: uchar) bool
- ida_ida.inf_get_cc_size_ll() uchar
- ida_ida.inf_set_cc_size_ll(_v: uchar) bool
- ida_ida.inf_get_cc_size_ldbl() uchar
- ida_ida.inf_set_cc_size_ldbl(_v: uchar) bool
- ida_ida.inf_get_procname() str
- ida_ida.inf_set_procname(*args) bool
- ida_ida.inf_get_strlit_pref() str
- ida_ida.inf_set_strlit_pref(*args) bool
- ida_ida.inf_get_cc(out: compiler_info_t) bool
- ida_ida.inf_set_cc(_v: compiler_info_t) bool
- ida_ida.inf_get_privrange(*args) range_t
This function has the following signatures:
inf_get_privrange(out: range_t *) -> bool
inf_get_privrange() -> range_t
# 0: inf_get_privrange(out: range_t *) -> bool
# 1: inf_get_privrange() -> range_t
- ida_ida.inf_get_af_low() ushort
Get/set low/high 16bit halves of inf.af.
- ida_ida.inf_set_af_low(saf: ushort) None
- ida_ida.inf_get_af_high() ushort
- ida_ida.inf_set_af_high(saf2: ushort) None
- ida_ida.inf_get_af2_low() ushort
Get/set low 16bit half of inf.af2.
- ida_ida.inf_set_af2_low(saf: ushort) None
- ida_ida.inf_get_pack_mode() int
- ida_ida.inf_set_pack_mode(pack_mode: int) int
- ida_ida.inf_inc_database_change_count(cnt: int = 1) None
- ida_ida.inf_get_demname_form() uchar
Get DEMNAM_MASK bits of #demnames.
- ida_ida.inf_postinc_strlit_sernum(cnt: int = 1) int
- ida_ida.inf_like_binary() bool
- ida_ida.UA_MAXOP
max number of operands allowed for an instruction
- ida_ida.calc_default_idaplace_flags() int
Get default disassembly line options.
- ida_ida.to_ea(reg_cs: sel_t, reg_ip: int) ida_idaapi.ea_t
Convert (sel,off) value to a linear address.
- ida_ida.IDB_EXT32
- ida_ida.IDB_EXT64
- ida_ida.IDB_EXT
- ida_ida.get_dbctx_id() ssize_t
Get the current database context ID
- Returns:
the database context ID, or -1 if no current database
- ida_ida.get_dbctx_qty() size_t
Get number of database contexts
- Returns:
number of database contexts
- ida_ida.switch_dbctx(idx: size_t) dbctx_t *
Switch to the database with the provided context ID
- Parameters:
idx – the index of the database to switch to
- Returns:
the current dbctx_t instance or nullptr
- ida_ida.is_database_busy() bool
Check if the database is busy (e.g. performing some critical operations and cannot be safely accessed)
- ida_ida.validate_idb(vld_flags: int = 0) size_t
Validate the database
- Parameters:
vld_flags – combination of VLD_.. constants
- Returns:
number of corrupted/fixed records
- ida_ida.VLD_AUTO_REPAIR
automatically repair the database
- ida_ida.VLD_DIALOG
ask user to repair (this bit is mutually exclusive with VLD_AUTO_REPAIR)
- ida_ida.VLD_SILENT
no messages to the output window
- ida_ida.move_privrange(new_privrange_start: ida_idaapi.ea_t) bool
Move privrange to the specified address
- Parameters:
new_privrange_start – new start address of the privrange
- Returns:
success
- class ida_ida.idbattr_info_t(name: str, offset: uintptr_t, width: size_t, bitmask: uint64 = 0, tag: uchar = 0, idi_flags: uint = 0)
Bases:
object
- thisown
- name: str
human-readable name. if null, then the field will not be merged as part of INF.
- offset: uintptr_t
field position: offset within a structure (IDI_STRUCFLD) altval or supval index (IDI_NODEVAL) hashval name (IDI_ALTVAL/IDI_SUPVAL+IDI_HASH)
- width: size_t
field width in bytes
- bitmask: uint64
mask for bitfields (0-not bitfield)
- tag: uchar
tag of node value (if IDI_NODEVAL is set)
- vmap: idbattr_valmap_t const *
array value=>name (terminated by empty element)
- individual_node: str
individual node name (nullptr - use default)
- idi_flags: uint
- maxsize: int
max bytes reserved for storage in netnode
- is_node_altval() bool
- is_node_supval() bool
- is_node_valobj() bool
- is_node_blob() bool
- is_node_var() bool
- is_struc_field() bool
- is_cstr() bool
- is_qstring() bool
- is_bytearray() bool
- is_buf_var() bool
- is_decimal() bool
- is_hexadecimal() bool
- is_readonly_var() bool
- is_incremented() bool
- is_val_mapped() bool
- is_hash() bool
- use_hlpstruc() bool
- is_bitmap() bool
- is_onoff() bool
- is_scalar_var() bool
- is_bitfield() bool
- is_boolean() bool
- has_individual_node() bool
- str_true() str
- str_false() str
- ridx() size_t
- hashname() str
- ida_ida.IDI_STRUCFLD
structure field (opposite to IDI_NODEVAL)
- ida_ida.IDI_ALTVAL
netnode: altval
- ida_ida.IDI_SUPVAL
netnode: supval
- ida_ida.IDI_VALOBJ
netnode: valobj
- ida_ida.IDI_BLOB
netnode: blob
- ida_ida.IDI_SCALAR
scalar value (default)
- ida_ida.IDI_CSTR
string
- ida_ida.IDI_QSTRING
qstring
- ida_ida.IDI_BYTEARRAY
byte array: binary representation
- ida_ida.IDI_EA_HEX
default representation: hex or “BADADDR”
- ida_ida.IDI_DEC
show as decimal
- ida_ida.IDI_HEX
show as hexadecimal
- ida_ida.IDI_INC
stored value is incremented (scalars only)
- ida_ida.IDI_MAP_VAL
apply ea2node() to value
- ida_ida.IDI_HASH
hashed node field, hash name in offset
- ida_ida.IDI_HLPSTRUC
call helper for pointer to structure
- ida_ida.IDI_READONLY
read-only field (cannot be modified)
- ida_ida.IDI_BITMAP
bitmap field: interpret bitmask as bit number
- ida_ida.IDI_ONOFF
show boolean as on/off (not true/false)
- ida_ida.IDI_NOMERGE
field should not be merged as part of INF
- ida_ida.IDI_NODEVAL
- ida_ida.IDI_BUFVAR
- ida_ida.idainfo_big_arg_align
- ida_ida.idainfo_gen_null
- ida_ida.idainfo_set_gen_null
- ida_ida.idainfo_gen_lzero
- ida_ida.idainfo_set_gen_lzero
- ida_ida.idainfo_gen_tryblks
- ida_ida.idainfo_set_gen_tryblks
- ida_ida.idainfo_get_demname_form
- ida_ida.idainfo_get_pack_mode
- ida_ida.idainfo_set_pack_mode
- ida_ida.idainfo_is_32bit()
- ida_ida.idainfo_is_64bit
- ida_ida.idainfo_set_64bit
- ida_ida.idainfo_is_auto_enabled
- ida_ida.idainfo_set_auto_enabled
- ida_ida.idainfo_is_be
- ida_ida.idainfo_set_be
- ida_ida.idainfo_is_dll
- ida_ida.idainfo_is_flat_off32
- ida_ida.idainfo_is_graph_view
- ida_ida.idainfo_set_graph_view
- ida_ida.idainfo_is_hard_float
- ida_ida.idainfo_is_kernel_mode
- ida_ida.idainfo_is_mem_aligned4
- ida_ida.idainfo_is_snapshot
- ida_ida.idainfo_is_wide_high_byte_first
- ida_ida.idainfo_set_wide_high_byte_first
- ida_ida.idainfo_like_binary
- ida_ida.idainfo_line_pref_with_seg
- ida_ida.idainfo_set_line_pref_with_seg
- ida_ida.idainfo_show_auto
- ida_ida.idainfo_set_show_auto
- ida_ida.idainfo_show_line_pref
- ida_ida.idainfo_set_show_line_pref
- ida_ida.idainfo_show_void
- ida_ida.idainfo_set_show_void
- ida_ida.idainfo_loading_idc
- ida_ida.idainfo_map_stkargs
- ida_ida.idainfo_pack_stkargs
- ida_ida.idainfo_readonly_idb
- ida_ida.idainfo_set_store_user_info
- ida_ida.idainfo_stack_ldbl
- ida_ida.idainfo_stack_varargs
- ida_ida.idainfo_use_allasm
- ida_ida.idainfo_use_gcc_layout
- ida_ida.macros_enabled
- ida_ida.should_create_stkvars
- ida_ida.should_trace_sp
- ida_ida.show_all_comments
- ida_ida.show_comments
- ida_ida.show_repeatables
- ida_ida.inf_get_comment
- ida_ida.inf_set_comment
- ida_ida.idainfo_comment_get
- ida_ida.idainfo_comment_set