1 Commits
Author SHA1 Message Date
ghorsington 9206fee94d Fix modrm instruction operand info not being copied 2022-09-10 21:39:38 +03:00
@@ -471,6 +471,9 @@ static void x86_insn_decode_opcode(x86_insn_reader_t *rd, x86_insn_decode_t *ins
// update the insn spec
insn_spec.name = group_insn->name;
insn_spec.flags = group_insn->flags;
for (int i = 0; i < sizeof(insn_spec.operands) / sizeof(x86_insn_operand_spec_t); i++) {
insn_spec.operands[i] = group_insn->operands[i];
}
}
insn->primary_opcode = opcode;