ChkMatch utility can be used to check whether an executable and debug information file match. It can also be used to enforce matching between an executable and debug information file, if they are compatible.
For more information about debug information matching and related issues, see this article.
Supported debug information formats: DBG, PDB 2.0, PDB 7.0.
Command line options
chkmatch [-c ExeFile DebugInfoFile ] | [-m ExeFile DebugInfoFile]
- Check matching between the executable and the debug information file.
- Make the executable and the debug information file match.
- The name of the executable file.
- The name of the debug information file.
When invoked with -c or -m option, ChkMatch displays detailed information about debug information related data structures in the executable and in the debug information file.
Word of caution
When ChkMatch is invoked with -m option, it attempts to modify the debug information file. Make sure that you have a copy of the debug information file before modifying it with ChkMatch.
ChkMatch is capable of making an executable and PDB file match if they have different signatures but the same age (see this article for more information about PDB signature and age). If the age differs, the tool cannot make the files match. Signature and age can be displayed using -c option.
Supported operating systems
ChkMatch works on Windows NT 4.0, Windows 2000, Windows XP, Windows Vista, Windows 7, Windows Server 2003, Windows Server 2008.
Download ChkMatch (49 Kb)