bingrep

bingrep parses binary executables and displays their contents — sections, symbols, imports, and more — with colorized, human-readable output. Where nm and objdump produce dense, monochrome text, bingrep formats the same information into aligned tables with color-coded addresses, offsets, and sizes.

bingrep displaying a colorized ELF symbol table
bingrep displaying a colorized ELF symbol table

It supports a wide range of binary formats: ELF (32/64-bit, x86 and ARM), Mach-O (32/64-bit, x86 and ARM), Unix/BSD archives, and PE files. Symbol demangling is built in, making C++ binaries readable without piping through a separate tool.

Additional output modes include a hex table view (--hex), a file offset range overview (--ranges), and a search flag (--search) for locating specific patterns within ELF binaries.

Basic usage

bingrep /bin/ls              # Display binary info with color.
bingrep --demangle /bin/ls   # Demangle C++ symbol names.
bingrep --hex /bin/ls        # Hex table output.
bingrep --ranges /bin/ls     # File offset range overview.
bingrep --search "main" /bin/ls  # Search for a pattern in an ELF binary.