Ghidra: Show File Offset for Currently Selected Address

Created on 11 Mar 2019  路  10Comments  路  Source: NationalSecurityAgency/ghidra

Is there a way to get Ghidra to always show the *file offset (in hex) for the currently selected address somewhere?

Enhancement

Most helpful comment

I have switched this over to an enhancement so we can consider it for a future release.

All 10 comments

Currently there is nothing built-in to do this. The file offset to memory address mapping is lost during import. You would have to write a script to figure out the file offset, which would be specific to your binary's file format.

@ryanmkurtz is this something that may be added in a future release?

I have switched this over to an enhancement so we can consider it for a future release.

@ryanmkurtz cool :)

@ryanmkurtz was this implemented in v9.0.1?

@OothecaPickle, no, it was not implemented for the patch release.

This has been implemented for 9.1. You can test it out in the master branch.

great :)

Hym, I don't see where the data are displayed. Can you help me with this?

You have to hover on an address in the listing. There's also a new field in the Memory Map to show where each memory block was mapped from in the file.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

0x6d696368 picture 0x6d696368  路  17Comments

0x6d696368 picture 0x6d696368  路  18Comments

0x6d696368 picture 0x6d696368  路  19Comments

woachk picture woachk  路  33Comments

yifanlu picture yifanlu  路  24Comments