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

Proxy of C++ carg_t class.

Inheritance diagram for carg_t:
cexpr_t citem_t

Public Member Functions

"void" consume_cexpr (self, *args)
 consume_cexpr(self, e)
 
"bool" __eq__ (self, *args)
 eq(self, r) -> bool
 
"bool" __ne__ (self, *args)
 ne(self, r) -> bool
 
"bool" __lt__ (self, *args)
 lt(self, r) -> bool
 
"bool" __gt__ (self, *args)
 gt(self, r) -> bool
 
"bool" __le__ (self, *args)
 le(self, r) -> bool
 
"bool" __ge__ (self, *args)
 ge(self, r) -> bool
 
"int" compare (self, *args)
 compare(self, r) -> int
 
 __init__ (self, *args)
 init(self) -> carg_t
 
- Public Member Functions inherited from cexpr_t
"bool" cpadone (self, *args)
 cpadone(self) -> bool Pointer arithmetic correction done for this expression?
 
"bool" is_odd_lvalue (self, *args)
 is_odd_lvalue(self) -> bool
 
"bool" is_fpop (self, *args)
 is_fpop(self) -> bool
 
"bool" is_cstr (self, *args)
 is_cstr(self) -> bool
 
"bool" is_undef_val (self, *args)
 is_undef_val(self) -> bool
 
"bool" is_jumpout (self, *args)
 is_jumpout(self) -> bool
 
"bool" is_vftable (self, *args)
 is_vftable(self) -> bool
 
"void" set_cpadone (self, *args)
 set_cpadone(self)
 
"void" set_vftable (self, *args)
 set_vftable(self)
 
"void" swap (self, *args)
 swap(self, r)
 
"cexpr_t &" assign (self, *args)
 assign(self, r) -> cexpr_t
 
"void" cleanup (self, *args)
 cleanup(self) Cleanup the expression.
 
"void" put_number (self, *args)
 put_number(self, func, value, nbytes, sign=no_sign) Assign a number to the expression.
 
"void" print1 (self, *args)
 print1(self, func) Print expression into one line.
 
"void" calc_type (self, *args)
 calc_type(self, recursive) Calculate the type of the expression.
 
"bool" equal_effect (self, *args)
 equal_effect(self, r) -> bool Compare two expressions.
 
"bool" is_child_of (self, *args)
 is_child_of(self, parent) -> bool Verify if the specified item is our parent.
 
"bool" contains_operator (self, *args)
 contains_operator(self, needed_op, times=1) -> bool Check if the expression contains the specified operator.
 
"bool" contains_comma (self, *args)
 contains_comma(self, times=1) -> bool Does the expression contain a comma operator?
 
"bool" contains_insn (self, *args)
 contains_insn(self, times=1) -> bool Does the expression contain an embedded statement operator?
 
"bool" contains_insn_or_label (self, *args)
 contains_insn_or_label(self) -> bool Does the expression contain an embedded statement operator or a label?
 
"bool" contains_comma_or_insn_or_label (self, *args)
 contains_comma_or_insn_or_label(self, maxcommas=1) -> bool Does the expression contain a comma operator or an embedded statement operator or a label?
 
"bool" is_nice_expr (self, *args)
 is_nice_expr(self) -> bool Is nice expression? Nice expressions do not contain comma operators, embedded statements, or labels.
 
"bool" is_nice_cond (self, *args)
 is_nice_cond(self) -> bool Is nice condition?.
 
"bool" is_call_object_of (self, *args)
 is_call_object_of(self, parent) -> bool Is call object?
 
"bool" is_call_arg_of (self, *args)
 is_call_arg_of(self, parent) -> bool Is call argument?
 
"type_sign_t" get_type_sign (self, *args)
 get_type_sign(self) -> type_sign_t Get expression sign.
 
"bool" is_type_unsigned (self, *args)
 is_type_unsigned(self) -> bool Is expression unsigned?
 
"bool" is_type_signed (self, *args)
 is_type_signed(self) -> bool Is expression signed?
 
"bit_bound_t" get_high_nbit_bound (self, *args)
 get_high_nbit_bound(self) -> bit_bound_t Get max number of bits that can really be used by the expression.
 
"int" get_low_nbit_bound (self, *args)
 get_low_nbit_bound(self) -> int Get min number of bits that are certainly required to represent the expression.
 
"bool" requires_lvalue (self, *args)
 requires_lvalue(self, child) -> bool Check if the expression requires an lvalue.
 
"bool" has_side_effects (self, *args)
 has_side_effects(self) -> bool Check if the expression has side effects.
 
"uint64" numval (self, *args)
 numval(self) -> uint64 Get numeric value of the expression.
 
"bool" is_const_value (self, *args)
 is_const_value(self, _v) -> bool Check if the expression is a number with the specified value.
 
"bool" is_negative_const (self, *args)
 is_negative_const(self) -> bool Check if the expression is a negative number.
 
"bool" is_non_negative_const (self, *args)
 is_non_negative_const(self) -> bool Check if the expression is a non-negative number.
 
"bool" is_non_zero_const (self, *args)
 is_non_zero_const(self) -> bool Check if the expression is a non-zero number.
 
"bool" is_zero_const (self, *args)
 is_zero_const(self) -> bool Check if the expression is a zero.
 
"bool" get_const_value (self, *args)
 get_const_value(self) -> bool Get expression value.
 
"bool" maybe_ptr (self, *args)
 maybe_ptr(self) -> bool May the expression be a pointer?
 
"cexpr_t *" get_ptr_or_array (self, *args)
 get_ptr_or_array(self) -> cexpr_t Find pointer or array child.
 
"cexpr_t *" find_op (self, *args)
 find_op(self, _op) -> cexpr_t
 
"cexpr_t *" find_num_op (self, *args)
 find_num_op(self) -> cexpr_t
 
"cexpr_t *" theother (self, *args)
 theother(self, what) -> cexpr_t
 
"bool" get_1num_op (self, *args)
 get_1num_op(self, o1, o2) -> bool
 
"char const *" dstr (self, *args)
 dstr(self) -> char const *
 
"var_ref_t *" get_v (self, *args)
 get_v(self) -> var_ref_t
 
"void" set_v (self, *args)
 set_v(self, v)
 
- Public Member Functions inherited from 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
 
 replace_by (self, o)
 

Properties

 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
 
 is_vararg = property(_ida_hexrays.carg_t_is_vararg_get, _ida_hexrays.carg_t_is_vararg_set, doc=)
 
 formal_type = property(_ida_hexrays.carg_t_formal_type_get, _ida_hexrays.carg_t_formal_type_set, doc=)
 
- Properties inherited from cexpr_t
 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
 
 type = property(_ida_hexrays.cexpr_t_type_get, _ida_hexrays.cexpr_t_type_set, doc=)
 
 exflags = property(_ida_hexrays.cexpr_t_exflags_get, _ida_hexrays.cexpr_t_exflags_set, doc=)
 
 v = property(lambda self: self.get_v(), lambda self, v: self.set_v(v))
 
 n
 
 fpc
 
 x
 
 y
 
 z
 
 a
 
 insn
 
 m
 
 ptrsize
 
 obj_ea
 
 refwidth
 
 helper
 
 string
 
- Properties inherited from citem_t
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)
 

Additional Inherited Members

- Protected Member Functions inherited from cexpr_t
"void" _replace_by (self, *args)
 _replace_by(self, r)
 
"void" _register (self, *args)
 _register(self)
 
"void" _deregister (self, *args)
 _deregister(self)
 
"cnumber_t *" _get_n (self, *args)
 _get_n(self) -> cnumber_t
 
"void" _set_n (self, *args)
 _set_n(self, _v)
 
"fnumber_t *" _get_fpc (self, *args)
 _get_fpc(self) -> fnumber_t
 
"void" _set_fpc (self, *args)
 _set_fpc(self, _v)
 
"cexpr_t *" _get_x (self, *args)
 _get_x(self) -> cexpr_t
 
"void" _set_x (self, *args)
 _set_x(self, _v)
 
"cexpr_t *" _get_y (self, *args)
 _get_y(self) -> cexpr_t
 
"void" _set_y (self, *args)
 _set_y(self, _v)
 
"cexpr_t *" _get_z (self, *args)
 _get_z(self) -> cexpr_t
 
"void" _set_z (self, *args)
 _set_z(self, _v)
 
"carglist_t *" _get_a (self, *args)
 _get_a(self) -> carglist_t
 
"void" _set_a (self, *args)
 _set_a(self, _v)
 
"cinsn_t *" _get_insn (self, *args)
 _get_insn(self) -> cinsn_t
 
"void" _set_insn (self, *args)
 _set_insn(self, _v)
 
"int" _get_m (self, *args)
 _get_m(self) -> int
 
"void" _set_m (self, *args)
 _set_m(self, _v)
 
"int" _get_ptrsize (self, *args)
 _get_ptrsize(self) -> int
 
"void" _set_ptrsize (self, *args)
 _set_ptrsize(self, _v)
 
"ea_t" _get_obj_ea (self, *args)
 _get_obj_ea(self) -> ea_t
 
"void" _set_obj_ea (self, *args)
 _set_obj_ea(self, _v)
 
"int" _get_refwidth (self, *args)
 _get_refwidth(self) -> int
 
"void" _set_refwidth (self, *args)
 _set_refwidth(self, _v)
 
"char const *" _get_helper (self, *args)
 _get_helper(self) -> char const *
 
"void" _set_helper (self, *args)
 _set_helper(self, _v)
 
"char const *" _get_string (self, *args)
 _get_string(self) -> char const *
 
"void" _set_string (self, *args)
 _set_string(self, _v)
 
- Protected Member Functions inherited from citem_t
"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)
 

Constructor & Destructor Documentation

◆ __init__()

__init__ ( self,
* args )

Reimplemented from cexpr_t.

Member Function Documentation

◆ __eq__()

"bool" __eq__ ( self,
* args )
Parameters
rcarg_t const &

Reimplemented from cexpr_t.

◆ __ge__()

"bool" __ge__ ( self,
* args )
Parameters
rcarg_t const &

Reimplemented from cexpr_t.

◆ __gt__()

"bool" __gt__ ( self,
* args )
Parameters
rcarg_t const &

Reimplemented from cexpr_t.

◆ __le__()

"bool" __le__ ( self,
* args )
Parameters
rcarg_t const &

Reimplemented from cexpr_t.

◆ __lt__()

"bool" __lt__ ( self,
* args )
Parameters
rcarg_t const &

Reimplemented from cexpr_t.

◆ __ne__()

"bool" __ne__ ( self,
* args )
Parameters
rcarg_t const &

Reimplemented from cexpr_t.

◆ compare()

"int" compare ( self,
* args )
Parameters
rcarg_t const &

Reimplemented from cexpr_t.

◆ consume_cexpr()

"void" consume_cexpr ( self,
* args )
Parameters
ecexpr_t *

Property Documentation

◆ formal_type

formal_type = property(_ida_hexrays.carg_t_formal_type_get, _ida_hexrays.carg_t_formal_type_set, doc=)
static

◆ is_vararg

is_vararg = property(_ida_hexrays.carg_t_is_vararg_get, _ida_hexrays.carg_t_is_vararg_set, doc=)
static

◆ 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: