[windows]_[Intermediate]_[using command-line tools dumpbin parsing files]

Source: Internet
Author: User


DUMPBIN (vs comes with)

1. Function symbols for exporting LIB files (symbols)

Dumpbin/exports Zlib1.lib

Microsoft (R) coff/pe dumper Version 10.00.40219.01Copyright (C) Microsoft Corporation.  All rights reserved. Dump of file Zlib1.libfile type:library     exports       ordinal    name             1    [email protected]    [ email protected] [email    protected]             2    [email protected] [            email    protected]             3    [email protected]

2. Check whether the PE file is a bit or a bit.

Dumpbin/headers Libgcc_s_seh_64-1.dll


A bit

E:\software\tdm-gcc-64\bin>dumpbin/headers Libgcc_s_seh_64-1.dllmicrosoft (R) COFF/PE Dumper Version 10.00.40219.01Copyright (C) Microsoft Corporation.  All rights reserved. Dump of file Libgcc_s_seh_64-1.dllpe signature foundfile type:dllfile HEADER VALUES            8664 Machine (x64)

+ bit
E:\software\tdm-gcc-64\bin>dumpbin/headers G++.exemicrosoft (R) coff/pe dumper Version 10.00.40219.01Copyright (C) Microsoft Corporation.  All rights reserved. Dump of file G++.exepe signature foundfile type:executable imagefile HEADER VALUES             14C Machine (x86)


3. View PE file dependencies, similar to dependency Walker

Dumpbin/dependents Libgcc_s_seh_64-1.dll

E:\software\tdm-gcc-64\bin>dumpbin/dependents Libgcc_s_seh_64-1.dllmicrosoft (R) COFF/PE Dumper Version 10.00.40219.01Copyright (C) Microsoft Corporation.  All rights reserved. Dump of File Libgcc_s_seh_64-1.dllfile type:dll  Image has the following dependencies:    KERNEL32.dll    Msvcrt.dll  Summary        1000. CRT, Edata, Idata, pdata, Rdata, and        reloc.       16000. Text.        TLS.        xdata


[windows]_[Intermediate]_[using command-line tools dumpbin parsing files]

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.