Skip to content

Dumpbin

Microsoft COFF Binary File Dumper(DUMPBIN.EXE)는 COFF(공용 개체 파일 형식) 이진 파일에 대한 정보를 표시합니다. DUMPBIN을 사용하여 COFF 개체 파일, COFF 개체의 표준 라이브러리, 실행 파일 및 DLL(동적 연결 라이브러리)을 검사할 수 있습니다.

Example

Show symbols

이 옵션은 COFF 기호 테이블을 표시합니다. 기호 테이블은 모든 개체 파일에 존재합니다. COFF 기호 테이블과 /DEBUG와 연결 된 경우에 이미지 파일에 나타납니다.

dumpbin /SYMBOLS openblas.lib

Export symbols

이 옵션은 실행 파일 또는 DLL에서 내보낸 모든 정의 표시 합니다.

dumpbin /EXPORTS main.obj

32bit or 64bit

The SDK tool dumpbin.exe with the /headers option includes this information, compare these two (I've added bold for the key information)

PS [64] E:\ #4> dumpbin /headers C:\Windows\system32\cmd.exe
Microsoft (R) COFF/PE Dumper Version 10.00.40219.01
Copyright (C) Microsoft Corporation.  All rights reserved.


Dump of file C:\Windows\system32\cmd.exe

PE signature found

File Type: EXECUTABLE IMAGE

FILE HEADER VALUES
            8664 machine (x64)
               6 number of sections
        4CE798E5 time date stamp Sat Nov 20 09:46:13 2010
               0 file pointer to symbol table
               0 number of symbols
              F0 size of optional header
              22 characteristics
                   Executable
                   Application can handle large (>2GB) addresses
[...]

See also

Favorite site