Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to create a .MAP file from a .PDB file

I would like to create a simple .MAP file listing addresses and symbol names from a PDB file. My natural inclination was to look for a tool named "pdb2map", but most of the results I get for that appear to refer to a sample program from the CD included with Debugging Applications for Microsoft .NET and Microsoft Windows, which unfortunately is not also posted on the 'net.

Anyone know a good tool for this? Thanks.

like image 942
SamB Avatar asked Mar 16 '10 00:03

SamB


2 Answers

If you have both the application.exe and the application.pdb files, put them in the same directory and run:

dumpbin /map application.exe > application.map

dumpbin comes with Visual Studio and probably with other tools as well.

like image 135
Alex O Avatar answered Sep 16 '22 15:09

Alex O


It seems that this file will do the trick:

http://www.ecs.syr.edu/faculty/fawcett/handouts/testingseminar/Chapter12And14_CodeAndDocs/PDB2MAP.cpp

like image 33
yurymik Avatar answered Sep 17 '22 15:09

yurymik