|
IDA C++ SDK 9.2
|
Reference to a stack variable. Used for mop_S. More...
#include <hexrays.hpp>
Public Member Functions | |
| stkvar_ref_t (mba_t *m, sval_t o) | |
| DECLARE_COMPARISONS (stkvar_ref_t) | |
| HEXRAYS_MEMORY_ALLOCATION_FUNCS () void swap(stkvar_ref_t &r) | |
| ssize_t hexapi | get_stkvar (udm_t *udm=nullptr, uval_t *p_idaoff=nullptr) const |
| Retrieve the referenced stack variable. | |
Public Attributes | |
| mba_t *const | mba |
| Pointer to the parent mba_t object. | |
| sval_t | off |
| Offset to the stack variable from the bottom of the stack frame. | |
Reference to a stack variable. Used for mop_S.
| stkvar_ref_t::DECLARE_COMPARISONS | ( | stkvar_ref_t | ) |
|
inline |
|
inline |
Retrieve the referenced stack variable.
| [out] | udm | stkvar, may be nullptr |
| p_idaoff | if specified, will hold IDA stkoff after the call. |
| mba_t* const stkvar_ref_t::mba |
Pointer to the parent mba_t object.
We need it in order to retrieve the referenced stack variable. See notes for lvar_ref_t::mba.
| sval_t stkvar_ref_t::off |
Offset to the stack variable from the bottom of the stack frame.
It is called 'decompiler stkoff' and it is different from IDA stkoff. See a note and a picture about 'decompiler stkoff' below.