Describes an entry in an address map.
A relative virtual address (RVA) in image A.
The relative virtual address that rva is mapped to in image B.
An address map provides a translation from one image layout (A) to another (B). An array of OMAP structures, sorted by rva, defines an address map.
To translate an address, addrA, in image A to an address, addrB, in image B, perform the following steps:
- Search the map for the entry, e, with the largest rva less than or equal to addrA.
- Set delta = addrA – e.rva.
- Set addrB = e.rvaTo + delta.
DbgHelp.dll 6.8 or later