#include <regfinder.hpp>
◆ reg_value_info_t() [1/3]
| reg_value_info_t::reg_value_info_t |
( |
| ) |
|
|
inline |
◆ reg_value_info_t() [2/3]
| reg_value_info_t::reg_value_info_t |
( |
const reg_value_base_t & | base, |
|
|
int | _slotsize, |
|
|
int | _addrsize ) |
|
inline |
◆ reg_value_info_t() [3/3]
| reg_value_info_t::reg_value_info_t |
( |
reg_value_base_t && | base, |
|
|
int | _slotsize, |
|
|
int | _addrsize ) |
|
inline |
◆ set_context() [1/2]
| void reg_value_info_t::set_context |
( |
int | _slotsize, |
|
|
int | _addrsize ) |
|
inline |
Set the context.
- Note
- The proc module cannot just call set_num(), it must also set the sizes.
◆ set_context() [2/2]
◆ get_num()
| bool reg_value_info_t::get_num |
( |
uint64 * | uval | ) |
const |
|
inline |
Return the number if the value is a constant (truncated to SLOTSIZE).
- See also
- is_num()
◆ get_addr()
| bool reg_value_info_t::get_addr |
( |
ea_t * | addr | ) |
const |
|
inline |
Return the address if the value is a constant (truncated to ADDRSIZE).
- See also
- is_num()
◆ get_spd()
| bool reg_value_info_t::get_spd |
( |
sval_t * | sval | ) |
const |
|
inline |
Return the SP delta if the value depends on the stack pointer (sign-extended to ADDRSIZE).
- See also
- is_spd()
- Parameters
-
| [out] | sval | the value of SP minus the initial value of SP at the function start. |
◆ truncate()
| void reg_value_info_t::truncate |
( |
int | width = 0 | ) |
|
|
inline |
Truncate the value to WIDTH (in bytes).
For numbers: zero-truncate to WIDTH. For SP deltas: sign-extend to WIDTH. If WIDTH = 0, defaults to SLOTSIZE for numbers and ADDRSIZE for SP deltas.
◆ trunc_uval()
◆ slotsize
| int reg_value_info_t::slotsize = 0 |
|
protected |
◆ addrsize
| int reg_value_info_t::addrsize = 0 |
|
protected |
The documentation for this struct was generated from the following file: