winIDEA SDK
iEclipse::IInstruction Struct Reference

Description

This interface provides information about an instruction.

Since
9.12.171

#include <i_Eclipse.h>

Public Member Functions

virtual LPCSTR OpCode () const PURE
 returns op-code string. A tab character is used to separate op-code from arguments
 
virtual ADDRESS_64 Address () const PURE
 returns Address of instruction
 
virtual ADDRESS_64 JumpTarget () const PURE
 returns JumpTarget of instruction
 
virtual DWORD Size () const PURE
 returns length of instruction in MAUs
 
virtual DWORD Flags () const PURE
 returns flXXXX masked flags
 
virtual DWORD MemAccessSize () const PURE
 for flWrite|flRead size of access in MAUs
 

Static Public Attributes

static const WORD flFlowSequential = 0x0000
 sequential instruction
 
static const WORD flFlowDirectJump = 0x0001
 a direct change of flow. m_aJumpTarget is valid
 
static const WORD flFlowIndirectJump = 0x0002
 an indirect change of flow
 
static const WORD flConditional = 0x0004
 instruction is conditional
 
static const WORD flCall = 0x0008
 call to a routine which will return and resume execution after this instruction
 
static const WORD flRelative = 0x0010
 valid for flFlowDirectJump - if code is offset, the m_aJumpTarget will be offset too. original m_aJumpTarget is NOT relative to m_aAddress, but is already real jump target
 
static const WORD flWrite = 0x0020
 execution of opcode will generate a write access
 
static const WORD flRead = 0x0040
 execution of opcode will generate a read access