Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Tool to find if dll (or) exe and PDB file match [closed]

Tags:

Is there any tool to check if a DLL and PDB match? I need to debug a process and I can't afford to use the wrong PDB and start the process all over again.

like image 885
Prabhu Avatar asked Apr 30 '10 08:04

Prabhu


4 Answers

Found that chkmatch tool can find this.Check this out..

like image 144
Prabhu Avatar answered Sep 18 '22 12:09

Prabhu


This is a good article describing tool symchk.exe:

You can use WINPDB for this: turn on symbol diagnostic messages, then reload your symbols:

!sym noisy
.reload -f your.dll

the output shows which PDB file locations are being tried, and there will be a warning if there is a mismatch

like image 39
denfromufa Avatar answered Sep 21 '22 12:09

denfromufa


There is a MSDN sample tool called DIA2Dump that should be able to dump out the contents of a PDB. You should be able to use this construct script that determines the correct source location.

Or you could set up your own source server to handle this.

like image 29
Preet Sangha Avatar answered Sep 18 '22 12:09

Preet Sangha


I needed the same kind of tool and I decided to write my own. DebugSignaturesComparer

There's both CLI and GUI version available.

like image 44
mcjmzn Avatar answered Sep 20 '22 12:09

mcjmzn