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) | |
void | swap (stkvar_ref_t &r) |
member_t * | get_stkvar (uval_t *p_off=nullptr) const |
Retrieve the referenced stack variable. More... | |
Public Attributes | |
mba_t *const | mba |
Pointer to the parent mba_t object. More... | |
sval_t | off |
Offset to the stack variable from the bottom of the stack frame. More... | |
Detailed Description
Reference to a stack variable. Used for mop_S.
Definition at line 2308 of file hexrays.hpp.
Constructor & Destructor Documentation
◆ stkvar_ref_t()
stkvar_ref_t::stkvar_ref_t | ( | mba_t * | m, |
sval_t | o | ||
) |
Definition at line 2320 of file hexrays.hpp.
Member Function Documentation
◆ get_stkvar()
member_t * stkvar_ref_t::get_stkvar | ( | uval_t * | p_off = nullptr | ) | const |
Retrieve the referenced stack variable.
- Parameters
-
p_off if specified, will hold IDA stkoff after the call.
- Returns
- pointer to the stack variable
Definition at line 10521 of file hexrays.hpp.
◆ swap()
void stkvar_ref_t::swap | ( | stkvar_ref_t & | r | ) |
Definition at line 2323 of file hexrays.hpp.
Member Data Documentation
◆ mba
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.
Definition at line 2313 of file hexrays.hpp.
◆ off
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.
Definition at line 2318 of file hexrays.hpp.