lvars_t Struct Reference
Vector of local variables. More...
#include <hexrays.hpp>
Inheritance diagram for lvars_t:

Public Member Functions | |
int | find_input_lvar (const vdloc_t &argloc, int _size) |
Find input variable at the specified location. More... | |
int | find_stkvar (sval_t spoff, int width) |
Find stack variable at the specified location. More... | |
lvar_t * | find (const lvar_locator_t &ll) |
Find variable at the specified location. More... | |
int | find_lvar (const vdloc_t &location, int width, int defblk=-1) const |
Find variable at the specified location. More... | |
Detailed Description
Vector of local variables.
Definition at line 1402 of file hexrays.hpp.
Member Function Documentation
◆ find()
lvar_t * lvars_t::find | ( | const lvar_locator_t & | ll | ) |
Find variable at the specified location.
- Parameters
-
ll variable location
- Returns
- pointer to variable or nullptr
Definition at line 10019 of file hexrays.hpp.
◆ find_input_lvar()
int lvars_t::find_input_lvar | ( | const vdloc_t & | argloc, |
int | _size | ||
) |
Find input variable at the specified location.
- Parameters
-
argloc variable location _size variable size
- Returns
- -1 if failed, otherwise the index into the variables vector.
Definition at line 1408 of file hexrays.hpp.
◆ find_lvar()
int lvars_t::find_lvar | ( | const vdloc_t & | location, |
int | width, | ||
int | defblk = -1 |
||
) | const |
Find variable at the specified location.
- Parameters
-
location variable location width variable size defblk definition block of the lvar. -1 means any block
- Returns
- -1 if failed, otherwise the index into the variables vector.
Definition at line 10025 of file hexrays.hpp.
◆ find_stkvar()
int lvars_t::find_stkvar | ( | sval_t | spoff, |
int | width | ||
) |
Find stack variable at the specified location.
- Parameters
-
spoff offset from the minimal sp width variable size
- Returns
- -1 if failed, otherwise the index into the variables vector.
Definition at line 10013 of file hexrays.hpp.