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:
parent
a84fe66228
commit
b99aec8791
|
@ -91,7 +91,7 @@ typedef struct cs_arm {
|
||||||
// or 0 when instruction has no operand.
|
// or 0 when instruction has no operand.
|
||||||
uint8_t op_count;
|
uint8_t op_count;
|
||||||
|
|
||||||
cs_arm_op operands[20]; // operands for this instruction.
|
cs_arm_op operands[36]; // operands for this instruction.
|
||||||
} cs_arm;
|
} cs_arm;
|
||||||
|
|
||||||
//> ARM registers
|
//> ARM registers
|
||||||
|
|
|
@ -134,7 +134,7 @@ typedef struct cs_insn {
|
||||||
|
|
||||||
// Ascii text of instruction operands
|
// Ascii text of instruction operands
|
||||||
// This information is available even when CS_OPT_DETAIL = CS_OPT_OFF
|
// This information is available even when CS_OPT_DETAIL = CS_OPT_OFF
|
||||||
char op_str[96];
|
char op_str[136];
|
||||||
|
|
||||||
// Pointer to cs_detail.
|
// Pointer to cs_detail.
|
||||||
// NOTE: detail pointer is only valid (not NULL) when CS_OP_DETAIL = CS_OPT_ON
|
// NOTE: detail pointer is only valid (not NULL) when CS_OP_DETAIL = CS_OPT_ON
|
||||||
|
|
Loading…
Reference in New Issue