eu-readelf

ELF file information viewer

TLDR

Display all information from ELF file
$ eu-readelf [-a|--all] [path/to/file]
Display the ELF file header
$ eu-readelf [-h|--file-header] [path/to/file]
Display section headers
$ eu-readelf [-S|--section-headers] [path/to/file]
Display the symbol table
$ eu-readelf [-s|--symbols] [path/to/file]
Display NOTE segments/sections
$ eu-readelf [-n|--notes] [path/to/file]

SYNOPSIS

eu-readelf [options] files

DESCRIPTION

eu-readelf displays information about ELF (Executable and Linkable Format) files. Part of the elfutils package, it shows headers, sections, symbols, and other ELF metadata.Alternative to GNU readelf with additional features for debugging and analysis.

PARAMETERS

-a, --all

Display all extractable information
-n, --notes [section]
Display NOTE segments/sections
-h, --file-header
Display file header
-S, --sections
Display section headers
-s, --symbols
Display symbol table
-d, --dynamic
Display dynamic section

INSTALL

sudo apt install elfutils
sudo dnf install elfutils
sudo pacman -S elfutils
sudo apk add elfutils
sudo zypper install elfutils
brew install elfutils
nix profile install nixpkgs#elfutils

CAVEATS

Part of elfutils package. Output format differs slightly from GNU readelf. Used for analyzing compiled binaries and shared libraries.

SEE ALSO

readelf(1), objdump(1), nm(1)

RESOURCES

Source code · Homepage