|
IDA C++ SDK 9.2
|
Reference to a local variable. Used by mop_l. More...
#include <hexrays.hpp>
Public Member Functions | |
| lvar_ref_t (mba_t *m, int i, sval_t o=0) | |
| lvar_ref_t (const lvar_ref_t &r) | |
| lvar_ref_t & | operator= (const lvar_ref_t &r) |
| DECLARE_COMPARISONS (lvar_ref_t) | |
| HEXRAYS_MEMORY_ALLOCATION_FUNCS () void swap(lvar_ref_t &r) | |
| lvar_t &hexapi | var () const |
| Retrieve the referenced variable. | |
Public Attributes | |
| mba_t *const | mba |
| Pointer to the parent mba_t object. | |
| sval_t | off |
| offset from the beginning of the variable | |
| int | idx |
| index into mba->vars | |
Reference to a local variable. Used by mop_l.
|
inline |
|
inline |
| lvar_ref_t::DECLARE_COMPARISONS | ( | lvar_ref_t | ) |
|
inline |
|
inline |
Retrieve the referenced variable.
| mba_t* const lvar_ref_t::mba |
Pointer to the parent mba_t object.
Since we need to access the 'mba->vars' array in order to retrieve the referenced variable, we keep a pointer to mba_t here. Note: this means this class and consequently mop_t, minsn_t, mblock_t are specific to a mba_t object and cannot migrate between them. fortunately this is not something we need to do. second, lvar_ref_t's appear only after MMAT_LVARS.
| sval_t lvar_ref_t::off |
offset from the beginning of the variable
| int lvar_ref_t::idx |
index into mba->vars