Cursor item. More...
Public Member Functions | |
| void | verify (const mbl_array_t *mba) const |
| member_t * | get_memptr (struc_t **p_sptr=NULL) const |
| Get pointer to structure member. | |
| lvar_t * | get_lvar (void) const |
| Get pointer to local variable. | |
| ea_t | get_ea (void) const |
| Get address of the current item. | |
| int | get_label_num (void) const |
| Get label number of the current item. | |
| bool | is_citem (void) const |
| Is the current item is a ctree item? | |
| bool | has_label (void) const |
| Does the current item has a label? | |
Public Attributes | |
| cursor_item_type_t | citype |
| Item type. | |
| union { | |
| citem_t * it | |
| cexpr_t * e | |
| VDI_EXPR: Expression. | |
| cinsn_t * i | |
| VDI_EXPR: Statement. | |
| lvar_t * l | |
| VDI_LVAR: Local variable. | |
| cfunc_t * f | |
| VDI_FUNC: Function. | |
| treeloc_t loc | |
| VDI_TAIL: Line tail. | |
| }; | |
Cursor item.
Information about the item under the cursor
Definition at line 2109 of file hexrays.hpp.
| ea_t ctree_item_t::get_ea | ( | void | ) | const |
Get address of the current item.
Each ctree item has an address.
Definition at line 4576 of file hexrays.hpp.
References hexdsp.
| int ctree_item_t::get_label_num | ( | void | ) | const |
Get label number of the current item.
Definition at line 4582 of file hexrays.hpp.
References hexdsp.
| lvar_t * ctree_item_t::get_lvar | ( | void | ) | const |
Get pointer to local variable.
If the current item is a local variable, this function will return pointer to its definition.
Definition at line 4570 of file hexrays.hpp.
References hexdsp.
| member_t * ctree_item_t::get_memptr | ( | struc_t ** | p_sptr = NULL |
) | const |
Get pointer to structure member.
If the current item is a structure field, this function will return pointer to its definition.
| [out] | p_sptr | pointer to the variable where the pointer to the parent structure is returned. This parameter can be NULL. |
Definition at line 4564 of file hexrays.hpp.
References hexdsp.