MapFileBrowser can read MAP files generated by Microsoft Visual Studio, Delphi, C++ Builder and various other MAP files.
Some MAP files contain line numbers, some don't. The options for adding line numbers to MAP files have changed with different versions of compilers and linkers.
Even if a MAP file doesn't contain line numbers, the MAP can still be useful in guiding you to the correct function that is related to an address.
Visual Studio 6
Visual Studio 6 will add line numbers to your MAP file if you add the following option to your linker settings /MAPINFO:LINES
Visual Studio 7 (2002) and later
Visual Studio 7 and later will not add line numbers to your MAP file. The linker option /MAPINFO:LINES is not supported.
This means you can't create MAP files containing line numbers for anything you build with Visual Studio 7 (2002) or later, or for any 64 bit builds.
You can still use MapFileBrowser to identify the function which contains a given address.
Delphi
To create MAP files containing line numbers you need to specify that you want a "detailed" MAP file in the options for your Delphi or C++ Builder project.
C++ Builder
To create MAP files containing line numbers you need to specify that you want a "detailed" MAP file in the options for your Delphi or C++ Builder project.
Other Compilers
If you find that MapFileBrowser cannot read your MAP file, please contact us at support@softwareverify.com, attaching your MAP file to the email.
We will try to add support for your MAP file format as soon as we can.