Module ida_hexrays :: Class cexpr_t
[frames] | no frames]

Class cexpr_t

object --+    
         |    
   citem_t --+
             |
            cexpr_t
Known Subclasses:

Proxy of C++ cexpr_t class.

Instance Methods
bool
__eq__(self, r)
bool
__ge__(self, r)
bool
__gt__(self, r)
cexpr_t
__init__(self)
__init__(self, cop, _x) -> cexpr_t __init__(self, cop, _x, _y) -> cexpr_t __init__(self, cop, _x, _y, _z) -> cexpr_t __init__(self, r) -> cexpr_t
bool
__le__(self, r)
bool
__lt__(self, r)
bool
__ne__(self, r)
 
__swig_destroy__(self)
cexpr_t
assign(self, r)
 
calc_type(self, recursive)
 
cleanup(self)
int
compare(self, r)
bool
contains_comma(self, times=1)
bool
contains_comma_or_insn_or_label(self, maxcommas=1)
bool
contains_insn(self, times=1)
bool
contains_insn_or_label(self)
bool
contains_operator(self, needed_op, times=1)
bool
cpadone(self)
bool
equal_effect(self, r)
cexpr_t
find_num_op(self)
find_num_op(self) -> cexpr_t
cexpr_t
find_op(self, _op)
find_op(self, _op) -> cexpr_t
bool
get_1num_op(self, o1, o2)
bool
get_const_value(self)
bit_bound_t
get_high_nbit_bound(self)
int
get_low_nbit_bound(self)
cexpr_t
get_ptr_or_array(self)
type_sign_t
get_type_sign(self)
var_ref_t
get_v(self)
bool
has_side_effects(self)
bool
is_call_arg_of(self, parent)
bool
is_call_object_of(self, parent)
bool
is_child_of(self, parent)
bool
is_const_value(self, _v)
bool
is_cstr(self)
bool
is_fpop(self)
bool
is_jumpout(self)
bool
is_negative_const(self)
bool
is_nice_cond(self)
bool
is_nice_expr(self)
bool
is_non_negative_const(self)
bool
is_non_zero_const(self)
bool
is_odd_lvalue(self)
bool
is_type_signed(self)
bool
is_type_unsigned(self)
bool
is_undef_val(self)
bool
is_vftable(self)
bool
is_zero_const(self)
bool
maybe_ptr(self)
uint64
numval(self)
 
print1(self, func)
 
put_number(self, func, value, nbytes, sign=no_sign)
bool
requires_lvalue(self, child)
 
set_cpadone(self)
 
set_v(self, v)
 
set_vftable(self)
 
swap(self, r)
cexpr_t
theother(self, what)
theother(self, what) -> cexpr_t

Inherited from citem_t: __repr__, contains_expr, contains_label, find_closest_addr, find_parent_of, is_expr, replace_by

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables
  op_to_typename = {0: 'empty', 1: 'comma', 2: 'asg', 3: 'asgbor...
Properties
  a
  exflags
cexpr_t_exflags_get(self) -> uint32
  fpc
  helper
  insn
  m
  n
  obj_ea
  operands
return a dictionary with the operands of a cexpr_t.
  opname
  ptrsize
  refwidth
  string
  thisown
The membership flag
  type
cexpr_t_type_get(self) -> tinfo_t
  v
  x
  y
  z

Inherited from citem_t: cexpr, cinsn, ea, index, label_num, meminfo, obj_id, op, to_specific_type

Inherited from object: __class__

Method Details

__init__(self)
(Constructor)

 

__init__(self, cop, _x) -> cexpr_t __init__(self, cop, _x, _y) -> cexpr_t __init__(self, cop, _x, _y, _z) -> cexpr_t __init__(self, r) -> cexpr_t

Returns: cexpr_t
Overrides: object.__init__

__swig_destroy__(self)

 
Overrides: citem_t.__swig_destroy__

print1(self, func)

 
Overrides: citem_t.print1

swap(self, r)

 
Overrides: citem_t.swap

Class Variable Details

op_to_typename

Value:
{0: 'empty',
 1: 'comma',
 2: 'asg',
 3: 'asgbor',
 4: 'asgxor',
 5: 'asgband',
 6: 'asgadd',
 7: 'asgsub',
...

Property Details

a

Get Method:
unreachable(self)
Set Method:
unreachable(self, v)

exflags

cexpr_t_exflags_get(self) -> uint32

Get Method:
unreachable.cexpr_t_exflags_get(self)
Set Method:
unreachable.cexpr_t_exflags_set(self, exflags)

fpc

Get Method:
unreachable(self)
Set Method:
unreachable(self, v)

helper

Get Method:
unreachable(self)
Set Method:
unreachable(self, v)

insn

Get Method:
unreachable(self)
Set Method:
unreachable(self, v)

m

Get Method:
unreachable(self)
Set Method:
unreachable(self, v)

n

Get Method:
unreachable(self)
Set Method:
unreachable(self, v)

obj_ea

Get Method:
unreachable(self)
Set Method:
unreachable(self, v)

operands

return a dictionary with the operands of a cexpr_t.

Get Method:
cexpr_operands(self) - return a dictionary with the operands of a cexpr_t.

opname

Get Method:
property_op_to_typename(self)

ptrsize

Get Method:
unreachable(self)
Set Method:
unreachable(self, v)

refwidth

Get Method:
unreachable(self)
Set Method:
unreachable(self, v)

string

Get Method:
unreachable(self)
Set Method:
unreachable(self, v)

thisown

The membership flag

Get Method:
unreachable(x)
Set Method:
unreachable(x, v)

type

cexpr_t_type_get(self) -> tinfo_t

Get Method:
unreachable.cexpr_t_type_get(self)
Set Method:
unreachable.cexpr_t_type_set(self, type)

v

Get Method:
unreachable(self)
Set Method:
unreachable(self, v)

x

Get Method:
unreachable(self)
Set Method:
unreachable(self, v)

y

Get Method:
unreachable(self)
Set Method:
unreachable(self, v)

z

Get Method:
unreachable(self)
Set Method:
unreachable(self, v)