DOKK / manpages / debian 12 / pev / readpe.1.en
READPE(1) General Commands Manual READPE(1)

readpe - displays information about PE files

readpe [OPTIONS]... pefile

readpe can read and display all PE file headers, fields and values. It's part of pev, the PE file analysis toolkit.

pefile is a PE32/PE32+ executable or dynamic linked library file.

Full output (default).

Show all PE headers.

Show PE section headers.

Change output format (default: text).

Show data directories.

Show specific header. It can be used multiple times.

Show imported functions.

Show exported functions.

Show version.

Show this help.

Display the Optional file header of putty.exe:

$ readpe -h optional putty.exe

Display data directories and exported functions of cards.dll:

$ readpe -de cards.dll

Display all possible information about svchost.exe file:

$ readpe svchost.exe

Please, check the latest development code and report at https://github.com/merces/pev/issues

ofs2rva(1), pedis(1), pehash(1), peldd(1), pepack(1), peres(1), pescan(1), pesec(1), pestr(1), rva2ofs(1)

Copyright (C) 2013 - 2020 pev authors. License GPLv2+: GNU GPL version 2 or later <https://www.gnu.org/licenses/gpl-2.0.txt>. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.