lvars_t Struct Reference

Vector of local variables. More...

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 (int32 spoff, int width)
 Find stack variable at the specified location. More...
 
lvar_tfind (const lvar_locator_t &ll)
 Find variable at the specified location. More...
 
int find_lvar (const vdloc_t &location, int width, int defblk=-1)
 Find variable at the specified location. More...
 

Detailed Description

Vector of local variables.

Definition at line 1383 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
llvariable location
Returns
pointer to variable or NULL

Definition at line 9325 of file hexrays.hpp.

References hexdsp.

◆ find_input_lvar()

int lvars_t::find_input_lvar ( const vdloc_t argloc,
int  _size 
)

Find input variable at the specified location.

Parameters
arglocvariable location
_sizevariable size
Returns
-1 if failed, otherwise the index into the variables vector.

Definition at line 1389 of file hexrays.hpp.

References hexapi.

◆ find_lvar()

int lvars_t::find_lvar ( const vdloc_t location,
int  width,
int  defblk = -1 
)

Find variable at the specified location.

Parameters
locationvariable location
widthvariable size
defblkdefinition block of the lvar. -1 means any block
Returns
-1 if failed, otherwise the index into the variables vector.

Definition at line 9331 of file hexrays.hpp.

References hexdsp.

◆ find_stkvar()

int lvars_t::find_stkvar ( int32  spoff,
int  width 
)

Find stack variable at the specified location.

Parameters
spoffoffset from the minimal sp
widthvariable size
Returns
-1 if failed, otherwise the index into the variables vector.

Definition at line 9319 of file hexrays.hpp.

References hexdsp.