Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] #2136

Open
1 task
hyblocker opened this issue Feb 22, 2025 · 1 comment
Open
1 task

[Bug] #2136

hyblocker opened this issue Feb 22, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@hyblocker
Copy link

Operating System

Windows

What's the issue you encountered?

8-byte aligned boundaries do not continue highlighting till the middle of the program, but 8+ byte long variables continue highlighting past that.

Image

How can the issue be reproduced?

load a file and make a pattern where var A is aligned with 8 bytes, and var B is aligned with another 8 bytes.

ImHex Version

1.37.1

ImHex Build Type

  • Nightly or built from sources

Installation type

MSI

Additional context?

No response

@hyblocker hyblocker added the bug Something isn't working label Feb 22, 2025
@paxcut
Copy link
Contributor

paxcut commented Feb 23, 2025

8-byte aligned boundaries do not continue highlighting till the middle of the program, but 8+ byte long variables continue highlighting past that.

I am not sure what you mean by '8-byte boundaries highlighting till the middle of the program'. What role do 8+ long variables play? Are they also aligned to 8 byte boundaries? From the image the only variable aligned to 8-byte boundaries is at 0xB8 and it is 12 bytes long.

load a file and make a pattern where var A is aligned with 8 bytes, and var B is aligned with another 8 bytes.

Your description doesn't describe the method used to align variables to byte boundaries, where the variables need to be located, what their size should be or what expected behavior produces unexpected results.

Please post a simple example of code and some sample input data and state what it is you expect to see that fails to occur.
To help other users that may run into this problem please describe it in the title.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants