ImHex icon indicating copy to clipboard operation
ImHex copied to clipboard

[Bug] Unable to enter 128-bit values in pattern field

Open soxfox42 opened this issue 1 year ago • 6 comments

Operating System

Windows

What's the issue you encountered?

The pattern data panel is unable to set values above the maximum of a 64-bit integer, so u96 and u128 fields can't be edited easily.

How can the issue be reproduced?

  1. Create or open a file with at least 16 bytes.
  2. Execute the following pattern; u128 value @ 0x00;
  3. In the pattern data panel, set value to some number above 2^64.

Instead of the expected value, the field will be set to 2^64 - 1 (maximum 64-bit value).

ImHex Version

1.30.1, 1.31.0

ImHex Build Type

  • [ ] Nightly or built from sources

Installation type

MSI

Additional context?

No response

soxfox42 avatar Aug 08 '23 00:08 soxfox42