bump number of operands supported by MCInst to 48. this fixes a segfault in ARM

This commit is contained in:
Nguyen Anh Quynh 2014-06-17 17:19:11 +08:00
parent 476d5ad7a5
commit b287301ef4
1 changed files with 1 additions and 1 deletions

View File

@ -91,7 +91,7 @@ MCOperand *MCOperand_CreateImm1(MCInst *inst, int64_t Val);
/// instruction. /// instruction.
struct MCInst { struct MCInst {
unsigned Opcode; unsigned Opcode;
MCOperand Operands[34]; MCOperand Operands[48];
unsigned OpcodePub; unsigned OpcodePub;
unsigned size; // number of operands unsigned size; // number of operands
cs_insn *flat_insn; // insn to be exposed to public cs_insn *flat_insn; // insn to be exposed to public