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_t * | find_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 |
Delta to add to IDA stack offset to calculate Hex-Rays stack offsets. More... | |
int | ulv_flags |
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 1498 of file hexrays.hpp.
Constructor & Destructor Documentation
◆ lvar_uservec_t()
lvar_uservec_t::lvar_uservec_t | ( | void | ) |
Definition at line 1519 of file hexrays.hpp.
Member Function Documentation
◆ clear()
void lvar_uservec_t::clear | ( | void | ) |
Definition at line 1527 of file hexrays.hpp.
◆ empty()
bool lvar_uservec_t::empty | ( | void | ) | const |
Definition at line 1534 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 1543 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 1554 of file hexrays.hpp.
◆ swap()
void lvar_uservec_t::swap | ( | lvar_uservec_t & | r | ) |
Definition at line 1520 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 1505 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 1502 of file hexrays.hpp.
◆ stkoff_delta
uval_t lvar_uservec_t::stkoff_delta |
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 1509 of file hexrays.hpp.
◆ ulv_flags
int lvar_uservec_t::ulv_flags |
Various flags. Possible values are from lvar_uservec_t property bits.
Definition at line 1512 of file hexrays.hpp.