| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
| |
We have a few functions that virtually all command wants to run on
process startup/shutdown. This patch adds InitLLVM class to do that
all at once, so that we don't need to copy-n-paste boilerplate code
to each llvm command's main() function.
Differential Revision: https://reviews.llvm.org/D45602
llvm-svn: 330046
|
|
|
|
|
|
|
|
|
|
|
|
| |
They don't actually change nay behaviour, as llvm-strings currently
checks the whole object without looking at individual sections anyway.
This allows using llvm-strings in a context that explicitly passes
the -a option.
Differential Revision: https://reviews.llvm.org/D40020
llvm-svn: 318185
|
|
|
|
|
|
|
| |
Fix the -Werror build by removing the unnecessary default case in the
covered switch. NFC
llvm-svn: 292708
|
|
|
|
|
|
| |
Allow printing the file content offset via the `-t` or `--radix` option.
llvm-svn: 292707
|
|
|
|
|
|
|
|
|
| |
Permit specifying the match length (the `-n` or `--bytes` option). The
deprecated `-[length]` form is not supported as an option. This allows the
strings tool to display only the specified length strings rather than the
hardcoded default length of >= 4.
llvm-svn: 286914
|
|
|
|
|
|
|
| |
Change the dynamic files to static in the hope that it will actually fix the
transient errors that Ive been unable to reproduce.
llvm-svn: 286891
|
|
|
|
|
|
|
|
|
|
|
|
| |
Also,
Revert "test: remove the archive before modifying it"
Revert "test: explicitly use gnu format"
This reverts commits r286778, r286729 and r286767, as they are randomly failing
on many bots (AArch64, x86_64).
llvm-svn: 286820
|
|
|
|
|
|
| |
This adds support for the `-f` or `--print-file-name` option for strings.
llvm-svn: 286767
|
|
|
|
|
|
|
|
| |
Until we have handling for ignoring unloaded sections, simplify the logic to
the point of triviality. This fixes the scanning of archives, particularly when
embedded in archives.
llvm-svn: 286727
|
|
|
|
|
|
|
| |
We would ignore the last string that appeared if the file ended with a printable
character. Ensure that we get the last string.
llvm-svn: 286706
|
|
|
|
| |
llvm-svn: 286563
|
|
|
|
|
|
| |
Include the cctype header to try to fix windows bots.
llvm-svn: 286558
|
|
This is a replacement to binutils' string tool. It prints strings found in a
binary (object file, executable, or archive library). It is rather bare and
not functionally equivalent, however, it lays the groundwork necessary for the
strings tool, enabling iterative development of features to reach feature
parity.
llvm-svn: 286556
|