debuginfo.com

chkmatch

Version: 1.0.3
Updated: 23.11.2004

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]
-c
Check matching between the executable and the debug information file.
-m
Make the executable and the debug information file match.
ExeFile
The name of the executable file.
DebugInfoFile
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.

Known limitations

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 and Windows 2003 Server.

Reporting bugs

Contact the developer to report a bug in ChkMatch.

Some error messages displayed by ChkMatch contain numeric error codes. These codes are standard Win32 error codes, and can be converted to readable form with the help of Error Lookup tool (included with Visual Studio) or a debugger.

Download

Download ChkMatch (49 Kb)



contact

Have comments, suggestions, or corrections? Feel free to contact us.

Need help with debugging? Consider our debugging services.




MVP Logo


Google


© Oleg Starodumov, 2004 - 2007