Operating System
Windows
What's the issue you encountered?
When an array is made of elements smaller than 1 byte, the size of the array and the start and end of some values are incorrectly displayed in pattern data window.
How can the issue be reproduced?
The following simple pattern
#pragma example 0x14;
bitfield u4 {
data : 4;
};
u4 test[2] @ 0;
Should create an array of size 1 byte and the two elements should occupy the lowers and the upper 4 bits respectively. Instead the patter data view shows the following:
The size and the end of the array are incorrect and the position of one of the array elements is also wrong.
ImHex Version
1.39.0wip
ImHex Build Type
Installation type
built locally
Additional context?
No response
Operating System
Windows
What's the issue you encountered?
When an array is made of elements smaller than 1 byte, the size of the array and the start and end of some values are incorrectly displayed in pattern data window.
How can the issue be reproduced?
The following simple pattern
Should create an array of size 1 byte and the two elements should occupy the lowers and the upper 4 bits respectively. Instead the patter data view shows the following:
The size and the end of the array are incorrect and the position of one of the array elements is also wrong.
ImHex Version
1.39.0wip
ImHex Build Type
Installation type
built locally
Additional context?
No response