Latest available version: IDA and decompilers v8.4.240320sp1 see all releases
Hex-Rays logo State-of-the-art binary code analysis tools
email icon
lvar_uservec_t Struct Reference

All user-defined information about local variables. More...

#include <hexrays.hpp>

Public Member Functions

void swap (lvar_uservec_t &r)
 
void clear ()
 
bool empty () const
 
lvar_saved_info_tfind_info (const lvar_locator_t &vloc)
 find saved user settings for given var More...
 
void keep_info (const lvar_t &v)
 Preserve user settings for given var. More...
 

Public Attributes

lvar_saved_infos_t lvvec
 User-specified names, types, comments for lvars. More...
 
lvar_mapping_t lmaps
 Local variable mapping (used for merging variables) More...
 
uval_t stkoff_delta = 0
 Delta to add to IDA stack offset to calculate Hex-Rays stack offsets. More...
 
int ulv_flags = ULV_PRECISE_DEFEA
 Various flags. Possible values are from lvar_uservec_t property bits. More...
 

Detailed Description

All user-defined information about local variables.

Examples
hexrays_sample4.cpp.

Definition at line 1488 of file hexrays.hpp.

Member Function Documentation

◆ clear()

void lvar_uservec_t::clear ( )

Definition at line 1516 of file hexrays.hpp.

◆ empty()

bool lvar_uservec_t::empty ( ) const

Definition at line 1523 of file hexrays.hpp.

◆ find_info()

lvar_saved_info_t * lvar_uservec_t::find_info ( const lvar_locator_t vloc)

find saved user settings for given var

Definition at line 1532 of file hexrays.hpp.

◆ keep_info()

void lvar_uservec_t::keep_info ( const lvar_t v)

Preserve user settings for given var.

Definition at line 1543 of file hexrays.hpp.

◆ swap()

void lvar_uservec_t::swap ( lvar_uservec_t r)

Definition at line 1509 of file hexrays.hpp.

Member Data Documentation

◆ lmaps

lvar_mapping_t lvar_uservec_t::lmaps

Local variable mapping (used for merging variables)

Examples
hexrays_sample4.cpp.

Definition at line 1495 of file hexrays.hpp.

◆ lvvec

lvar_saved_infos_t lvar_uservec_t::lvvec

User-specified names, types, comments for lvars.

Variables without user-specified info are not present in this vector.

Examples
hexrays_sample4.cpp.

Definition at line 1492 of file hexrays.hpp.

◆ stkoff_delta

uval_t lvar_uservec_t::stkoff_delta = 0

Delta to add to IDA stack offset to calculate Hex-Rays stack offsets.

Should be set by the caller before calling save_user_lvar_settings();

Definition at line 1499 of file hexrays.hpp.

◆ ulv_flags

int lvar_uservec_t::ulv_flags = ULV_PRECISE_DEFEA

Various flags. Possible values are from lvar_uservec_t property bits.

Definition at line 1507 of file hexrays.hpp.