gco_info_t Struct Reference

Result of get_current_operand() More...

Public Member Functions

bool is_reg (void) const
 
bool is_use (void) const
 
bool is_def (void) const
 
bool append_to_list (mlist_t *list, const mbl_array_t *mba) const
 Append operand info to LIST. More...
 

Public Attributes

qstring name
 register or stkvar name
 
union {
   sval_t   stkoff
 if stkvar, stack offset
 
   int   regnum
 if register, the register id
 
}; 
 
int size
 operand size
 
int flags
 

Detailed Description

Result of get_current_operand()

Examples:
hexrays_sample12.cpp, and hexrays_sample15.cpp.

Definition at line 5145 of file hexrays.hpp.

Member Function Documentation

◆ append_to_list()

bool gco_info_t::append_to_list ( mlist_t list,
const mbl_array_t mba 
) const

Append operand info to LIST.

This function converts IDA register number or stack offset to a decompiler list.

Parameters
listlist to append to
mbamicrocode object
Examples:
hexrays_sample12.cpp, and hexrays_sample15.cpp.

Definition at line 10926 of file hexrays.hpp.

References hexdsp.