|
@@ -99,7 +99,7 @@ int arch_decode_instruction(struct elf *elf, struct section *sec,
|
|
break;
|
|
break;
|
|
|
|
|
|
case 0x8d:
|
|
case 0x8d:
|
|
- if (insn.rex_prefix.bytes &&
|
|
|
|
|
|
+ if (insn.rex_prefix.nbytes &&
|
|
insn.rex_prefix.bytes[0] == 0x48 &&
|
|
insn.rex_prefix.bytes[0] == 0x48 &&
|
|
insn.modrm.nbytes && insn.modrm.bytes[0] == 0x2c &&
|
|
insn.modrm.nbytes && insn.modrm.bytes[0] == 0x2c &&
|
|
insn.sib.nbytes && insn.sib.bytes[0] == 0x24)
|
|
insn.sib.nbytes && insn.sib.bytes[0] == 0x24)
|