History log of /external/toybox/toys/pending/file.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
cc4a1f4d520f090bd563647df2614d09b66bd54a 17-Feb-2016 Rob Landley <rob@landley.net> Add dynamic/static checking to file (printing dynamic linker if found).
/external/toybox/toys/pending/file.c
0332b60f62d71da61634cc69416129dfc64dced8 15-Feb-2016 Rob Landley <rob@landley.net> Cleanup pass on file.c, and add detection of different ELF architectures.
/external/toybox/toys/pending/file.c
9502a77ea0a16c395407f31af0bbb0afd0680adb 13-Feb-2016 Elliott Hughes <enh@google.com> Implement file(1).

Unlike the POSIX file(1), there's no magic file here, just hard-coded
common (non-obsolete) file formats. Personally most of my use of file(1)
is as a one-line readelf(1) summarizer, so although I assume a full POSIX
file(1) is out of scope (because just the database would likely be larger
than all the rest of toybox), a subset that only supports in-use file types
actually covers most of the use cases I encounter personally.

Also fix peek_be/peek_le.
/external/toybox/toys/pending/file.c