M t? c?a ti?n ch DUMPBIN

D?ch tiu ? D?ch tiu ?
ID c?a bi: 177429 - Xem s?n ph?m m bi ny p d?ng vo.
Bung t?t c? | Thu g?n t?t c?

TM T?T

Ti?n ch DUMPBIN, ?c cung c?p v?i 32-bit Phin b?n c?a Microsoft Visual C++, k?t h?p cc kh? nng c?a cc lin k?t, LIB, v EXEHDR ti?n ch. S? k?t h?p c?a nh?ng cng c? ny c tnh nng kh? nng cung c?p thng tin v? cc ?nh d?ng v cc bi?u t?ng ?c cung c?p trong t?p tin th?c thi, th vi?n, v cc t?p tin DLL.

Bi vi?t ny cung c?p m?t t?ng quan v? m?t s? ty ch?n v s?n l?ng s?n xu?t b?i cc ti?n ch DUMPBIN. ? bi?t thm thng tin v? cng c? DUMPBIN, tham kh?o ti li?u s?n ph?m c?a b?n.

THNG TIN THM

Ty ch?n d?ng l?nh DUMPBIN ?c li?t k d?i y. M?t s? ?u ra m?i ty ch?n cung c?p c?ng ?c li?t k.

/ T?T C? Hi?n th? t?t c? cc thng tin c s?n ngo?i tr? m? tho g?. S? d?ng ty ch?n /DISASM ? hi?n th? tho g?. B?n c th? s? d?ng /RAWDATA: khng c v?i cc / T?t c? cc ty ch?n ? b? qua cc chi ti?t nh? phn nguyn c?a t?p tin.
B?i v? cc/t?t c? cc ty ch?n l ch? n gi?n l m?t s? k?t h?p c?a t?t c? cc ty ch?n khc, m?t v d? l khng c?n thi?t.
/ ARCHIVEMEMBERS Hi?n thng tin t?i thi?u v? ti kho?n c?a cc ?i t?ng trong m?t th vi?n.
Kch th?c c?a t?p tin ?u ra ph? thu?c vo s? l?ng cc ?i t?ng m-un trong cc th vi?n. D?i y l m?t ph?n c?a ?u ra t? cc t?p tin Scrnsave.lib:
Archive member name at 582: /0        ..\..\common\retail\scrnsave.obj
2FF359CC time/date Thu Jun 29 18:56:28 1995
         uid
         gid
  100666 mode
    214A size
correct header end
					
/ DISASM Hi?n th? tho g? c?a m? ph?n, s? d?ng cc bi?u t?ng n?u c trong t?p tin.
D?i y l m?t ph?n c?a m? tho g? t? cc t?p tin Lib.exe:
00401000: 8B 44 24 08        mov         eax,dword ptr [esp+8]
00401004: 68 00 20 40 00     push        402000h
00401009: 8B 4C 24 08        mov         ecx,dword ptr [esp+8]
0040100D: 50                 push        eax
0040100E: 51                 push        ecx
0040100F: E8 0C 00 00 00     call        00401020
00401014: 33 C0              xor         eax,eax
00401016: C3                 ret
00401017: CC                 int         3
					
/ XU?T KH?U Hi?n th? t?t c? cc ?nh ngh?a xu?t kh?u t? m?t t?p tin th?c thi ho?c DLL.
MFC40.DLL s?n xu?t thng tin xu?t kh?u sau:

Ph?n ch?a xu?t kh?u sau MFC40.DLL
          0 characteristics
   30733286 time date stamp Wed Oct 04 18:19:02 1995
       0.00 version
          1 ordinal base
       5782 number of functions
          4 number of names

ordinal hint   name

      2    0   DllCanUnloadNow  (00096182)
      1    1   DllGetClassObject  (0009611E)
      3    2   DllRegisterServer  (000961DB)
      4    3   DllUnregisterServer  (00096242)
					
/ FPO Hi?n th? phin b?n ghi c?a khung con tr? t?i u ha (FPO).
M?t trong cc th vi?n MFC, Nafxis.lib, cung c?p cho chng ti v?i m?t s? v d? c?a h? s t?i u ha c?a khung con tr?:
FPO Data (1)
                                       Use Has  Frame
 Address  Proc Size   Locals   Prolog  BP  SEH  Type   Params
00000000          9        0        0   N   N    fpo        0

FPO Data (1)
                                       Use Has  Frame
 Address  Proc Size   Locals   Prolog  BP  SEH  Type   Params
00000000         11        0        0   N   N    fpo        C

FPO Data (1)
                                       Use Has  Frame
 Address  Proc Size   Locals   Prolog  BP  SEH  Type   Params
00000000          3        0        0   N   N    fpo        0
					
/ THNG TIN TH Hi?n th? tiu ? t?p tin v cc tiu ? cho t?ng ph?n. Khi n ?c s? d?ng v?i m?t th vi?n, s? hi?n th? tiu ? cho m?i ?i t?ng thnh vin.
Thng tin ny ?c hi?n th? t? ti nguyn Compiler, Rc.exe:
FILE HEADER VALUES
     14C machine (i386)
       6 number of sections
306F7A22 time date stamp Sun Oct 01 22:35:30 1995
       0 file pointer to symbol table
     1D1 number of symbols
      E0 size of optional header
     302 characteristics
            Executable
            32 bit word machine
            Debug information stripped

OPTIONAL HEADER VALUES
     10B magic #
    2.60 linker version
    1E00 size of code
    1E00 size of initialized data
       0 size of uninitialized data
    1144 address of entry point
    1000 base of code
    3000 base of data
         ----- new -----
 2BB0000 image base
    1000 section alignment
     200 file alignment
       3 subsystem (Windows CUI)
    4.00 operating system version
    4.00 image version
    3.50 subsystem version
    8000 size of image
     400 size of headers
    62C8 checksum
  100000 size of stack reserve
    1000 size of stack commit
  100000 size of heap reserve
    1000 size of heap commit
       0 [       0] address [size] of Export Directory
    5000 [      3C] address [size] of Import Directory
    6000 [     394] address [size] of Resource Directory
       0 [       0] address [size] of Exception Directory
       0 [       0] address [size] of Security Directory
    7000 [     21C] address [size] of Base Relocation Directory
    3030 [      38] address [size] of Debug Directory
       0 [       0] address [size] of Description Directory
       0 [       0] address [size] of Special Directory
       0 [       0] address [size] of Thread Storage Directory
       0 [       0] address [size] of Load Configuration Directory
     268 [      44] address [size] of Bound Import Directory
    50A0 [      64] address [size] of Import Address Table Directory
       0 [       0] address [size] of Reserved Directory
       0 [       0] address [size] of Reserved Directory
       0 [       0] address [size] of Reserved Directory

SECTION HEADER #1
   .text name
    1D24 virtual size
    1000 virtual address
    1E00 size of raw data
     400 file pointer to raw data
       0 file pointer to relocation table
    3C20 file pointer to line numbers
       0 number of relocations
     37E number of line numbers
60000020 flags
         Code
         (no align specified)
         Execute Read
					
/ NH?P KH?U Hi?n th? t?t c? cc ?nh ngh?a chuy?n nh?p vo m?t t?p tin th?c thi ho?c DLL.
S?n l?ng hi?n th? ? y l tng t? nh s?n l?ng /EXPORTS.
/ LINENUMBERS Hi?n th? s? d?ng COFF. S? d?ng t?n t?i trong t?p tin ?i t?ng N?u n ?c so?n th?o v?i cc chng tr?nh Database (/Zi), C7 tng thch (/ Z7), ho?c D?ng s? (/Zd) ch. M?t t?p tin th?c thi ho?c DLL ch?a COFF d?ng con s? n?u n ? ?c lin k?t v?i thng tin g? l?i t?o ra (/ g? l?i) v ?nh d?ng COFF (/ DEBUGTYPE:COFF) ty ch?n.
M?t ?ng d?ng ?c t?o ra b?ng cch s? d?ng AppWizard hi?n th? cc d?ng thng tin d? li?u ch?ng h?n nh sau:
LINENUMBERS #1
   1E90   13     1ECD   13     1EF7   13     1F16   13     1F31   15
   1F46   15     1F61   24     1F9A   27     1FD0   2A     2001   2B
					
/ LINKERMEMBER [: {1|2}] Hi?n th? cc bi?u t?ng cng c?ng ?c xc ?nh trong m?t th vi?n. Ch? r? cc 1 ?i s? ? hi?n th? cc bi?u t?ng trong th? t? ?i t?ng, cng v?i offsets c?a h?. Ch? ?nh ?i s? 2 ? hi?n th? offsets v m?t s? ch? s? l?ng cc ?i t?ng, v sau danh sch cc bi?u t?ng trong th? t? ch? ci, cng v?i cc ?i t?ng ch? s? cho m?i. ? c ?c c? hai k?t qu? ?u ra, ch? ?nh /LINKERMEMBER m khng c ?i s? s?.
Winmmm.lib, th vi?n a phng ti?n Windows, ? ?c s? d?ng ? c ?c d?i y m?u c?a s?n l?ng DUMPBIN.
Archive member name at 8: / 
2FB537E1 time/date Sat May 13 15:51:13 1995
         uid
         gid
       0 mode
    2864 size
correct header end

    391 public symbols

     556C _CloseDriver@12
     58A0 _DefDriverProc@20
     5BDC _DriverCallback@28
     5F1C _DrvGetModuleHandle@4
     626A _GetDriverModuleHandle@4
     65C4 _NotifyCallbackData@20
     6914 _OpenDriver@12
     6C44 _PlaySound@12
     6F70 _PlaySoundA@12
     72A0 _PlaySoundW@12
					
/OUT:filename Ch? ?nh m?t tn t?p tin cho ?u ra. Theo m?c ?nh, DUMPBIN hi?n th? thng tin cho ?u ra tiu chu?n.

/ RAWDATA [: {BYTES|SHORTS|LONGS|NONE} [, s?]] Hi?n th? cc n?i dung th c?a m?i ph?n trong t?p tin. Cc ?i s? ki?m sot cc ?nh d?ng c?a mn h?nh, nh ?c hi?n th? d?i y:
Argument    Result

BYTES      The default. Contents are displayed in hexadecimal bytes,
           and also as ASCII characters if they have a printed
           representation.
SHORTS     Contents are displayed as hexadecimal words.
LONGS      Contents are displayed as hexadecimal longwords.
NONE       Raw data is suppressed. This argument is useful to control
           the output of /ALL.
number     Displayed lines are set to a width that holds <number> values
           per line.
					
Thng tin pht sinh v?i ty ch?n ny l kh l?n, i?u ny m?t m?u nh? c?a ?u ra t? m?t ?ng d?ng AppWizard s? d?ng cc LONGS ?nh d?ng:
RAW DATA #1
00000000  53EC8B55 00A15756 | E9004058 00000000      U[ASCII 239]_SVW[ASCII
237].|X@._...._
00000010  C95B5E5F EC8B55C3 | 5304EC83 4D895756      _^[++U[ASCII
239]_|[ASCII 226]_.SVW[ASCII 235]M_
00000020  3058B8FC 00E90040 | 5F000000 C3C95B5E      n+X0@._.|..._^[++_
					
/ RELOCATIONS Hi?n th? b?t k? relocations thu?c ?i t?ng ho?c h?nh ?nh.
D?i y m?t ph?n nh? c?a di d?i ra thu ?c t? m?t AppWizard ?ng d?ng:
BASE RELOCATIONS #6

    1000 virtual address,       B0 SizeOfBlock
       7 HIGHLOW
      22 HIGHLOW
      36 HIGHLOW
      67 HIGHLOW
      89 HIGHLOW
					
/SECTION:section H?n ch? s?n l?ng thng tin v? cc m?c ? ch? ?nh.

/ TM T?T Hi?n th? thng tin t?i thi?u v? ph?n, trong c t?ng c?ng Kch th?c. Ty ch?n ny l m?c ?nh n?u khng c ty ch?n khc ch? ?nh.
Microsoft (R) COFF Binary File Dumper Version 3.00.5270
Copyright (C) Microsoft Corp 1992-1995. All rights reserved.

Dump of file tracer.exe

File Type: EXECUTABLE IMAGE

     Summary

        1000 .data
        1000 .idata
        1000 .rdata
        1000 .reloc
        1000 .rsrc
        1000 .text
					
/ BI?U T?NG Hi?n th? b?ng bi?u t?ng COFF. Bi?u t?ng bn t?n t?i trong t?t c? cc ?i t?ng t?p tin. M?t b?ng bi?u t?ng COFF xu?t hi?n trong m?t t?p tin ?nh ch? khi n ?c lin k?t v?i t?o Debug thng tin v COFF Ty ch?n ?nh d?ng theo thng tin g? l?i vo th? lo?i g? l?i cho linker (ho?c /DEBUG v /DEBUGTYPE:COFF cc ty ch?n trn d?ng l?nh).
?ng d?ng AppWizard ?c s? d?ng ? c ?c v d? sau:
COFF SYMBOL TABLE
000 000065D0 SECT5  notype       Static       | .rsrc$02
001 00000011 DEBUG  notype       Filename     | .file
 C:\code\test\testView.cpp
004 000041A0 SECT3  notype       Static       | $SG23289
005 00004018 SECT3  notype       Static       | _$S189$S23301
006 00004168 SECT3  notype       Static       | _THIS_FILE$S23282
007 00001E90 SECT1  notype       Static       | .text
 Section length  2DE, #relocs   27, #linenums   22
009 00001EE2 SECT1  notype ()    Static       | _$E188
00A 00001EF7 SECT1  notype ()    Static       | _$E187
 tag index 0000002E size 0000001F lines 000012DF next function 00000033
00C 000042AC SECT3  notype       Static       | __init_CTestView$S23291
00D 00003998 SECT2  notype       Static       | $T23440
00E 00003978 SECT2  notype       Static       | $T23438
00F 000039C0 SECT2  notype       Static       | $T23447
010 000039A0 SECT2  notype       Static       | $T23446
011 00000021 DEBUG  notype       Filename     | .file
					

Thu?c tnh

ID c?a bi: 177429 - L?n xem xt sau cng: 19 Thang Tam 2011 - Xem xt l?i: 2.0
p d?ng
  • Microsoft Visual C++ 2.0 Professional Edition
  • Microsoft Visual C++ 4.2 Enterprise Edition
  • Microsoft Visual C++ 5.0 Enterprise Edition
  • Microsoft Visual C++ 5.0 Professional Edition
T? kha:
kbinfo kbmt KB177429 KbMtvi
My d?ch
QUAN TRONG: Bi vi?t ny ?c d?ch b?ng ph?n m?m d?ch my c?a Microsoft ch? khng ph?i do con ng?i d?ch. Microsoft cung c?p cc bi vi?t do con ng?i d?ch v c? cc bi vi?t do my d?ch ? b?n c th? truy c?p vo t?t c? cc bi vi?t trong C s? Ki?n th?c c?a chng ti b?ng ngn ng? c?a b?n. Tuy nhin, bi vi?t do my d?ch khng ph?i lc no c?ng hon h?o. Lo?i bi vi?t ny c th? ch?a cc sai st v? t? v?ng, c php ho?c ng? php, gi?ng nh m?t ng?i n?c ngoi c th? m?c sai st khi ni ngn ng? c?a b?n. Microsoft khng ch?u trch nhi?m v? b?t k? s? thi?u chnh xc, sai st ho?c thi?t h?i no do vi?c d?ch sai n?i dung ho?c do ho?t ?ng s? d?ng c?a khch hng gy ra. Microsoft c?ng th?ng xuyn c?p nh?t ph?n m?m d?ch my ny.
Nh?p chu?t vo y ? xem b?n ti?ng Anh c?a bi vi?t ny:177429

Cung cp Phan hi

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com