Support showing address in linear view as raw file offset #6279
Labels
Component: UI
Issue needs changes to the user interface
Effort: Trivial
Issue should take < 1 day
Impact: Low
Issue is a papercut or has a good, supported workaround
Type: Enhancement
Issue is a small enhancement to existing functionality
UI: Linear
Issues with the Linear view
Milestone
Discussed in #6278
Originally posted by FischLu December 26, 2024
I am analyzing a Windows PE file and want to obtain the file offset. I have already adjusted the address display mode to "from file start" in Binary Ninja. However, I noticed that the addresses shown in Binary Ninja are consistently 0xC00 larger than the actual file offsets. After investigating, I found that the .text section does not immediately follow the header; instead, it starts at 0x1000, as shown in the figure.
How can I obtain the actual file offsets without manually subtracting 0xC00 each time? Is there a way for the software to handle this automatically? Thank you!
The text was updated successfully, but these errors were encountered: