|
IDA C++ SDK 9.2
|
Local variable locator. More...
#include <hexrays.hpp>
Public Member Functions | |
| lvar_locator_t () | |
| lvar_locator_t (const vdloc_t &loc, ea_t ea) | |
| sval_t | get_stkoff () const |
| Get offset of the varialbe in the stack frame. | |
| bool | is_reg1 () const |
| Is variable located on one register? | |
| bool | is_reg2 () const |
| Is variable located on two registers? | |
| bool | is_reg_var () const |
| Is variable located on register(s)? | |
| bool | is_stk_var () const |
| Is variable located on the stack? | |
| bool | is_scattered () const |
| Is variable scattered? | |
| mreg_t | get_reg1 () const |
| Get the register number of the variable. | |
| mreg_t | get_reg2 () const |
| Get the number of the second register (works only for ALOC_REG2 lvars) | |
| const scattered_aloc_t & | get_scattered () const |
| Get information about scattered variable. | |
| scattered_aloc_t & | get_scattered () |
| DECLARE_COMPARISONS (lvar_locator_t) | |
| HEXRAYS_MEMORY_ALLOCATION_FUNCS () const char *hexapi dstr() const | |
Public Attributes | |
| vdloc_t | location |
| Variable location. | |
| ea_t | defea = BADADDR |
| Definition address. | |
Local variable locator.
Local variables are located using definition ea and location. Each variable must have a unique locator, this is how we tell them apart.
|
inline |
|
inline |
Get offset of the varialbe in the stack frame.
|
inline |
Is variable located on one register?
|
inline |
Is variable located on two registers?
|
inline |
Is variable located on register(s)?
|
inline |
Is variable located on the stack?
|
inline |
Is variable scattered?
|
inline |
Get the register number of the variable.
|
inline |
Get the number of the second register (works only for ALOC_REG2 lvars)
|
inline |
Get information about scattered variable.
|
inline |
| lvar_locator_t::DECLARE_COMPARISONS | ( | lvar_locator_t | ) |
| lvar_locator_t::HEXRAYS_MEMORY_ALLOCATION_FUNCS | ( | ) | const |
| vdloc_t lvar_locator_t::location |
Variable location.
| ea_t lvar_locator_t::defea = BADADDR |
Definition address.
Usually, this is the address of the instruction that initializes the variable. In some cases it can be a fictional address.