|
| __init__ (self, *args) |
| init(self) -> mop_addr_t init(self, ra) -> mop_addr_t
|
|
"int" | lexcompare (self, *args) |
| lexcompare(self, ra) -> int
|
|
"void" | set_impptr_done (self, *args) |
| set_impptr_done(self)
|
|
"void" | set_udt (self, *args) |
| set_udt(self)
|
|
"void" | set_undef_val (self, *args) |
| set_undef_val(self)
|
|
"void" | set_lowaddr (self, *args) |
| set_lowaddr(self)
|
|
"bool" | is_impptr_done (self, *args) |
| is_impptr_done(self) -> bool
|
|
"bool" | is_udt (self, *args) |
| is_udt(self) -> bool
|
|
"bool" | probably_floating (self, *args) |
| probably_floating(self) -> bool
|
|
"bool" | is_undef_val (self, *args) |
| is_undef_val(self) -> bool
|
|
"bool" | is_lowaddr (self, *args) |
| is_lowaddr(self) -> bool
|
|
"bool" | is_ccflags (self, *args) |
| is_ccflags(self) -> bool
|
|
"bool" | is_pcval (self, *args) |
| is_pcval(self) -> bool
|
|
"bool" | is_glbaddr_from_fixup (self, *args) |
| is_glbaddr_from_fixup(self) -> bool
|
|
"mop_t &" | assign (self, *args) |
| assign(self, rop) -> mop_t
|
|
"void" | zero (self, *args) |
| zero(self)
|
|
"void" | swap (self, *args) |
| swap(self, rop)
|
|
"void" | erase (self, *args) |
| erase(self)
|
|
"void" | erase_but_keep_size (self, *args) |
| erase_but_keep_size(self)
|
|
"char const *" | dstr (self, *args) |
| dstr(self) -> char const *
|
|
"bool" | create_from_mlist (self, *args) |
| create_from_mlist(self, mba, lst, fullsize) -> bool Create operand from mlist_t.
|
|
"bool" | create_from_ivlset (self, *args) |
| create_from_ivlset(self, mba, ivs, fullsize) -> bool Create operand from ivlset_t.
|
|
"void" | create_from_vdloc (self, *args) |
| create_from_vdloc(self, mba, loc, _size) Create operand from vdloc_t.
|
|
"void" | create_from_scattered_vdloc (self, *args) |
| create_from_scattered_vdloc(self, mba, name, type, loc) Create operand from scattered vdloc_t.
|
|
"void" | create_from_insn (self, *args) |
| create_from_insn(self, m) Create operand from an instruction.
|
|
"void" | make_number (self, *args) |
| make_number(self, _value, _size, _ea=BADADDR, opnum=0) Create an integer constant operand.
|
|
"bool" | make_fpnum (self, *args) |
| make_fpnum(self, bytes) -> bool Create a floating point constant operand.
|
|
"void" | make_reg (self, *args) |
| make_reg(self, reg)
|
|
"void" | make_gvar (self, *args) |
| make_gvar(self, ea) Create a global variable operand.
|
|
"void" | make_stkvar (self, *args) |
| make_stkvar(self, mba, off)
|
|
"void" | make_reg_pair (self, *args) |
| make_reg_pair(self, loreg, hireg, halfsize) Create pair of registers.
|
|
"void" | make_insn (self, *args) |
| make_insn(self, ins) Create a nested instruction.
|
|
"void" | make_blkref (self, *args) |
| make_blkref(self, blknum) Create a global variable operand.
|
|
"void" | make_helper (self, *args) |
| make_helper(self, name) Create a helper operand.
|
|
"bool" | empty (self, *args) |
| empty(self) -> bool
|
|
"bool" | is_reg (self, *args) |
| is_reg(self) -> bool Is the specified register of the specified size? is_reg(self, _r) -> bool
|
|
"bool" | is_arglist (self, *args) |
| is_arglist(self) -> bool Is a list of arguments?
|
|
"bool" | is_cc (self, *args) |
| is_cc(self) -> bool Is a condition code?
|
|
"bool" | is_bit_reg (self, *args) |
| is_bit_reg(self, reg) -> bool Is a bit register? This includes condition codes and eventually other bit registers
|
|
"bool" | is_kreg (self, *args) |
| is_kreg(self) -> bool Is a kernel register?
|
|
"bool" | is_mob (self, *args) |
| is_mob(self, serial) -> bool Is a block reference to the specified block?
|
|
"bool" | is_scattered (self, *args) |
| is_scattered(self) -> bool Is a scattered operand?
|
|
"bool" | is_glbaddr (self, *args) |
| is_glbaddr(self) -> bool Is address of the specified global memory cell? is_glbaddr(self, ea) -> bool
|
|
"bool" | is_stkaddr (self, *args) |
| is_stkaddr(self) -> bool Is address of a stack variable?
|
|
"bool" | is_insn (self, *args) |
| is_insn(self) -> bool Is a sub-instruction with the specified opcode? is_insn(self, code) -> bool
|
|
"bool" | has_side_effects (self, *args) |
| has_side_effects(self, include_ldx_and_divs=False) -> bool Has any side effects?
|
|
"bool" | may_use_aliased_memory (self, *args) |
| may_use_aliased_memory(self) -> bool Is it possible for the operand to use aliased memory?
|
|
"bool" | is01 (self, *args) |
| is01(self) -> bool Are the possible values of the operand only 0 and 1? This function returns true for 0/1 constants, bit registers, the result of 'set' insns, etc.
|
|
"bool" | is_sign_extended_from (self, *args) |
| is_sign_extended_from(self, nbytes) -> bool Does the high part of the operand consist of the sign bytes?
|
|
"bool" | is_zero_extended_from (self, *args) |
| is_zero_extended_from(self, nbytes) -> bool Does the high part of the operand consist of zero bytes?
|
|
"bool" | is_extended_from (self, *args) |
| is_extended_from(self, nbytes, is_signed) -> bool Does the high part of the operand consist of zero or sign bytes?
|
|
"bool" | equal_mops (self, *args) |
| equal_mops(self, rop, eqflags) -> bool Compare operands.
|
|
"bool" | __eq__ (self, *args) |
| eq(self, rop) -> bool
|
|
"bool" | __ne__ (self, *args) |
| ne(self, rop) -> bool
|
|
"bool" | __lt__ (self, *args) |
| lt(self, rop) -> bool
|
|
"int" | for_all_ops (self, *args) |
| for_all_ops(self, mv, type=None, is_target=False) -> int Visit the operand and all its sub-operands.
|
|
"int" | for_all_scattered_submops (self, *args) |
| for_all_scattered_submops(self, sv) -> int Visit all sub-operands of a scattered operand.
|
|
"uint64" | value (self, *args) |
| value(self, is_signed) -> uint64 Retrieve value of a constant integer operand.
|
|
"int64" | signed_value (self, *args) |
| signed_value(self) -> int64
|
|
"uint64" | unsigned_value (self, *args) |
| unsigned_value(self) -> uint64
|
|
"void" | update_numop_value (self, *args) |
| update_numop_value(self, val)
|
|
"bool" | is_constant (self, *args) |
| is_constant(self, is_signed=True) -> bool Retrieve value of a constant integer operand.
|
|
"bool" | is_equal_to (self, *args) |
| is_equal_to(self, n, is_signed=True) -> bool
|
|
"bool" | is_zero (self, *args) |
| is_zero(self) -> bool
|
|
"bool" | is_one (self, *args) |
| is_one(self) -> bool
|
|
"bool" | is_positive_constant (self, *args) |
| is_positive_constant(self) -> bool
|
|
"bool" | is_negative_constant (self, *args) |
| is_negative_constant(self) -> bool
|
|
"member_t *" | get_stkvar (self, *args) |
| get_stkvar(self, p_off) -> member_t * Retrieve the referenced stack variable.
|
|
"bool" | get_stkoff (self, *args) |
| get_stkoff(self, p_off) -> bool Get the referenced stack offset.
|
|
"minsn_t *" | get_insn (self, *args) |
| get_insn(self, code) -> minsn_t
|
|
"bool" | make_low_half (self, *args) |
| make_low_half(self, width) -> bool Make the low part of the operand.
|
|
"bool" | make_high_half (self, *args) |
| make_high_half(self, width) -> bool Make the high part of the operand.
|
|
"bool" | make_first_half (self, *args) |
| make_first_half(self, width) -> bool Make the first part of the operand.
|
|
"bool" | make_second_half (self, *args) |
| make_second_half(self, width) -> bool Make the second part of the operand.
|
|
"bool" | shift_mop (self, *args) |
| shift_mop(self, offset) -> bool Shift the operand.
|
|
"bool" | change_size (self, *args) |
| change_size(self, nsize, sideff=WITH_SIDEFF) -> bool Change the operand size.
|
|
"bool" | double_size (self, *args) |
| double_size(self, sideff=WITH_SIDEFF) -> bool
|
|
"bool" | preserve_side_effects (self, *args) |
| preserve_side_effects(self, blk, top, moved_calls=None) -> bool Move subinstructions with side effects out of the operand.
|
|
"void" | apply_ld_mcode (self, *args) |
| apply_ld_mcode(self, mcode, ea, newsize) Apply a unary opcode to the operand.
|
|
"void" | apply_xdu (self, *args) |
| apply_xdu(self, ea, newsize)
|
|
"void" | apply_xds (self, *args) |
| apply_xds(self, ea, newsize)
|
|
| replace_by (self, o) |
|
|
"void" | _print (self, *args) |
| _print(self, shins_flags=0x04|0x02)
|
|
"void" | _make_reg (self, *args) |
| _make_reg(self, reg)
|
|
"void" | _make_lvar (self, *args) |
| _make_lvar(self, mba, idx, off=0)
|
|
"void" | _make_gvar (self, *args) |
| _make_gvar(self, ea)
|
|
"void" | _make_stkvar (self, *args) |
| _make_stkvar(self, mba, off)
|
|
"void" | _make_insn (self, *args) |
| _make_insn(self, ins)
|
|
"void" | _make_blkref (self, *args) |
| _make_blkref(self, blknum)
|
|
"void" | _make_strlit (self, *args) |
| _make_strlit(self, str)
|
|
"void" | _make_callinfo (self, *args) |
| _make_callinfo(self, fi)
|
|
"void" | _make_cases (self, *args) |
| _make_cases(self, _cases)
|
|
"void" | _make_pair (self, *args) |
| _make_pair(self, _pair)
|
|
"void" | _register (self, *args) |
| _register(self)
|
|
"void" | _deregister (self, *args) |
| _deregister(self)
|
|
"mopt_t" | _get_t (self, *args) |
| _get_t(self) -> mopt_t
|
|
"void" | _set_t (self, *args) |
| _set_t(self, v)
|
|
| _ensure_no_t (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) |
|
"mnumber_t *" | _get_nnn (self, *args) |
| _get_nnn(self) -> mnumber_t
|
|
"void" | _set_nnn (self, *args) |
| _set_nnn(self, _v)
|
|
"minsn_t *" | _get_d (self, *args) |
| _get_d(self) -> minsn_t
|
|
"void" | _set_d (self, *args) |
| _set_d(self, _v)
|
|
"stkvar_ref_t *" | _get_s (self, *args) |
| _get_s(self) -> stkvar_ref_t
|
|
"void" | _set_s (self, *args) |
| _set_s(self, _v)
|
|
"mcallinfo_t *" | _get_f (self, *args) |
| _get_f(self) -> mcallinfo_t
|
|
"void" | _set_f (self, *args) |
| _set_f(self, _v)
|
|
"lvar_ref_t *" | _get_l (self, *args) |
| _get_l(self) -> lvar_ref_t
|
|
"void" | _set_l (self, *args) |
| _set_l(self, _v)
|
|
"mop_addr_t *" | _get_a (self, *args) |
| _get_a(self) -> mop_addr_t
|
|
"void" | _set_a (self, *args) |
| _set_a(self, _v)
|
|
"mcases_t *" | _get_c (self, *args) |
| _get_c(self) -> mcases_t
|
|
"void" | _set_c (self, *args) |
| _set_c(self, _v)
|
|
"fnumber_t *" | _get_fpc (self, *args) |
| _get_fpc(self) -> fnumber_t
|
|
"void" | _set_fpc (self, *args) |
| _set_fpc(self, _v)
|
|
"mop_pair_t *" | _get_pair (self, *args) |
| _get_pair(self) -> mop_pair_t
|
|
"void" | _set_pair (self, *args) |
| _set_pair(self, _v)
|
|
"scif_t *" | _get_scif (self, *args) |
| _get_scif(self) -> scif_t
|
|
"void" | _set_scif (self, *args) |
| _set_scif(self, _v)
|
|
"mreg_t" | _get_r (self, *args) |
| _get_r(self) -> mreg_t
|
|
"void" | _set_r (self, *args) |
| _set_r(self, _v)
|
|
"ea_t" | _get_g (self, *args) |
| _get_g(self) -> ea_t
|
|
"void" | _set_g (self, *args) |
| _set_g(self, _v)
|
|
"int" | _get_b (self, *args) |
| _get_b(self) -> int
|
|
"void" | _set_b (self, *args) |
| _set_b(self, _v)
|
|
"char const *" | _get_cstr (self, *args) |
| _get_cstr(self) -> char const *
|
|
"void" | _set_cstr (self, *args) |
| _set_cstr(self, _v)
|
|
"char const *" | _get_helper (self, *args) |
| _get_helper(self) -> char const *
|
|
"void" | _set_helper (self, *args) |
| _set_helper(self, _v)
|
|