Skip to content

Commit

Permalink
Fix modrm instruction operand info not being copied
Browse files Browse the repository at this point in the history
  • Loading branch information
ghorsington committed Sep 10, 2022
1 parent 2ac058e commit 9206fee
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 9206fee

Please sign in to comment.