![]() |
![]()
| ![]() |
![]()
NAMEllvm-strings - print strings SYNOPSISllvm-strings [options] [input...] DESCRIPTIONllvm-strings is a tool intended as a drop-in replacement for GNU's strings, which looks for printable strings in files and writes them to the standard output stream. A printable string is any sequence of four (by default) or more printable ASCII characters. The end of the file, or any other byte, terminates the current sequence. llvm-strings looks for strings in each input file specified. Unlike GNU strings it looks in the entire input file, regardless of file format, rather than restricting the search to certain sections of object files. If "-" is specified as an input, or no input is specified, the program reads from the standard input stream. EXAMPLE$ cat input.txt bars foo wibble blob $ llvm-strings input.txt bars wibble blob OPTIONS
$ llvm-strings --print-file-name test.o test.elf test.o: _Z5hellov test.o: some_bss test.o: test.cpp test.o: main test.elf: test.cpp test.elf: test2.cpp test.elf: _Z5hellov test.elf: main test.elf: some_bss
$ llvm-strings --radix=o test.o
EXIT STATUSllvm-strings exits with a non-zero exit code if there is an error. Otherwise, it exits with code 0. BUGSTo report bugs, please visit <https://github.com/llvm/llvm-project/labels/tools:llvm-strings/>. AUTHORMaintained by the LLVM Team (https://llvm.org/). COPYRIGHT2003-2025, LLVM Project
|