Fuzzing.in Logo FUZZING.IN
Back to Blog
Uncategorized

Get RVA for offset in exe

Author Hardik Shah
October 21, 2016
1 min read
if you want to know where a particular sequence of byte will be loaded at run time in memory and you only have there offset from 0 position in exe file then use following:
  1. open exe and check sections tables
  2. check which section this offset belong to.
  3. load exe and get base address.
  4. you can calculate offset as below:
    1. RVA = offset in exe - rawaddress from section + virtual address + base address of exe
Tags:
Previous dumping flash var[bytearray] to file
Next compiling and testing openssl

Related Posts