Skip to content

[Bug] Disassembler region range upper bound not inclusive. #2196

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

Open
1 task
TheAllTinker opened this issue Apr 4, 2025 · 1 comment
Open
1 task

[Bug] Disassembler region range upper bound not inclusive. #2196

TheAllTinker opened this issue Apr 4, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@TheAllTinker
Copy link

Operating System

Windows

What's the issue you encountered?

Just a minor thing; the upper bound address isn't included in the disassembly, meaning you must specify an upper address one byte beyond the region you're interested in - which is especially odd if the region happens to be at the end of the file.

How can the issue be reproduced?

Enter a region lower/upper bound and run the disassembly; it won't include the byte at the address specific in the upper bound.

ImHex Version

1.37.4

ImHex Build Type

  • Nightly or built from sources

Installation type

MSI

Additional context?

No response

@TheAllTinker TheAllTinker added the bug Something isn't working label Apr 4, 2025
@TheAllTinker
Copy link
Author

Oh this also includes selection range too - you have to highlight an extra byte at the end.

shewitt-au added a commit to shewitt-au/SteveImHex that referenced this issue May 25, 2025
Disassembler region range upper bound not inclusive
shewitt-au added a commit to shewitt-au/SteveImHex that referenced this issue May 25, 2025
Disassembler region range upper bound not inclusive
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

1 participant