IDA SDK
Public Attributes | Public Member Functions | List of all members
debapp_attrs_t Struct Reference

Detailed Description

Runtime attributes of the debugger/process.

It is guaranteed that these attributes are really valid after start/attach process

Public Attributes

int32 cbsize
 control field: size of this structure
 
int addrsize
 address size of the process. More...
 
qstring platform
 platform name process is running/debugging under. More...
 
int is_be
 

Public Member Functions

 debapp_attrs_t ()
 Constructor - initialize with DEF_ADDRSIZE.
 

Member Data Documentation

int debapp_attrs_t::addrsize

address size of the process.

Since 64-bit debuggers usually can debug 32-bit applications, we can not rely on sizeof(ea_t) to detect the current address size. The following variable should be used instead. It is initialized with 8 for 64-bit debuggers but they should adjust it as soon as they learn that a 32-bit application is being debugged. For 32-bit debuggers it is initialized with 4.

qstring debapp_attrs_t::platform

platform name process is running/debugging under.

(is used as a key value in exceptions.cfg)


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