NationalSecurityAgency / ghidra

Ghidra is a software reverse engineering (SRE) framework
https://www.nsa.gov/ghidra
Apache License 2.0
50.85k stars 5.8k forks source link

Is the information panel we refer to as File Offset the RVA? #6794

Closed maskelihileci closed 1 month ago

maskelihileci commented 1 month ago

Describe the bug :

As stated in the subject line, I am looking for the Copy RVA feature, but I am not reaching the correct result

To Reproduce :

image

Expected behavior :

To provide the correct RVA value.

Screenshots

image

Environment (please complete the following information):

ryanmkurtz commented 1 month ago

No, the File Offset is not the RVA. Generally speaking, the RVA is (Address - Imagebase). We don't have a field for that, but if you hover on an address, it is listed as Imagebase Offset.

maskelihileci commented 1 month ago

Then let's change the topic to a feature request. We are looking forward to 'GO TO RVA' and 'COPY RVA' features. Good luck.