Can rebasing affect correctness of information in the map file generated before?

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Antonio (antoniopassado_at_hotmail.com)
Date: 07/09/04


Date: Fri, 9 Jul 2004 19:09:10 +0200

Hi everybody

For some strange reasons offsets in dlls loaded into memory do not match
those, mentioned in map file. We suspect that this happens due to automatic
rebasing of all the binary modules involved in workspace at the end of
complete build of all the projects. Can this possibly be the case and how to
avoid it?

It looks like order of some sections is changed. Quite often offsets exceed
the last offset mentioned in the map file. We generate map file with options
/map /MAPINFO:LINES /MAPINFO:EXPORTS during building of a particular
project. Rebasing is made after all the projects were built and involves all
the modules that will be loaded:
rebase.exe -b 0x60060000 [module ...]

Kind regards,
Antonio



Relevant Pages