Article ID: 170171
Article Last Modified on 9/23/2003
APPLIES TO
- Microsoft Visual C++ 2.0 Professional Edition
- Microsoft Visual C++ 2.1
- Microsoft Visual C++ 2.2
- Microsoft Visual C++ 4.0 Standard Edition
- Microsoft Visual C++ 4.0 Standard Edition
- Microsoft Visual C++ 4.1 Subscription
- Microsoft Visual C++ 4.2 Enterprise Edition
- Microsoft Visual C++ 4.2 Enterprise Edition
- Microsoft Visual C++ 5.0 Enterprise Edition
- Microsoft Visual C++ 6.0 Enterprise Edition
- Microsoft Visual C++ 4.2 Professional Edition
- Microsoft Visual C++ 4.2 Professional Edition
- Microsoft Visual C++ 5.0 Professional Edition
- Microsoft Visual C++ 6.0 Professional Edition
- Microsoft Visual C++ 6.0 Standard Edition
- Microsoft Visual C++ .NET 2003 Standard Edition
- Microsoft Visual C++ .NET 2002 Standard Edition
This article was previously published under Q170171
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
This behavior is by design.
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.
Additional query words: kbVC400bug kbDSupport
Keywords: kbprb KB170171