BUG: DUMPBIN Displays Cumulative Data for Multiple Arguments

Last reviewed: June 22, 1997
Article ID: Q170171
The information in this article applies to:
  • Microsoft Visual C++, 32-bit Editions, versions 2.0, 2.1, 2.2, 4.0, 4.0a, 4.1, 4.2, 4.2b, 5.0

SYMPTOMS

DUMPBIN.EXE combines output data when more than one file is passed in as command line arguments. For example:

   dumpbin myfile.exe myfile.dll

will show summary data for both files, rather than for each individual file.

RESOLUTION

To prevent the combination of data, execute DUMPBIN on one file at a time.

STATUS

Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. We are researching this bug and will post new information here in the Microsoft Knowledge Base as it becomes available.

MORE INFORMATION

To illustrate this problem, we're using two of the Source Profiler binaries, PREP.EXE and PROFILE.DLL.

The output from "dumpbin prep.exe" (without the quotes):

   Dump of file prep.exe

   File Type: EXECUTABLE IMAGE

      Summary

        6000 .data
        1000 .idata
        1000 .rdata
        4000 .rsrc
        D000 .text

Now, the output from "dumpbin profile.dll":

   Dump of file profile.dll

   File Type: DLL

      Summary

        B000 .data
        1000 .idata
        2000 .rdata
        2000 .reloc
        3000 .rsrc
       10000 .text

And finally, the output from "dumpbin prep.exe profile.dll":

   Dump of file prep.exe

   File Type: EXECUTABLE IMAGE
   ?
   Dump of file profile.dll

   File Type: DLL

      Summary

       11000 .data
        2000 .idata
        3000 .rdata
        2000 .reloc
        7000 .rsrc
       1D000 .text

Notice that each of the segment categories listed in the DUMPBIN output for both files is the sum of each individual file.


Keywords : vcbuglist400 vcbuglist500
Version : 2.0 2.1 2.2 4.0 4.0a 4.1 4.2 4.2
Platform : NT WINDOWS
Issue type : kbbug


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: June 22, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.