ImHex
ImHex copied to clipboard
[Bug] Disassembly doesn't start from base offset
Operating System
Windows
What's the issue you encountered?
The disassembly doesn't start from the chosen base offset. I opened a small Windows/PE .exe and I can't move the start of disassembly as below
Note that however, with a 'Selection' the disassembly is correct
How can the issue be reproduced?
- Open an .exe
- Select View, Disassembler
- Enter a 'Position' different from zero
- The disassembled data keep starting from 0x0
ImHex Version
1.25.0
ImHex Build Type
- [ ] Nightly or built from sources
Installation type
Portable Windows package, just extracted
Additional context?
No response
Hey
The naming of these fields might be a bit misleading. Base address
referes to the address all addresses in the instructions will be relative to. This is for example useful if you know that a certain part of your binary will be loaded at a specific address into memory so the addresses displayed will be correct.
Instead what you want to do is select the range of bytes you want to disassemble and then check the Selection
radio box. Currently it just starts to disassemble all instructions starting from address 0x00 of your binary.
I'll see if I can make this a bit more obvious in the UI.
Oh, I see... Sorry for the wrong report 😊
This issue is marked stale as it has been open for 11 months without activity. Please try the latest ImHex version. (Avaiable here: https://imhex.download/ for release and https://imhex.download/#nightly for development version) If the issue persists on the latest version, please make a comment on this issue again
Without response, this issue will be closed in one month.