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

Operand locator. More...

#include <hexrays.hpp>

Inheritance diagram for operand_locator_t:
mnumber_t

Public Member Functions

 operand_locator_t (ea_t _ea, int _opnum)
 
 DECLARE_COMPARISONS (operand_locator_t)
 

Public Attributes

ea_t ea
 address of the original processor instruction More...
 
int opnum
 operand number in the instruction More...
 

Detailed Description

Operand locator.

It is used to denote a particular operand in the ctree, for example, when the user right clicks on a constant and requests to represent it, say, as a hexadecimal number.

Examples
hexrays_sample4.cpp.

Definition at line 763 of file hexrays.hpp.

Constructor & Destructor Documentation

◆ operand_locator_t()

operand_locator_t::operand_locator_t ( ea_t  _ea,
int  _opnum 
)

Definition at line 771 of file hexrays.hpp.

Member Data Documentation

◆ ea

ea_t operand_locator_t::ea

address of the original processor instruction

Examples
hexrays_sample16.cpp, and hexrays_sample4.cpp.

Definition at line 769 of file hexrays.hpp.

◆ opnum

int operand_locator_t::opnum

operand number in the instruction

Examples
hexrays_sample16.cpp, and hexrays_sample4.cpp.

Definition at line 770 of file hexrays.hpp.