Is there a way to get Ghidra to always show the *file offset (in hex) for the currently selected address somewhere?
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.
Most helpful comment
I have switched this over to an enhancement so we can consider it for a future release.