Skip to content

how to get a correct file offset #6278

Closed Answered by xusheng6
FischLu asked this question in General
Discussion options

You must be logged in to vote

Toggling "From File Start" actually does NOT show the raw file offsets (despite the confusing name). It shows the value of current address minus the start of the binary view. In other words, the current address is 0x140001000, and the start of the binary view is 0x140000000. So it shows 0x1000.

IMO the name of the menu entry should probably be renamed to something like "From View Start", and another option, e.g., "From Raw File Start" should be added which does what you wanted

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@FischLu
Comment options

Answer selected by FischLu
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants