mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-01-27 02:14:04 +08:00
* strings.c (DATA_FLAGS): Remove SEC_DATA.
(main): If no file names are given, scan standard input. * binutils.texi, strings.1: strings now scans non-data sections by default.
This commit is contained in:
parent
636414911e
commit
5f0570473a
@ -1280,8 +1280,8 @@ For each @var{file} given, GNU @code{strings} prints the printable
|
||||
character sequences that are at least 4 characters long (or the number
|
||||
given with the options below) and are followed by a NUL or newline
|
||||
character. By default, it only prints the strings from the initialized
|
||||
data sections of object files; for other types of files, it prints the
|
||||
strings from the whole file.
|
||||
and loaded sections of object files; for other types of files, it prints
|
||||
the strings from the whole file.
|
||||
|
||||
@code{strings} is mainly useful for determining the contents of non-text
|
||||
files.
|
||||
@ -1290,8 +1290,8 @@ files.
|
||||
@item -a
|
||||
@itemx --all
|
||||
@itemx -
|
||||
Do not scan only the initialized data section of object files; scan
|
||||
the whole files.
|
||||
Do not scan only the initialized and loaded sections of object files;
|
||||
scan the whole files.
|
||||
|
||||
@item -f
|
||||
@itemx --print-file-name
|
||||
|
@ -44,8 +44,8 @@ given, GNU \c
|
||||
prints the printable character sequences that are at least 4
|
||||
characters long (or the number given with the options below) and are
|
||||
followed by a NUL or newline character. By default, it only prints
|
||||
the strings from the initialized data sections of object files; for
|
||||
other types of files, it prints the strings from the whole file.
|
||||
the strings from the initialized and loaded sections of object files;
|
||||
for other types of files, it prints the strings from the whole file.
|
||||
|
||||
.PP
|
||||
.B strings
|
||||
@ -61,8 +61,8 @@ equivalent.
|
||||
.B \-\-all
|
||||
.TP
|
||||
.B \-
|
||||
Do not scan only the initialized data section of object files; scan
|
||||
the whole files.
|
||||
Do not scan only the initialized and loaded sections of object files;
|
||||
scan the whole files.
|
||||
|
||||
.TP
|
||||
.B \-f
|
||||
|
Loading…
Reference in New Issue
Block a user