increase sizes of @op_str & ARM @operands to contain some ARM instructions with super long list of registers. issue reported by Deroko of ARTeam

This commit is contained in:
Nguyen Anh Quynh 2014-01-13 23:29:39 +08:00
parent a84fe66228
commit b99aec8791
2 changed files with 2 additions and 2 deletions

View File

@ -91,7 +91,7 @@ typedef struct cs_arm {
// or 0 when instruction has no operand.
uint8_t op_count;
cs_arm_op operands[20]; // operands for this instruction.
cs_arm_op operands[36]; // operands for this instruction.
} cs_arm;
//> ARM registers

View File

@ -134,7 +134,7 @@ typedef struct cs_insn {
// Ascii text of instruction operands
// This information is available even when CS_OPT_DETAIL = CS_OPT_OFF
char op_str[96];
char op_str[136];
// Pointer to cs_detail.
// NOTE: detail pointer is only valid (not NULL) when CS_OP_DETAIL = CS_OPT_ON