IDA C++ SDK 9.2
|
Cursor item. More...
#include <hexrays.hpp>
Public Member Functions | |
void | verify (const mba_t *mba) const |
int hexapi | get_udm (udm_t *udm=nullptr, tinfo_t *parent=nullptr, uint64 *p_offset=nullptr) const |
Get type of a structure field. | |
int hexapi | get_edm (tinfo_t *parent) const |
Get type of an enum member. | |
lvar_t *hexapi | get_lvar () const |
Get pointer to local variable. | |
ea_t hexapi | get_ea () const |
Get address of the current item. | |
int hexapi | get_label_num (int gln_flags) const |
Get label number of the current item. | |
bool | is_citem () const |
Is the current item is a ctree item? | |
void hexapi | print (qstring *vout) const |
const char *hexapi | dstr () const |
Public Attributes | |
cursor_item_type_t | citype = VDI_NONE |
Item type. | |
union { | |
citem_t * it | |
cexpr_t * e | |
VDI_EXPR: Expression. More... | |
cinsn_t * i | |
VDI_EXPR: Statement. More... | |
lvar_t * l | |
VDI_LVAR: Local variable. More... | |
cfunc_t * f | |
VDI_FUNC: Function. More... | |
treeloc_t loc | |
VDI_TAIL: Line tail. More... | |
}; |
Cursor item.
Information about the item under the cursor
|
inline |
Get type of a structure field.
If the current item is a structure/union field, this function will return information about it.
[out] | udm | pointer to buffer for the udt member info. |
[out] | parent | pointer to buffer for the struct/union type. |
[out] | p_offset | pointer to the offset in bits inside udt. |
|
inline |
Get type of an enum member.
If the current item is a symbolic constant, this function will return information about it.
[out] | parent | pointer to buffer for the enum type. |
|
inline |
Get pointer to local variable.
If the current item is a local variable, this function will return pointer to its definition.
|
inline |
Get address of the current item.
Each ctree item has an address.
|
inline |
Get label number of the current item.
[in] | gln_flags | Combination of get_label_num control bits |
|
inline |
Is the current item is a ctree item?
|
inline |
cursor_item_type_t ctree_item_t::citype = VDI_NONE |
Item type.
citem_t* ctree_item_t::it |
cexpr_t* ctree_item_t::e |
VDI_EXPR: Expression.
cinsn_t* ctree_item_t::i |
VDI_EXPR: Statement.
lvar_t* ctree_item_t::l |
VDI_LVAR: Local variable.
cfunc_t* ctree_item_t::f |
VDI_FUNC: Function.
treeloc_t ctree_item_t::loc |
VDI_TAIL: Line tail.
union { ... } ctree_item_t |