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

Inherited from citem_t: 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
  thisown
The membership flag
  type
cexpr_t_type_get(self) -> tinfo_t
  exflags
cexpr_t_exflags_get(self) -> uint32
  n
  fpc
  v
  obj_ea
  refwidth
  x
  y
  a
  m
  z
  ptrsize
  insn
  helper
  string
  opname
  operands
return a dictionary with the operands of a cexpr_t.

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

Inherited from object: __class__

Method Details

__repr__(self)
(Representation operator)

 

repr(x)

Overrides: object.__repr__
(inherited documentation)

__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__

swap(self, r)

 
Overrides: citem_t.swap

__swig_destroy__(self)

 
Overrides: citem_t.__swig_destroy__

__del__(self)
(Destructor)

 
Overrides: citem_t.__del__

print1(self, func)

 
Overrides: citem_t.print1

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

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)

exflags

cexpr_t_exflags_get(self) -> uint32

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

n

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

fpc

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

v

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

obj_ea

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

refwidth

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)

a

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

m

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

z

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

ptrsize

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

insn

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

helper

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

string

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

opname

Get Method:
property_op_to_typename(self)

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.