IDA C++ SDK 9.2
Loading...
Searching...
No Matches
gco_info_t Struct Reference

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 hexapi append_to_list (mlist_t *list, const mba_t *mba) const
 Append operand info to LIST.
vivl_t cvt_to_ivl () const
 Convert operand info to VIVL.

Public Attributes

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

Detailed Description

Member Function Documentation

◆ is_reg()

bool gco_info_t::is_reg ( ) const
inline

◆ is_use()

bool gco_info_t::is_use ( ) const
inline

◆ is_def()

bool gco_info_t::is_def ( ) const
inline

◆ append_to_list()

bool gco_info_t::append_to_list ( mlist_t * list,
const mba_t * mba ) const
inline

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

◆ cvt_to_ivl()

vivl_t gco_info_t::cvt_to_ivl ( ) const
inline

Convert operand info to VIVL.

The returned VIVL can be used, for example, in a call of get_valranges().

Member Data Documentation

◆ name

qstring gco_info_t::name

register or stkvar name

◆ stkoff

sval_t gco_info_t::stkoff

if stkvar, stack offset

◆ regnum

int gco_info_t::regnum

if register, the register id

◆ [union]

union { ... } gco_info_t

◆ size

int gco_info_t::size

operand size

◆ flags

int gco_info_t::flags

The documentation for this struct was generated from the following file: