IDAPython 9.0
Loading...
Searching...
No Matches
ctree_item_t Class Reference
Inheritance diagram for ctree_item_t:

Public Member Functions

int get_udm (self, 'udm_t' udm=None, 'tinfo_t' parent=None, 'uint64 *' p_offset=None)
 
int get_edm (self, 'tinfo_t' parent)
 
'lvar_t *' get_lvar (self)
 
ida_idaapi.ea_t get_ea (self)
 
int get_label_num (self, int gln_flags)
 
bool is_citem (self)
 
str dstr (self)
 
 __init__ (self)
 

Static Public Attributes

str citype
 
str it
 
str e
 
str i
 
str l
 
str f
 
str loc = property(_ida_hexrays.ctree_item_t_loc_get)
 

Protected Member Functions

None _print (self)
 
'citem_t *' _get_it (self)
 
'cexpr_t *' _get_e (self)
 
'cinsn_t *' _get_i (self)
 
'lvar_t *' _get_l (self)
 
'cfunc_t *' _get_f (self)
 

Properties

 thisown
 

Constructor & Destructor Documentation

◆ __init__()

__init__ ( self)

Member Function Documentation

◆ _get_e()

'cexpr_t *' _get_e ( self)
protected

◆ _get_f()

'cfunc_t *' _get_f ( self)
protected

◆ _get_i()

'cinsn_t *' _get_i ( self)
protected

◆ _get_it()

'citem_t *' _get_it ( self)
protected

◆ _get_l()

'lvar_t *' _get_l ( self)
protected

◆ _print()

None _print ( self)
protected

◆ dstr()

str dstr ( self)

◆ get_ea()

ida_idaapi.ea_t get_ea ( self)
Get address of the current item. Each ctree item has an address. 

@returns BADADDR if failed

◆ get_edm()

int get_edm ( self,
'tinfo_t' parent )
Get type of an enum member. If the current item is a symbolic constant, this function will return information about it. 

@param parent: pointer to buffer for the enum type.
@returns member index or -1 if failed

◆ get_label_num()

int get_label_num ( self,
int gln_flags )
Get label number of the current item. 

@param gln_flags: Combination of get_label_num control bits
@returns -1 if failed or no label

◆ get_lvar()

'lvar_t *' get_lvar ( self)
Get pointer to local variable. If the current item is a local variable, this function will return pointer to its definition. 

@returns nullptr if failed

◆ get_udm()

int get_udm ( self,
'udm_t' udm = None,
'tinfo_t' parent = None,
'uint64 *' p_offset = None )
Get type of a structure field. If the current item is a structure/union field, this function will return information about it. 

@param udm: pointer to buffer for the udt member info.
@param parent: pointer to buffer for the struct/union type.
@param p_offset: pointer to the offset in bits inside udt.
@returns member index or -1 if failed Both output parameters can be nullptr.

◆ is_citem()

bool is_citem ( self)
Is the current item is a ctree item?

Member Data Documentation

◆ citype

str citype
static
Initial value:
= property(_ida_hexrays.
ctree_item_t_citype_get, _ida_hexrays.ctree_item_t_citype_set)

◆ e

e
static
Initial value:
= property(_ida_hexrays.ctree_item_t_e_get, _ida_hexrays
.ctree_item_t_e_set)

◆ f

f
static
Initial value:
= property(_ida_hexrays.ctree_item_t_f_get, _ida_hexrays
.ctree_item_t_f_set)

◆ i

i
static
Initial value:
= property(_ida_hexrays.ctree_item_t_i_get, _ida_hexrays
.ctree_item_t_i_set)

◆ it

it
static
Initial value:
= property(_ida_hexrays.ctree_item_t_it_get,
_ida_hexrays.ctree_item_t_it_set)

◆ l

l
static
Initial value:
= property(_ida_hexrays.ctree_item_t_l_get, _ida_hexrays.
ctree_item_t_l_set)

◆ loc

str loc = property(_ida_hexrays.ctree_item_t_loc_get)
static

Property Documentation

◆ thisown

thisown
static
Initial value:
= property(lambda x: x.this.own(), lambda x, v: x.this.own(v),
doc='The membership flag')

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