← 返回命令列表

Linux command

llvm-strings 命令

文件

复制后可按需替换文件名、目录或参数。

常用示例

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]

说明

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

参数

-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.

FAQ

What is the llvm-strings command used for?

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

How do I run a basic llvm-strings example?

Run `llvm-strings [file]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -n _length_ do in llvm-strings?

Minimum string length (default 4).