LLVM API Documentation

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Attributes | List of all members
InternalInstruction Struct Reference

#include <X86DisassemblerDecoder.h>

Collaboration diagram for InternalInstruction:
Collaboration graph
[legend]

Public Attributes

byteReader_t reader
 
const void * readerArg
 
uint64_t readerCursor
 
dlog_t dlog
 
void * dlogArg
 
DisassemblerMode mode
 
uint64_t startLocation
 
size_t length
 
uint8_t prefixPresent [0x100]
 
uint64_t prefixLocations [0x100]
 
uint8_t vexXopPrefix [3]
 
VEXXOPType vexXopType
 
uint8_t rexPrefix
 
uint64_t necessaryPrefixLocation
 
SegmentOverride segmentOverride
 
BOOL xAcquireRelease
 
uint8_t registerSize
 
uint8_t addressSize
 
uint8_t displacementSize
 
uint8_t immediateSize
 
uint8_t displacementOffset
 
uint8_t immediateOffset
 
uint8_t opcode
 
uint8_t modRMExtension
 
OpcodeType opcodeType
 
uint16_t instructionID
 
const struct InstructionSpecifierspec
 
Reg vvvv
 
BOOL consumedModRM
 
uint8_t modRM
 
BOOL consumedSIB
 
uint8_t sib
 
BOOL consumedDisplacement
 
int32_t displacement
 
uint8_t numImmediatesConsumed
 
uint8_t numImmediatesTranslated
 
uint64_t immediates [2]
 
BOOL consumedOpcodeModifier
 
uint8_t opcodeModifier
 
Reg opcodeRegister
 
EABase eaBaseBase
 
EABase eaRegBase
 
Reg regBase
 
EABase eaBase
 
EADisplacement eaDisplacement
 
Reg reg
 
SIBIndex sibIndex
 
uint8_t sibScale
 
SIBBase sibBase
 
const struct OperandSpecifieroperands
 

Detailed Description

Definition at line 511 of file X86DisassemblerDecoder.h.

Member Data Documentation

uint8_t InternalInstruction::addressSize
BOOL InternalInstruction::consumedDisplacement

Definition at line 598 of file X86DisassemblerDecoder.h.

Referenced by readDisplacement().

BOOL InternalInstruction::consumedModRM

Definition at line 590 of file X86DisassemblerDecoder.h.

Referenced by readModRM().

BOOL InternalInstruction::consumedOpcodeModifier

Definition at line 607 of file X86DisassemblerDecoder.h.

Referenced by readOpcodeModifier().

BOOL InternalInstruction::consumedSIB

Definition at line 594 of file X86DisassemblerDecoder.h.

Referenced by readSIB().

int32_t InternalInstruction::displacement

Definition at line 599 of file X86DisassemblerDecoder.h.

Referenced by readDisplacement(), and translateRMMemory().

uint8_t InternalInstruction::displacementOffset

Definition at line 561 of file X86DisassemblerDecoder.h.

Referenced by readDisplacement(), and translateRMMemory().

uint8_t InternalInstruction::displacementSize

Definition at line 556 of file X86DisassemblerDecoder.h.

Referenced by readPrefixes(), translateImmediate(), and translateRMMemory().

dlog_t InternalInstruction::dlog

Definition at line 520 of file X86DisassemblerDecoder.h.

Referenced by decodeInstruction().

void* InternalInstruction::dlogArg

Definition at line 522 of file X86DisassemblerDecoder.h.

Referenced by decodeInstruction().

EABase InternalInstruction::eaBase

Definition at line 621 of file X86DisassemblerDecoder.h.

Referenced by readModRM(), translateRMMemory(), and translateRMRegister().

EABase InternalInstruction::eaBaseBase

Definition at line 615 of file X86DisassemblerDecoder.h.

Referenced by readModRM().

EADisplacement InternalInstruction::eaDisplacement

Definition at line 622 of file X86DisassemblerDecoder.h.

Referenced by readDisplacement(), readModRM(), readSIB(), and translateRMMemory().

EABase InternalInstruction::eaRegBase

Definition at line 616 of file X86DisassemblerDecoder.h.

Referenced by readModRM().

uint8_t InternalInstruction::immediateOffset

Definition at line 562 of file X86DisassemblerDecoder.h.

Referenced by readImmediate(), and translateImmediate().

uint64_t InternalInstruction::immediates[2]

Definition at line 604 of file X86DisassemblerDecoder.h.

Referenced by readImmediate(), readOperands(), and translateOperand().

uint8_t InternalInstruction::immediateSize
uint16_t InternalInstruction::instructionID

Definition at line 576 of file X86DisassemblerDecoder.h.

Referenced by decodeInstruction(), getID(), and translateInstruction().

size_t InternalInstruction::length
DisassemblerMode InternalInstruction::mode
uint8_t InternalInstruction::modRM
uint8_t InternalInstruction::modRMExtension

Definition at line 569 of file X86DisassemblerDecoder.h.

uint64_t InternalInstruction::necessaryPrefixLocation

Definition at line 547 of file X86DisassemblerDecoder.h.

Referenced by getID(), and readPrefixes().

uint8_t InternalInstruction::numImmediatesConsumed

Definition at line 602 of file X86DisassemblerDecoder.h.

Referenced by decodeInstruction(), readImmediate(), and readOperands().

uint8_t InternalInstruction::numImmediatesTranslated

Definition at line 603 of file X86DisassemblerDecoder.h.

Referenced by translateInstruction(), and translateOperand().

uint8_t InternalInstruction::opcode

Definition at line 567 of file X86DisassemblerDecoder.h.

Referenced by getID(), getIDWithAttrMask(), readOpcode(), and readOpcodeModifier().

uint8_t InternalInstruction::opcodeModifier
Reg InternalInstruction::opcodeRegister

Definition at line 609 of file X86DisassemblerDecoder.h.

Referenced by readOpcodeRegister(), and translateOperand().

OpcodeType InternalInstruction::opcodeType

Definition at line 574 of file X86DisassemblerDecoder.h.

Referenced by getID(), getIDWithAttrMask(), and readOpcode().

const struct OperandSpecifier* InternalInstruction::operands
uint64_t InternalInstruction::prefixLocations[0x100]

Definition at line 538 of file X86DisassemblerDecoder.h.

Referenced by isPrefixAtLocation(), and setPrefixPresent().

uint8_t InternalInstruction::prefixPresent[0x100]

Definition at line 536 of file X86DisassemblerDecoder.h.

Referenced by getID(), isPrefixAtLocation(), and setPrefixPresent().

byteReader_t InternalInstruction::reader

Definition at line 513 of file X86DisassemblerDecoder.h.

Referenced by consumeByte(), decodeInstruction(), and lookAtByte().

const void* InternalInstruction::readerArg

Definition at line 515 of file X86DisassemblerDecoder.h.

Referenced by consumeByte(), decodeInstruction(), and lookAtByte().

uint64_t InternalInstruction::readerCursor
Reg InternalInstruction::reg

Definition at line 624 of file X86DisassemblerDecoder.h.

Referenced by readModRM(), and translateOperand().

Reg InternalInstruction::regBase

Definition at line 617 of file X86DisassemblerDecoder.h.

Referenced by readModRM().

uint8_t InternalInstruction::registerSize

Definition at line 554 of file X86DisassemblerDecoder.h.

Referenced by readModRM(), readOpcodeRegister(), and readPrefixes().

uint8_t InternalInstruction::rexPrefix

Definition at line 544 of file X86DisassemblerDecoder.h.

Referenced by getID(), readModRM(), readOpcodeRegister(), readPrefixes(), and readSIB().

SegmentOverride InternalInstruction::segmentOverride

Definition at line 549 of file X86DisassemblerDecoder.h.

Referenced by readPrefixes(), and translateRMMemory().

uint8_t InternalInstruction::sib

Definition at line 595 of file X86DisassemblerDecoder.h.

Referenced by readSIB().

SIBBase InternalInstruction::sibBase

Definition at line 629 of file X86DisassemblerDecoder.h.

Referenced by readSIB(), and translateRMMemory().

SIBIndex InternalInstruction::sibIndex

Definition at line 627 of file X86DisassemblerDecoder.h.

Referenced by readSIB(), and translateRMMemory().

uint8_t InternalInstruction::sibScale

Definition at line 628 of file X86DisassemblerDecoder.h.

Referenced by readSIB(), and translateRMMemory().

const struct InstructionSpecifier* InternalInstruction::spec
uint64_t InternalInstruction::startLocation
uint8_t InternalInstruction::vexXopPrefix[3]

Definition at line 540 of file X86DisassemblerDecoder.h.

Referenced by getID(), readOpcode(), readPrefixes(), and readVVVV().

VEXXOPType InternalInstruction::vexXopType

Definition at line 542 of file X86DisassemblerDecoder.h.

Referenced by getID(), readOpcode(), readPrefixes(), and readVVVV().

Reg InternalInstruction::vvvv

Definition at line 586 of file X86DisassemblerDecoder.h.

Referenced by readOperands(), readVVVV(), and translateOperand().

BOOL InternalInstruction::xAcquireRelease

Definition at line 551 of file X86DisassemblerDecoder.h.

Referenced by readPrefixes(), and translateInstruction().


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