IDA C++ SDK 9.2
Loading...
Searching...
No Matches
idainfo Struct Reference

#include <ida.hpp>

Public Member Functions

 EA64_ALIGN (padding)

Public Attributes

char tag [IDAINFO_TAG_SIZE]
 'IDA'
char zero
 this field is not present in the database
ushort version
 Version of database.
char procname [IDAINFO_PROCNAME_SIZE]
 Name of the current processor (with \0)
ushort s_genflags
 General idainfo flags
uint32 lflags
 Misc. database flags
uint32 database_change_count
 incremented after each byte and regular segment modifications
ushort filetype
 The input file type.
ushort ostype
 OS type the program is for bit definitions in libfuncs.hpp.
ushort apptype
 Application type bit definitions in libfuncs.hpp.
uchar asmtype
 target assembler number
uchar specsegs
 What format do special segments use? 0-unspecified, 4-entries are 4 bytes, 8- entries are 8 bytes.
uint32 af
 Analysis flags
uint32 af2
 Analysis flags 2
uval_t baseaddr
 remaining 28 bits are reserved
sel_t start_ss
 selector of the initial stack segment
sel_t start_cs
 selector of the segment with the main entry point
ea_t start_ip
 IP register value at the start of program execution.
ea_t start_ea
 Linear address of program entry point.
ea_t start_sp
 SP register value at the start of program execution.
ea_t main
 address of main()
ea_t min_ea
 current limits of program
ea_t max_ea
 maxEA is excluded
ea_t omin_ea
 original minEA (is set after loading the input file)
ea_t omax_ea
 original maxEA (is set after loading the input file)
ea_t lowoff
 Low limit for offsets (used in calculation of 'void' operands)
ea_t highoff
 High limit for offsets (used in calculation of 'void' operands)
uval_t maxref
 Max tail for references.
range_t privrange
 Range of addresses reserved for internal use.
sval_t netdelta
 Delta value to be added to all addresses for mapping to netnodes.
uchar xrefnum
 CROSS REFERENCES.
uchar type_xrefnum
 Number of references to generate in the struct & enum windows 0 - xrefs won't be generated at all.
uchar refcmtnum
 Number of comment lines to generate for refs to string literals or demangled names 0 - such comments won't be generated at all.
uchar s_xrefflag
 Xref options
ushort max_autoname_len
 NAMES.
char nametype
 Dummy names representation types
uint32 short_demnames
 short form of demangled names
uint32 long_demnames
 long form of demangled names see demangle.h for definitions
uchar demnames
 Demangled name flags
uchar listnames
 Name list options
uchar indent
 DISASSEMBLY LISTING DETAILS.
uchar cmt_indent
 Indentation for comments.
ushort margin
 max length of data lines
ushort lenxref
 max length of line with xrefs
uint32 outflags
 output flags
uchar s_cmtflg
 Comment options
uchar s_limiter
 Delimiter options
short bin_prefix_size
 Number of instruction bytes (opcodes) to show in line prefix.
uchar s_prefflag
 Line prefix options
uchar strlit_flags
 STRING LITERALS.
uchar strlit_break
 string literal line break symbol
char strlit_zeroes
 leading zeroes
int32 strtype
 current ascii string type see nalt.hpp for string types
char strlit_pref [IDAINFO_STRLIT_PREF_SIZE]
 prefix for string literal names
uval_t strlit_sernum
 serial number
uval_t datatypes
 data types allowed in data carousel
compiler_info_t cc
 COMPILER.
uint32 abibits
 ABI features.
uint32 appcall_options
 appcall options, see idd.hpp

Member Function Documentation

◆ EA64_ALIGN()

idainfo::EA64_ALIGN ( padding )

Member Data Documentation

◆ tag

char idainfo::tag[IDAINFO_TAG_SIZE]

'IDA'

◆ zero

char idainfo::zero

this field is not present in the database

◆ version

ushort idainfo::version

Version of database.

◆ procname

char idainfo::procname[IDAINFO_PROCNAME_SIZE]

Name of the current processor (with \0)

◆ s_genflags

ushort idainfo::s_genflags

◆ lflags

uint32 idainfo::lflags

◆ database_change_count

uint32 idainfo::database_change_count

incremented after each byte and regular segment modifications

◆ filetype

ushort idainfo::filetype

The input file type.

◆ ostype

ushort idainfo::ostype

OS type the program is for bit definitions in libfuncs.hpp.

◆ apptype

ushort idainfo::apptype

Application type bit definitions in libfuncs.hpp.

◆ asmtype

uchar idainfo::asmtype

target assembler number

◆ specsegs

uchar idainfo::specsegs

What format do special segments use? 0-unspecified, 4-entries are 4 bytes, 8- entries are 8 bytes.

◆ af

uint32 idainfo::af

◆ af2

uint32 idainfo::af2

◆ baseaddr

uval_t idainfo::baseaddr

remaining 28 bits are reserved

base address of the program (paragraphs)

◆ start_ss

sel_t idainfo::start_ss

selector of the initial stack segment

◆ start_cs

sel_t idainfo::start_cs

selector of the segment with the main entry point

◆ start_ip

ea_t idainfo::start_ip

IP register value at the start of program execution.

◆ start_ea

ea_t idainfo::start_ea

Linear address of program entry point.

◆ start_sp

ea_t idainfo::start_sp

SP register value at the start of program execution.

◆ main

ea_t idainfo::main

address of main()

◆ min_ea

ea_t idainfo::min_ea

current limits of program

◆ max_ea

ea_t idainfo::max_ea

maxEA is excluded

◆ omin_ea

ea_t idainfo::omin_ea

original minEA (is set after loading the input file)

◆ omax_ea

ea_t idainfo::omax_ea

original maxEA (is set after loading the input file)

◆ lowoff

ea_t idainfo::lowoff

Low limit for offsets (used in calculation of 'void' operands)

◆ highoff

ea_t idainfo::highoff

High limit for offsets (used in calculation of 'void' operands)

◆ maxref

uval_t idainfo::maxref

Max tail for references.

◆ privrange

range_t idainfo::privrange

Range of addresses reserved for internal use.

Initially specified by cfgvar PRIVRANGE

◆ netdelta

sval_t idainfo::netdelta

Delta value to be added to all addresses for mapping to netnodes.

Initially 0

◆ xrefnum

uchar idainfo::xrefnum

CROSS REFERENCES.

Number of references to generate in the disassembly listing 0 - xrefs won't be generated at all

◆ type_xrefnum

uchar idainfo::type_xrefnum

Number of references to generate in the struct & enum windows 0 - xrefs won't be generated at all.

◆ refcmtnum

uchar idainfo::refcmtnum

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 idainfo::s_xrefflag

◆ max_autoname_len

ushort idainfo::max_autoname_len

NAMES.

max autogenerated name length (without zero byte)

◆ nametype

char idainfo::nametype

◆ short_demnames

uint32 idainfo::short_demnames

short form of demangled names

◆ long_demnames

uint32 idainfo::long_demnames

long form of demangled names see demangle.h for definitions

◆ demnames

uchar idainfo::demnames

◆ listnames

uchar idainfo::listnames

◆ indent

uchar idainfo::indent

DISASSEMBLY LISTING DETAILS.

Indentation for instructions

◆ cmt_indent

uchar idainfo::cmt_indent

Indentation for comments.

◆ margin

ushort idainfo::margin

max length of data lines

◆ lenxref

ushort idainfo::lenxref

max length of line with xrefs

◆ outflags

uint32 idainfo::outflags

◆ s_cmtflg

uchar idainfo::s_cmtflg

◆ s_limiter

uchar idainfo::s_limiter

◆ bin_prefix_size

short idainfo::bin_prefix_size

Number of instruction bytes (opcodes) to show in line prefix.

◆ s_prefflag

uchar idainfo::s_prefflag

◆ strlit_flags

uchar idainfo::strlit_flags

STRING LITERALS.

string literal flags

◆ strlit_break

uchar idainfo::strlit_break

string literal line break symbol

◆ strlit_zeroes

char idainfo::strlit_zeroes

leading zeroes

◆ strtype

int32 idainfo::strtype

current ascii string type see nalt.hpp for string types

◆ strlit_pref

char idainfo::strlit_pref[IDAINFO_STRLIT_PREF_SIZE]

prefix for string literal names

◆ strlit_sernum

uval_t idainfo::strlit_sernum

serial number

◆ datatypes

uval_t idainfo::datatypes

data types allowed in data carousel

◆ cc

compiler_info_t idainfo::cc

COMPILER.

Target compiler

◆ abibits

uint32 idainfo::abibits

ABI features.

Depends on info returned by get_abi_name() Processor modules may modify them in set_compiler

◆ appcall_options

uint32 idainfo::appcall_options

appcall options, see idd.hpp


The documentation for this struct was generated from the following file: