LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

readpe

Display information about PE executable files

TLDR

Display all information about a PE file
$ readpe path/to/executable
copy
Display all headers in a PE file
$ readpe --all-headers path/to/executable
copy
Display all sections in a PE file
$ readpe --all-sections path/to/executable
copy
Display a specific header (dos, coff, optional)
$ readpe --header dos path/to/executable
copy
List all imported functions
$ readpe --imports path/to/executable
copy
List all exported functions
$ readpe --exports path/to/executable
copy

SYNOPSIS

readpe [options] file

DESCRIPTION

readpe displays information about PE (Portable Executable) files, the executable format used by Windows. It can analyze headers, sections, imports, and exports from EXE, DLL, and other PE files.This tool is useful for binary analysis, reverse engineering, and understanding executable structure.

PARAMETERS

--all-headers

Display all headers present in the PE file
--all-sections
Display all sections in the PE file
--header type
Display specific header (dos, coff, optional)
--imports
List imported functions
--exports
List exported functions

INSTALL

sudo apt install readpe
copy
sudo apk add pev
copy
sudo zypper install readpe
copy
brew install readpe
copy
nix profile install nixpkgs#pev
copy

CAVEATS

Only works with valid PE format files. Malformed or corrupted PE files may not parse correctly.

HISTORY

Part of pev, the PE file analysis toolkit for Unix-like systems.

SEE ALSO

objdump(1), readelf(1), file(1)

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid