IDAPython 8.4
|
Proxy of C++ reg_value_info_t class.
Public Member Functions | |
__init__ (self, *args) | |
init(self) -> reg_value_info_t | |
"void" | clear (self, *args) |
clear(self) Undefine the value. | |
"bool" | empty (self, *args) |
empty(self) -> bool Return 'true' if we know nothing about a value. | |
"bool" | is_dead_end (self, *args) |
is_dead_end(self) -> bool Return 'true' if the value is undefined because of a dead end. | |
"bool" | aborted (self, *args) |
aborted(self) -> bool Return 'true' if the tracking process was aborted. | |
"bool" | is_special (self, *args) |
is_special(self) -> bool Return 'true' if the value requires special handling. | |
"bool" | is_badinsn (self, *args) |
is_badinsn(self) -> bool Return 'true' if the value is unknown because of a bad insn. | |
"bool" | is_unkinsn (self, *args) |
is_unkinsn(self) -> bool Return 'true' if the value is unknown after executing the insn. | |
"bool" | is_unkfunc (self, *args) |
is_unkfunc(self) -> bool Return 'true' if the value is unknown from the function start. | |
"bool" | is_unkloop (self, *args) |
is_unkloop(self) -> bool Return 'true' if the value is unknown because it changes in a loop. | |
"bool" | is_unkmult (self, *args) |
is_unkmult(self) -> bool Return 'true' if the value is unknown because the register has incompatible values (a number and SP delta). | |
"bool" | is_unknown (self, *args) |
is_unknown(self) -> bool Return 'true' if the value is unknown. | |
"bool" | is_num (self, *args) |
is_num(self) -> bool Return 'true' if the value is a constant. | |
"bool" | is_spd (self, *args) |
is_spd(self) -> bool Return 'true' if the value depends on the stack pointer. | |
"bool" | is_known (self, *args) |
is_known(self) -> bool Return 'true' if the value is known (i.e. | |
"bool" | get_num (self, *args) |
get_num(self) -> bool Return the number if the value is a constant. | |
"bool" | get_spd (self, *args) |
get_spd(self) -> bool Return the SP delta if the value depends on the stack pointer. | |
"ea_t" | get_def_ea (self, *args) |
get_def_ea(self) -> ea_t Return the defining address. | |
"uint16" | get_def_itype (self, *args) |
get_def_itype(self) -> uint16 Return the defining instruction code (processor specific). | |
"bool" | is_value_unique (self, *args) |
is_value_unique(self) -> bool Check that the value is unique. | |
"bool" | have_all_vals_flag (self, *args) |
have_all_vals_flag(self, val_flags) -> bool Check the given flag for each value. | |
"bool" | is_all_vals_pc_based (self, *args) |
is_all_vals_pc_based(self) -> bool | |
"bool" | is_all_vals_like_got (self, *args) |
is_all_vals_like_got(self) -> bool | |
"void" | set_dead_end (self, *args) |
set_dead_end(self, dead_end_ea) Set the value to be undefined because of a dead end. | |
"void" | set_badinsn (self, *args) |
set_badinsn(self, insn_ea) Set the value to be unknown after a bad insn. | |
"void" | set_unkinsn (self, *args) |
set_unkinsn(self, insn) Set the value to be unknown after executing the insn. | |
"void" | set_unkfunc (self, *args) |
set_unkfunc(self, func_ea) Set the value to be unknown from the function start. | |
"void" | set_unkloop (self, *args) |
set_unkloop(self, bblk_ea) Set the value to be unknown because it changes in a loop. | |
"void" | set_unkmult (self, *args) |
set_unkmult(self, bblk_ea) Set the value to be unknown because the register has incompatible values. | |
"void" | set_aborted (self, *args) |
set_aborted(self, bblk_ea) Set the value after aborting. | |
"void" | set_num (self, *args) |
set_num(self, rval, insn, val_flags=0) Set the value to be a number before an address. | |
"reg_value_info_t::set_compare_res_t" | vals_union (self, *args) |
vals_union(self, r) -> reg_value_info_t::set_compare_res_t Add values from R into THIS ignoring duplicates. | |
"void" | extend (self, *args) |
extend(self, pm, width, is_signed) Sign-, or zero-extend the number or SP delta value to full size. | |
"void" | trunc_uval (self, *args) |
trunc_uval(self, pm) Truncate the number to the application bitness. | |
"void" | add (self, *args) |
add(self, r, insn) Add R to the value, save INSN as a defining instruction. | |
"void" | sub (self, *args) |
sub(self, r, insn) Subtract R from the value, save INSN as a defining instruction. | |
"void" | bor (self, *args) |
bor(self, r, insn) Make bitwise OR of R to the value, save INSN as a defining instruction. | |
"void" | band (self, *args) |
band(self, r, insn) Make bitwise AND of R to the value, save INSN as a defining instruction. | |
"void" | bxor (self, *args) |
bxor(self, r, insn) Make bitwise eXclusive OR of R to the value, save INSN as a defining instruction. | |
"void" | bandnot (self, *args) |
bandnot(self, r, insn) Make bitwise AND of the inverse of R to the value, save INSN as a defining instruction. | |
"void" | sll (self, *args) |
sll(self, r, insn) Shift the value left by R, save INSN as a defining instruction. | |
"void" | slr (self, *args) |
slr(self, r, insn) Shift the value right by R, save INSN as a defining instruction. | |
"void" | neg (self, *args) |
neg(self, insn) Negate the value, save INSN as a defining instruction. | |
"void" | bnot (self, *args) |
bnot(self, insn) Make bitwise inverse of the value, save INSN as a defining instruction. | |
"void" | add_num (self, *args) |
add_num(self, r, insn) Add R to the value, do not change the defining instructions. | |
"void" | shift_left (self, *args) |
shift_left(self, r) Shift the value left by R, do not change the defining instructions. | |
"void" | shift_right (self, *args) |
shift_right(self, r) Shift the value right by R, do not change the defining instructions. | |
"qstring" | __str__ (self, *args) |
str(self) -> qstring | |
"size_t" | __len__ (self, *args) |
len(self) -> size_t | |
"reg_value_def_t const &" | __getitem__ (self, *args) |
getitem(self, i) -> reg_value_def_t | |
Static Public Member Functions | |
"reg_value_info_t" | make_dead_end (*args) |
make_dead_end(dead_end_ea) -> reg_value_info_t Return the undefined value because of a dead end. | |
"reg_value_info_t" | make_aborted (*args) |
make_aborted(bblk_ea) -> reg_value_info_t Return the value after aborting. | |
"reg_value_info_t" | make_badinsn (*args) |
make_badinsn(insn_ea) -> reg_value_info_t Return the unknown value after a bad insn. | |
"reg_value_info_t" | make_unkinsn (*args) |
make_unkinsn(insn) -> reg_value_info_t Return the unknown value after executing the insn. | |
"reg_value_info_t" | make_unkfunc (*args) |
make_unkfunc(func_ea) -> reg_value_info_t Return the unknown value from the function start. | |
"reg_value_info_t" | make_unkloop (*args) |
make_unkloop(bblk_ea) -> reg_value_info_t Return the unknown value if it changes in a loop. | |
"reg_value_info_t" | make_unkmult (*args) |
make_unkmult(bblk_ea) -> reg_value_info_t Return the unknown value if the register has incompatible values. | |
"reg_value_info_t" | make_num (*args) |
make_num(rval, insn, val_flags=0) -> reg_value_info_t Return the value that is the RVAL number. | |
"reg_value_info_t" | make_initial_sp (*args) |
make_initial_sp(func_ea) -> reg_value_info_t Return the value that is the initial stack pointer. | |
Static Public Attributes | |
EQUAL = _ida_regfinder.reg_value_info_t_EQUAL | |
CONTAINS = _ida_regfinder.reg_value_info_t_CONTAINS | |
CONTAINED = _ida_regfinder.reg_value_info_t_CONTAINED | |
NOT_COMPARABLE = _ida_regfinder.reg_value_info_t_NOT_COMPARABLE | |
ADD = _ida_regfinder.reg_value_info_t_ADD | |
SUB = _ida_regfinder.reg_value_info_t_SUB | |
OR = _ida_regfinder.reg_value_info_t_OR | |
AND = _ida_regfinder.reg_value_info_t_AND | |
XOR = _ida_regfinder.reg_value_info_t_XOR | |
AND_NOT = _ida_regfinder.reg_value_info_t_AND_NOT | |
SLL = _ida_regfinder.reg_value_info_t_SLL | |
SLR = _ida_regfinder.reg_value_info_t_SLR | |
NEG = _ida_regfinder.reg_value_info_t_NEG | |
NOT = _ida_regfinder.reg_value_info_t_NOT | |
Properties | |
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag") | |
__init__ | ( | self, | |
* | args ) |
"reg_value_def_t const &" __getitem__ | ( | self, | |
* | args ) |
i | size_t |
"size_t" __len__ | ( | self, | |
* | args ) |
"qstring" __str__ | ( | self, | |
* | args ) |
"bool" aborted | ( | self, | |
* | args ) |
"void" add | ( | self, | |
* | args ) |
r | (C++: const reg_value_info_t &) reg_value_info_t const & |
insn | (C++: const insn_t &) an ida_ua.insn_t, or an address (C++: const insn_t &) |
"void" add_num | ( | self, | |
* | args ) |
r | (C++: uval_t) |
insn | an ida_ua.insn_t, or an address (C++: const insn_t &) |
add_num(self, r)
r | uval_t |
"void" band | ( | self, | |
* | args ) |
r | (C++: const reg_value_info_t &) reg_value_info_t const & |
insn | (C++: const insn_t &) an ida_ua.insn_t, or an address (C++: const insn_t &) |
"void" bandnot | ( | self, | |
* | args ) |
r | (C++: const reg_value_info_t &) reg_value_info_t const & |
insn | (C++: const insn_t &) an ida_ua.insn_t, or an address (C++: const insn_t &) |
"void" bnot | ( | self, | |
* | args ) |
insn | (C++: const insn_t &) an ida_ua.insn_t, or an address (C++: const insn_t &) |
"void" bor | ( | self, | |
* | args ) |
r | (C++: const reg_value_info_t &) reg_value_info_t const & |
insn | (C++: const insn_t &) an ida_ua.insn_t, or an address (C++: const insn_t &) |
"void" bxor | ( | self, | |
* | args ) |
r | (C++: const reg_value_info_t &) reg_value_info_t const & |
insn | (C++: const insn_t &) an ida_ua.insn_t, or an address (C++: const insn_t &) |
"void" clear | ( | self, | |
* | args ) |
"bool" empty | ( | self, | |
* | args ) |
"void" extend | ( | self, | |
* | args ) |
The initial value is considered to be of size WIDTH.
pm | (C++: const procmod_t &) procmod_t const & |
width | (C++: int) |
is_signed | (C++: bool) |
"ea_t" get_def_ea | ( | self, | |
* | args ) |
"uint16" get_def_itype | ( | self, | |
* | args ) |
"bool" get_num | ( | self, | |
* | args ) |
"bool" get_spd | ( | self, | |
* | args ) |
"bool" have_all_vals_flag | ( | self, | |
* | args ) |
val_flags | (C++: uint16) |
"bool" is_all_vals_like_got | ( | self, | |
* | args ) |
"bool" is_all_vals_pc_based | ( | self, | |
* | args ) |
"bool" is_badinsn | ( | self, | |
* | args ) |
"bool" is_dead_end | ( | self, | |
* | args ) |
"bool" is_known | ( | self, | |
* | args ) |
it is a number or SP delta).
"bool" is_num | ( | self, | |
* | args ) |
"bool" is_spd | ( | self, | |
* | args ) |
"bool" is_special | ( | self, | |
* | args ) |
"bool" is_unkfunc | ( | self, | |
* | args ) |
"bool" is_unkinsn | ( | self, | |
* | args ) |
"bool" is_unkloop | ( | self, | |
* | args ) |
"bool" is_unkmult | ( | self, | |
* | args ) |
"bool" is_unknown | ( | self, | |
* | args ) |
"bool" is_value_unique | ( | self, | |
* | args ) |
|
static |
bblk_ea | (C++: ea_t) |
|
static |
insn_ea | (C++: ea_t) |
|
static |
dead_end_ea | (C++: ea_t) |
|
static |
func_ea | (C++: ea_t) |
|
static |
rval | (C++: uval_t) |
insn | an ida_ua.insn_t, or an address (C++: const insn_t &) |
val_flags | (C++: uint16) |
make_num(rval, val_ea, val_flags=0) -> reg_value_info_t
rval | uval_t |
val_ea | ea_t |
val_flags | uint16 |
|
static |
func_ea | (C++: ea_t) |
|
static |
insn | (C++: const insn_t &) an ida_ua.insn_t, or an address (C++: const insn_t &) |
|
static |
bblk_ea | (C++: ea_t) |
|
static |
bblk_ea | (C++: ea_t) |
"void" neg | ( | self, | |
* | args ) |
insn | (C++: const insn_t &) an ida_ua.insn_t, or an address (C++: const insn_t &) |
"void" set_aborted | ( | self, | |
* | args ) |
bblk_ea | (C++: ea_t) |
"void" set_badinsn | ( | self, | |
* | args ) |
insn_ea | (C++: ea_t) |
"void" set_dead_end | ( | self, | |
* | args ) |
dead_end_ea | (C++: ea_t) |
"void" set_num | ( | self, | |
* | args ) |
rval | (C++: uval_t) |
insn | an ida_ua.insn_t, or an address (C++: const insn_t &) |
val_flags | (C++: uint16) |
set_num(self, rvals, insn)
rvals | uvalvec_t * |
insn | an ida_ua.insn_t, or an address (C++: const insn_t &) |
set_num(self, rval, val_ea, val_flags=0)
rval | uval_t |
val_ea | ea_t |
val_flags | uint16 |
"void" set_unkfunc | ( | self, | |
* | args ) |
func_ea | (C++: ea_t) |
"void" set_unkinsn | ( | self, | |
* | args ) |
insn | (C++: const insn_t &) an ida_ua.insn_t, or an address (C++: const insn_t &) |
"void" set_unkloop | ( | self, | |
* | args ) |
bblk_ea | (C++: ea_t) |
"void" set_unkmult | ( | self, | |
* | args ) |
bblk_ea | (C++: ea_t) |
"void" shift_left | ( | self, | |
* | args ) |
r | (C++: uval_t) |
"void" shift_right | ( | self, | |
* | args ) |
r | (C++: uval_t) |
"void" sll | ( | self, | |
* | args ) |
r | (C++: const reg_value_info_t &) reg_value_info_t const & |
insn | (C++: const insn_t &) an ida_ua.insn_t, or an address (C++: const insn_t &) |
"void" slr | ( | self, | |
* | args ) |
r | (C++: const reg_value_info_t &) reg_value_info_t const & |
insn | (C++: const insn_t &) an ida_ua.insn_t, or an address (C++: const insn_t &) |
"void" sub | ( | self, | |
* | args ) |
r | (C++: const reg_value_info_t &) reg_value_info_t const & |
insn | (C++: const insn_t &) an ida_ua.insn_t, or an address (C++: const insn_t &) |
"void" trunc_uval | ( | self, | |
* | args ) |
pm | (C++: const procmod_t &) procmod_t const & |
"reg_value_info_t.set_compare_res_t" vals_union | ( | self, | |
* | args ) |
EQUAL | THIS is not changed |
CONTAINS | THIS is not changed |
CONTAINED | THIS is a copy of R |
NOT_COMPARABLE | values from R are added to THIS |
r | (C++: const reg_value_info_t &) reg_value_info_t const & |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |