IDAPython 9.0
Loading...
Searching...
No Matches
cfunc_parentee_t Class Reference

Proxy of C++ cfunc_parentee_t class.

Inheritance diagram for cfunc_parentee_t:
ctree_parentee_t ctree_visitor_t

Public Member Functions

 __init__ (self, "cfunc_t" f, "bool" post=False)
 init(self, f, post=False) -> cfunc_parentee_t
 
"bool" calc_rvalue_type (self, "tinfo_t" target, "cexpr_t" e)
 calc_rvalue_type(self, target, e) -> bool Calculate rvalue type.
 
 __disown__ (self)
 
- Public Member Functions inherited from ctree_parentee_t
"bool" recalc_parent_types (self)
 recalc_parent_types(self) -> bool Recalculate type of parent nodes.
 
- Public Member Functions inherited from ctree_visitor_t
"bool" maintain_parents (self)
 maintain_parents(self) -> bool Should the parent information by maintained?
 
"bool" must_prune (self)
 must_prune(self) -> bool Should the traversal skip the children of the current item?
 
"bool" must_restart (self)
 must_restart(self) -> bool Should the traversal restart?
 
"bool" is_postorder (self)
 is_postorder(self) -> bool Should the leave...() functions be called?
 
"bool" only_insns (self)
 only_insns(self) -> bool Should all expressions be automatically pruned?
 
"void" prune_now (self)
 prune_now(self) Prune children.
 
"void" clr_prune (self)
 clr_prune(self) Do not prune children.
 
"void" set_restart (self)
 set_restart(self) Restart the travesal.
 
"void" clr_restart (self)
 clr_restart(self) Do not restart.
 
"int" apply_to (self, "citem_t" item, "citem_t" parent)
 apply_to(self, item, parent) -> int Traverse ctree.
 
"int" apply_to_exprs (self, "citem_t" item, "citem_t" parent)
 apply_to_exprs(self, item, parent) -> int Traverse only expressions.
 
"cexpr_t *" parent_expr (self)
 parent_expr(self) -> cexpr_t Get parent of the current item as an expression.
 
"cinsn_t *" parent_insn (self)
 parent_insn(self) -> cinsn_t Get parent of the current item as a statement.
 
"int" visit_insn (self, "cinsn_t" arg0)
 visit_insn(self, arg0) -> int Visit a statement.
 
"int" visit_expr (self, "cexpr_t" arg0)
 visit_expr(self, arg0) -> int Visit an expression.
 
"int" leave_insn (self, "cinsn_t" arg0)
 leave_insn(self, arg0) -> int Visit a statement after having visited its children.
 
"int" leave_expr (self, "cexpr_t" arg0)
 leave_expr(self, arg0) -> int Visit an expression after having visited its children.
 

Static Public Attributes

str func = property(_ida_hexrays.cfunc_parentee_t_func_get, _ida_hexrays.cfunc_parentee_t_func_set, doc=)
 
- Static Public Attributes inherited from ctree_visitor_t
str cv_flags = property(_ida_hexrays.ctree_visitor_t_cv_flags_get, _ida_hexrays.ctree_visitor_t_cv_flags_set, doc=)
 
str parents = property(_ida_hexrays.ctree_visitor_t_parents_get, _ida_hexrays.ctree_visitor_t_parents_set, doc=)
 
str bposvec = property(_ida_hexrays.ctree_visitor_t_bposvec_get, _ida_hexrays.ctree_visitor_t_bposvec_set, doc=)
 

Properties

 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
 
- Properties inherited from ctree_parentee_t
 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
 
- Properties inherited from ctree_visitor_t
 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
 

Constructor & Destructor Documentation

◆ __init__()

__init__ ( self,
"cfunc_t" f,
"bool" post = False )
Parameters
fcfunc_t *
postbool

Reimplemented from ctree_parentee_t.

Member Function Documentation

◆ __disown__()

__disown__ ( self)

Reimplemented from ctree_parentee_t.

◆ calc_rvalue_type()

"bool" calc_rvalue_type ( self,
"tinfo_t" target,
"cexpr_t" e )

This function tries to determine the type of the specified item based on its context. For example, if the current expression is the right side of an assignment operator, the type of its left side will be returned. This function can be used to determine the 'best' type of the specified expression.

Parameters
target(C++: tinfo_t *) 'best' type of the expression will be returned here
e(C++: const cexpr_t *) expression to determine the desired type
Returns
: false if failed

Member Data Documentation

◆ func

str func = property(_ida_hexrays.cfunc_parentee_t_func_get, _ida_hexrays.cfunc_parentee_t_func_set, doc=)
static

Property Documentation

◆ thisown

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: