dissect.cstruct_legacy
dissect.cstruct_legacy copied to clipboard
For multi-dimensional arrays, it cannot be parsed normally, and an error is reported
struct some_struct {
uint8 field_1;
char field_2[2][SOME_CONSTANT];
char field_3[field_1 & 1 * 5]; // Some random expression to calculate array length
Example field_4[2];
};
char field_2 [2][SOME_CONSTANT];
