lvars_t Struct Reference

Set of local variables. More...

List of all members.

Public Member Functions

int find_input_lvar (argloc_t argloc, int size)
 Find input variable at the specified location.
int find_stkvar (int32 spoff, int width)
 Find stack variable at the specified location.
lvar_tfind (const lvar_locator_t &ll)
 Find variable at the specified location.
int find_lvar (argloc_t location, int width, int defblk=-1)
 Find variable at the specified location.

Detailed Description

Set of local variables.

Definition at line 691 of file hexrays.hpp.


Member Function Documentation

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 NULL

Definition at line 4152 of file hexrays.hpp.

References hexdsp.

int lvars_t::find_input_lvar ( argloc_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 697 of file hexrays.hpp.

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

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 4158 of file hexrays.hpp.

References hexdsp.

int lvars_t::find_stkvar ( int32  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 4146 of file hexrays.hpp.

References hexdsp.