LLDB mainline
|
These are the three values deciding instruction control flow kind. More...
Public Attributes | |
uint8_t | primary_opcode |
uint8_t | opcode_len |
uint8_t | modrm |
These are the three values deciding instruction control flow kind.
InstructionLengthDecode function decodes an instruction and get this struct.
primary_opcode Primary opcode of the instruction. For one-byte opcode instruction, it's the first byte after prefix. For two- and three-byte opcodes, it's the second byte.
opcode_len The length of opcode in bytes. Valid opcode lengths are 1, 2, or 3.
modrm ModR/M byte of the instruction. Bits[7:6] indicate MOD. Bits[5:3] specify a register and R/M bits[2:0] may contain a register or specify an addressing mode, depending on MOD.
Definition at line 111 of file DisassemblerLLVMC.cpp.
uint8_t x86::InstructionOpcodeAndModrm::modrm |
Definition at line 114 of file DisassemblerLLVMC.cpp.
Referenced by x86::InstructionLengthDecode(), and x86::MapOpcodeIntoControlFlowKind().
uint8_t x86::InstructionOpcodeAndModrm::opcode_len |
Definition at line 113 of file DisassemblerLLVMC.cpp.
Referenced by x86::InstructionLengthDecode(), and x86::MapOpcodeIntoControlFlowKind().
uint8_t x86::InstructionOpcodeAndModrm::primary_opcode |
Definition at line 112 of file DisassemblerLLVMC.cpp.
Referenced by x86::InstructionLengthDecode(), and x86::MapOpcodeIntoControlFlowKind().