How to get size of global variables along with memory address from .map file using visual studio?

  • Thread starter Thread starter VSuser9
  • Start date Start date
V

VSuser9

Guest
How to get the sizes of the global variables from .map file generated using visual studio?

Using the "/MAP" linker option while building a dll, generates a .map file with the following format:

Address Publics by Value Rva+Base Lib:Object

<sec>:<addr> some_global_var <full_addr> <somefile.obj>

Is it possible to include size information in the .map file?

Ex:

Address Publics by Value Rva+Base Size Lib:Object

<sec>:<addr> some_global_var <full_addr> <bytes> <somefile.obj>

Continue reading...
 
Back
Top