Skip to content

Commit

Permalink
bump number of operands supported by MCInst to 48. this fixes a segfa…
Browse files Browse the repository at this point in the history
…ult in ARM
  • Loading branch information
aquynh committed Jun 17, 2014
1 parent 476d5ad commit b287301
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MCInst.h
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ MCOperand *MCOperand_CreateImm1(MCInst *inst, int64_t Val);
/// instruction.
struct MCInst {
unsigned Opcode;
MCOperand Operands[34];
MCOperand Operands[48];
unsigned OpcodePub;
unsigned size; // number of operands
cs_insn *flat_insn; // insn to be exposed to public
Expand Down

0 comments on commit b287301

Please sign in to comment.