IDAPython 8.4
Loading...
Searching...
No Matches
citem_t Class Reference

Proxy of C++ citem_t class.

Inheritance diagram for citem_t:
cexpr_t cinsn_t carg_t ccase_t

Public Member Functions

 __init__ (self, *args)
 init(self, o=cot_empty) -> citem_t
 
"void" swap (self, *args)
 swap(self, r) Swap two citem_t.
 
"bool" is_expr (self, *args)
 is_expr(self) -> bool Is an expression?
 
"bool" contains_expr (self, *args)
 contains_expr(self, e) -> bool Does the item contain an expression?
 
"bool" contains_label (self, *args)
 contains_label(self) -> bool Does the item contain a label?
 
"citem_t *" find_parent_of (self, *args)
 find_parent_of(self, sitem) -> citem_t
 
"citem_t *" find_closest_addr (self, *args)
 find_closest_addr(self, _ea) -> citem_t
 
"void" print1 (self, *args)
 print1(self, func) Print item into one line.
 
 replace_by (self, o)
 

Protected Member Functions

"ctype_t" _get_op (self, *args)
 _get_op(self) -> ctype_t
 
"void" _set_op (self, *args)
 _set_op(self, v)
 
 _ensure_no_op (self)
 
"PyObject *" _obj_id (self, *args)
 _obj_id(self) -> PyObject *
 
 _ensure_cond (self, ok, cond_str)
 
 _ensure_no_obj (self, o, attr, attr_is_acquired)
 
 _ensure_ownership_transferrable (self, v)
 
 _acquire_ownership (self, v, acquire)
 
 _maybe_disown_and_deregister (self)
 
 _own_and_register (self)
 
 _meminfo (self)
 

Properties

bool thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
 
 ea = property(_ida_hexrays.citem_t_ea_get, _ida_hexrays.citem_t_ea_set, doc=)
 
 label_num = property(_ida_hexrays.citem_t_label_num_get, _ida_hexrays.citem_t_label_num_set, doc=)
 
 index = property(_ida_hexrays.citem_t_index_get, _ida_hexrays.citem_t_index_set, doc=)
 
 cinsn = property(_ida_hexrays.citem_t_cinsn_get, doc=)
 
 cexpr = property(_ida_hexrays.citem_t_cexpr_get, doc=!)
 
 op
 
 obj_id = property(_obj_id)
 
 meminfo = property(_meminfo)
 

Constructor & Destructor Documentation

◆ __init__()

__init__ ( self,
* args )
Parameters
oenum ctype_t

Reimplemented in carg_t, ccase_t, cexpr_t, and cinsn_t.

Member Function Documentation

◆ _acquire_ownership()

_acquire_ownership ( self,
v,
acquire )
protected

◆ _ensure_cond()

_ensure_cond ( self,
ok,
cond_str )
protected

◆ _ensure_no_obj()

_ensure_no_obj ( self,
o,
attr,
attr_is_acquired )
protected

◆ _ensure_no_op()

_ensure_no_op ( self)
protected

◆ _ensure_ownership_transferrable()

_ensure_ownership_transferrable ( self,
v )
protected

◆ _get_op()

"ctype_t" _get_op ( self,
* args )
protected

◆ _maybe_disown_and_deregister()

_maybe_disown_and_deregister ( self)
protected

◆ _meminfo()

_meminfo ( self)
protected

◆ _obj_id()

"PyObject *" _obj_id ( self,
* args )
protected

◆ _own_and_register()

_own_and_register ( self)
protected

◆ _set_op()

"void" _set_op ( self,
* args )
protected

Parameters

v: enum ctype_t

◆ contains_expr()

"bool" contains_expr ( self,
* args )
Parameters
e(C++: const cexpr_t *) cexpr_t const *

◆ contains_label()

"bool" contains_label ( self,
* args )

◆ find_closest_addr()

"citem_t *" find_closest_addr ( self,
* args )
Parameters
_eaea_t

◆ find_parent_of()

"citem_t *" find_parent_of ( self,
* args )
Parameters
sitemcitem_t const *

find_parent_of(self, item) -> citem_t

Parameters
itemcitem_t const *

◆ is_expr()

"bool" is_expr ( self,
* args )

◆ print1()

"void" print1 ( self,
* args )
Parameters
func(C++: const cfunc_t *) parent function. This argument is used to find out the referenced variable names.
Returns
: length of the generated text.

Reimplemented in cexpr_t, and cinsn_t.

◆ replace_by()

replace_by ( self,
o )

◆ swap()

"void" swap ( self,
* args )
Parameters
r(C++: citem_t &)

Reimplemented in cexpr_t, and cinsn_t.

Property Documentation

◆ cexpr

cexpr = property(_ida_hexrays.citem_t_cexpr_get, doc=!)
static

◆ cinsn

cinsn = property(_ida_hexrays.citem_t_cinsn_get, doc=)
static

◆ ea

ea = property(_ida_hexrays.citem_t_ea_get, _ida_hexrays.citem_t_ea_set, doc=)
static

◆ index

index = property(_ida_hexrays.citem_t_index_get, _ida_hexrays.citem_t_index_set, doc=)
static

◆ label_num

label_num = property(_ida_hexrays.citem_t_label_num_get, _ida_hexrays.citem_t_label_num_set, doc=)
static

◆ meminfo

meminfo = property(_meminfo)
static

◆ obj_id

obj_id = property(_obj_id)
static

◆ op

op
static
Initial value:
= property(
_get_op,
lambda self, v: self._ensure_no_op() and self._set_op(v))

◆ thisown

bool thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
static

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