mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 03:28:20 +02:00
X86 GetTarget fix
This commit is contained in:
parent
25ff5ef109
commit
114f5a3c92
1 changed files with 1 additions and 1 deletions
|
@ -384,7 +384,7 @@ uint32 X86Instr::GetTarget(Debugger* debugger, X86CPURegisters* registers)
|
|||
|
||||
int opIdx = 0;
|
||||
auto operand = mMCInst.getOperand(0);
|
||||
if ((instDesc.OpInfo[0].OperandType == MCOI::OPERAND_REGISTER) && (instDesc.OpInfo[4].OperandType == MCOI::OPERAND_MEMORY))
|
||||
if ((mMCInst.getNumOperands() >= 5) && (instDesc.OpInfo[0].OperandType == MCOI::OPERAND_REGISTER) && (instDesc.OpInfo[4].OperandType == MCOI::OPERAND_MEMORY))
|
||||
{
|
||||
opIdx = 4;
|
||||
operand = mMCInst.getOperand(opIdx);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue