llvm-strings

extracts printable strings from binary files

TLDR

Extract strings from binary
$ llvm-strings [file]
Set minimum string length
$ llvm-strings -n [8] [file]
Print file offset with strings
$ llvm-strings -t x [file]
Process all sections
$ llvm-strings -a [file]

SYNOPSIS

llvm-strings [options] [file...]

DESCRIPTION

llvm-strings extracts printable strings from binary files. Drop-in replacement for GNU strings. Useful for analyzing executables, finding embedded text, and reverse engineering.

PARAMETERS

-n length

Minimum string length (default 4).
-t format
Print offset (d=decimal, o=octal, x=hex).
-a, --all
Scan entire file, not just data sections.

INSTALL

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

SEE ALSO

strings(1), llvm-objdump(1)