Result of get_current_operand() More...
#include <hexrays.hpp>
Public Member Functions | |
bool | is_reg () const |
bool | is_use () const |
bool | is_def () const |
bool | append_to_list (mlist_t *list, const mba_t *mba) const |
Append operand info to LIST. More... | |
vivl_t | cvt_to_ivl () const |
Convert operand info to VIVL. More... | |
Public Attributes | |
qstring | name |
register or stkvar name More... | |
union { | |
sval_t stkoff | |
if stkvar, stack offset More... | |
int regnum | |
if register, the register id More... | |
}; | |
int | size |
operand size More... | |
int | flags |
Detailed Description
Result of get_current_operand()
- Examples
- hexrays_sample12.cpp, and hexrays_sample15.cpp.
Definition at line 5485 of file hexrays.hpp.
Member Function Documentation
◆ append_to_list()
Append operand info to LIST.
This function converts IDA register number or stack offset to a decompiler list.
- Parameters
-
list list to append to mba microcode object
- Examples
- hexrays_sample12.cpp, and hexrays_sample15.cpp.
Definition at line 11561 of file hexrays.hpp.
◆ cvt_to_ivl()
vivl_t gco_info_t::cvt_to_ivl | ( | ) | const |
Convert operand info to VIVL.
The returned VIVL can be used, for example, in a call of get_valranges().
- Examples
- hexrays_sample15.cpp.
Definition at line 5513 of file hexrays.hpp.
◆ is_def()
bool gco_info_t::is_def | ( | ) | const |
- Examples
- hexrays_sample12.cpp, and hexrays_sample15.cpp.
Definition at line 5501 of file hexrays.hpp.
◆ is_reg()
bool gco_info_t::is_reg | ( | ) | const |
Definition at line 5499 of file hexrays.hpp.
◆ is_use()
bool gco_info_t::is_use | ( | ) | const |
- Examples
- hexrays_sample12.cpp.
Definition at line 5500 of file hexrays.hpp.
Member Data Documentation
◆ flags
int gco_info_t::flags |
- Examples
- hexrays_sample12.cpp.
Definition at line 5494 of file hexrays.hpp.
◆ name
qstring gco_info_t::name |
register or stkvar name
- Examples
- hexrays_sample12.cpp, and hexrays_sample15.cpp.
Definition at line 5487 of file hexrays.hpp.
◆ regnum
int gco_info_t::regnum |
if register, the register id
Definition at line 5491 of file hexrays.hpp.
Referenced by cvt_to_ivl().
◆ size
int gco_info_t::size |
operand size
- Examples
- hexrays_sample12.cpp.
Definition at line 5493 of file hexrays.hpp.
Referenced by cvt_to_ivl().
◆ stkoff
sval_t gco_info_t::stkoff |