Skip to content

Commit

Permalink
increase sizes of @op_str & ARM @operands to contain some ARM instruc…
Browse files Browse the repository at this point in the history
…tions with super long list of registers. issue reported by Deroko of ARTeam
  • Loading branch information
aquynh committed Jan 13, 2014
1 parent a84fe66 commit b99aec8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion include/arm.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion include/capstone.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b99aec8

Please sign in to comment.