]>
granicus.if.org Git - file/log
Christos Zoulas [Thu, 21 Apr 2016 14:26:03 +0000 (14:26 +0000)]
no need for err.h unless we are debugging.
Christos Zoulas [Wed, 20 Apr 2016 00:00:26 +0000 (00:00 +0000)]
mention the bug here, and fix a debugging printf.
Christos Zoulas [Tue, 19 Apr 2016 23:36:36 +0000 (23:36 +0000)]
Restore part of previous logic, that breaks out of the uncompress loop
if there was a compression match error or not. Separate the return values
to avoid confusion.
Christos Zoulas [Tue, 19 Apr 2016 20:51:54 +0000 (20:51 +0000)]
Revert: Don't close stdin...
Christos Zoulas [Tue, 19 Apr 2016 18:14:19 +0000 (18:14 +0000)]
Strengthen the magic of relocatable microsoft objects to avoid spurious
matches (Joerg Jenderek)
Christos Zoulas [Tue, 19 Apr 2016 13:40:02 +0000 (13:40 +0000)]
Fix wrong level
Christos Zoulas [Tue, 19 Apr 2016 13:39:45 +0000 (13:39 +0000)]
Changes since release.
Christos Zoulas [Tue, 19 Apr 2016 13:39:19 +0000 (13:39 +0000)]
Fix compression code (Werner Fink)
Christos Zoulas [Mon, 18 Apr 2016 20:22:10 +0000 (20:22 +0000)]
Add missing continuation
Christos Zoulas [Mon, 18 Apr 2016 20:20:31 +0000 (20:20 +0000)]
Run tests in UTC
Christos Zoulas [Mon, 18 Apr 2016 18:18:52 +0000 (18:18 +0000)]
Restore test back to its previous value.
Christos Zoulas [Mon, 18 Apr 2016 18:16:45 +0000 (18:16 +0000)]
exit on error.
Christos Zoulas [Mon, 18 Apr 2016 15:10:34 +0000 (15:10 +0000)]
Downgrade DER comparison and offset lookup failures to be handled as match
failures.
Christos Zoulas [Sun, 17 Apr 2016 19:44:45 +0000 (19:44 +0000)]
only define strings for debugging
Christos Zoulas [Sun, 17 Apr 2016 19:35:27 +0000 (19:35 +0000)]
Fix typo
Christos Zoulas [Sun, 17 Apr 2016 13:56:03 +0000 (13:56 +0000)]
add missing define.
Christos Zoulas [Sat, 16 Apr 2016 22:45:57 +0000 (22:45 +0000)]
Need der.h
Christos Zoulas [Sat, 16 Apr 2016 22:44:43 +0000 (22:44 +0000)]
this is an error now
Christos Zoulas [Sat, 16 Apr 2016 22:40:54 +0000 (22:40 +0000)]
update version and source files list
Christos Zoulas [Thu, 14 Apr 2016 20:34:28 +0000 (20:34 +0000)]
new sdb (microsoft jet database) magic from joerg jenderek
Christos Zoulas [Thu, 31 Mar 2016 17:51:12 +0000 (17:51 +0000)]
Allow altering how many bytes to read from analyzed files from the command
line. Leave the default the same (1M).
Christos Zoulas [Wed, 23 Mar 2016 15:29:20 +0000 (15:29 +0000)]
PR/532: More console magic from David Korth.
Christos Zoulas [Tue, 22 Mar 2016 22:27:47 +0000 (22:27 +0000)]
Recognize GRUB2 fonts (Joerg Jenderek)
Christos Zoulas [Mon, 21 Mar 2016 23:04:40 +0000 (23:04 +0000)]
- more der offset checks.
- add offset checks in moffset so that they are caught sooner.
Christos Zoulas [Mon, 21 Mar 2016 17:41:14 +0000 (17:41 +0000)]
Add bounds checks to DER code offset computations.
Christos Zoulas [Mon, 21 Mar 2016 15:56:53 +0000 (15:56 +0000)]
change indirect recursion limit to a use count and bump it from 15 to 50
to prevent abuse.
Christos Zoulas [Thu, 17 Mar 2016 21:02:29 +0000 (21:02 +0000)]
Joerg Jenderek: Be more specific about compiled terminfo files so we don't
mix them up with targa files.
Christos Zoulas [Thu, 17 Mar 2016 20:53:09 +0000 (20:53 +0000)]
PR/530: Console magic improvements from David Korth
Christos Zoulas [Wed, 16 Mar 2016 14:41:39 +0000 (14:41 +0000)]
Major improvements for targa images from Joerg Jenderek
Christos Zoulas [Mon, 14 Mar 2016 02:39:46 +0000 (02:39 +0000)]
document -00
Christos Zoulas [Mon, 14 Mar 2016 02:30:22 +0000 (02:30 +0000)]
PR/528: Make -00 print name\0description\0
Christos Zoulas [Fri, 11 Mar 2016 18:10:06 +0000 (18:10 +0000)]
PR/527: Ian D. Scott: Add arbfeld image format
Christos Zoulas [Thu, 3 Mar 2016 22:20:03 +0000 (22:20 +0000)]
Add more for excel
s/Office Word/Word/ for consistency.
Christos Zoulas [Thu, 3 Mar 2016 18:58:14 +0000 (18:58 +0000)]
PR/521: Add WIM "pipable" signature provided by wimlib
Christos Zoulas [Wed, 2 Mar 2016 18:27:53 +0000 (18:27 +0000)]
PR/525: Fix ID3 indirect+offset handling.
Christos Zoulas [Fri, 26 Feb 2016 15:52:45 +0000 (15:52 +0000)]
Add polyml.
Christos Zoulas [Tue, 23 Feb 2016 12:35:20 +0000 (12:35 +0000)]
Split magic to make it more readable.
Christos Zoulas [Sun, 14 Feb 2016 15:53:53 +0000 (15:53 +0000)]
Comment out non-working entry.
Christos Zoulas [Sun, 14 Feb 2016 15:48:18 +0000 (15:48 +0000)]
typo
Christos Zoulas [Sun, 14 Feb 2016 15:46:52 +0000 (15:46 +0000)]
Add support for windows minidump files (Joerg Jenderek)
Christos Zoulas [Sun, 14 Feb 2016 15:32:22 +0000 (15:32 +0000)]
PR/519: Joshua C. Randall: Add bioinfomatics formats
Christos Zoulas [Sun, 14 Feb 2016 14:38:24 +0000 (14:38 +0000)]
Print leading zeroes in UUID for BTRFS
Christos Zoulas [Wed, 10 Feb 2016 15:57:40 +0000 (15:57 +0000)]
PR/518: Fall back to use setlocale() for the OS's that don't support
newlocale()/uselocale(). This is necessary because some regex patterns
we use (apple) have non-ascii characters in them.
Christos Zoulas [Tue, 9 Feb 2016 01:22:49 +0000 (01:22 +0000)]
Add Microfocus cobol stuff from Rob Deutsch
Christos Zoulas [Mon, 8 Feb 2016 17:30:11 +0000 (17:30 +0000)]
PR/517: reaInc: Add MPCK magic
Christos Zoulas [Mon, 8 Feb 2016 17:06:40 +0000 (17:06 +0000)]
PR/516: Henk: Add WOF2 magic.
Christos Zoulas [Mon, 8 Feb 2016 13:57:56 +0000 (13:57 +0000)]
add copyright.
Christos Zoulas [Mon, 8 Feb 2016 13:56:39 +0000 (13:56 +0000)]
forgot to add.
Christos Zoulas [Mon, 8 Feb 2016 02:20:36 +0000 (02:20 +0000)]
doesn't matter if it is stdin; if we opened it, we close it.
Christos Zoulas [Mon, 8 Feb 2016 01:29:49 +0000 (01:29 +0000)]
PR/514: David Macek: Don't fail to handle uncompress when stdin is closed
and 0 holds the descriptor to the input file.
Christos Zoulas [Tue, 2 Feb 2016 21:30:47 +0000 (21:30 +0000)]
PR/485: Use ${FILE_COMPILE} when cross-compiling to test for file version.
This might break cross-compiling to a different architecture.
Christos Zoulas [Tue, 2 Feb 2016 19:07:29 +0000 (19:07 +0000)]
PR/477: add pip install.
Christos Zoulas [Tue, 2 Feb 2016 19:05:12 +0000 (19:05 +0000)]
PR/511: Orestis: Restore python-2 compatibility.
Christos Zoulas [Tue, 26 Jan 2016 00:03:19 +0000 (00:03 +0000)]
Improve pdb magic from Joerg Jenderek
Christos Zoulas [Wed, 20 Jan 2016 15:41:31 +0000 (15:41 +0000)]
PR/512: Jason Hood: Add support for windows I{32,64} formats to fmtcheck.
Christos Zoulas [Tue, 19 Jan 2016 16:35:14 +0000 (16:35 +0000)]
Improve GEM image magic (Joerg Jenderek)
Christos Zoulas [Tue, 19 Jan 2016 15:18:38 +0000 (15:18 +0000)]
mention DER magic
Christos Zoulas [Tue, 19 Jan 2016 15:18:02 +0000 (15:18 +0000)]
After we map and byteswap, mprotect(2) the magic entries read-only
to prevent bugs.
Christos Zoulas [Tue, 19 Jan 2016 15:09:28 +0000 (15:09 +0000)]
more der fixes.
Christos Zoulas [Tue, 19 Jan 2016 15:09:21 +0000 (15:09 +0000)]
missing break for DER weight
Christos Zoulas [Tue, 19 Jan 2016 15:09:03 +0000 (15:09 +0000)]
debug print for DER
Christos Zoulas [Tue, 19 Jan 2016 15:08:50 +0000 (15:08 +0000)]
Add special printer for DER that does not abuse magic entries.
Christos Zoulas [Tue, 19 Jan 2016 15:08:14 +0000 (15:08 +0000)]
Add der
Christos Zoulas [Tue, 19 Jan 2016 15:07:45 +0000 (15:07 +0000)]
DER encoded data.
Christos Zoulas [Tue, 19 Jan 2016 04:17:07 +0000 (04:17 +0000)]
Add DER parsing (experimental)
Christos Zoulas [Mon, 11 Jan 2016 21:19:18 +0000 (21:19 +0000)]
PR/507: osm0sis: fix comment...
Christos Zoulas [Mon, 11 Jan 2016 21:18:03 +0000 (21:18 +0000)]
PR/505: Jan Kaluza: MSX string matches should be binary.
Christos Zoulas [Mon, 11 Jan 2016 21:16:37 +0000 (21:16 +0000)]
PR/504: comment out weak magic.
Christos Zoulas [Mon, 11 Jan 2016 20:59:24 +0000 (20:59 +0000)]
PR/502: Durval Menezes: Add another flavor of bitTorrent.
Christos Zoulas [Fri, 8 Jan 2016 00:56:42 +0000 (00:56 +0000)]
better g3 fax detection Joerg Jenderek
Christos Zoulas [Fri, 8 Jan 2016 00:41:02 +0000 (00:41 +0000)]
fix Panorama databases; Joerg Jenderek
Christos Zoulas [Tue, 15 Dec 2015 01:06:17 +0000 (01:06 +0000)]
Microsoft Help file magic from Joerg Jenderek
Christos Zoulas [Tue, 15 Dec 2015 01:06:00 +0000 (01:06 +0000)]
move mime and extension to the right place.
Christos Zoulas [Fri, 4 Dec 2015 20:48:02 +0000 (20:48 +0000)]
Add missing extensions/mime from Andrew Roazen
Christos Zoulas [Fri, 4 Dec 2015 20:40:10 +0000 (20:40 +0000)]
Appleworks fixes from Joerg Jenderek
Christos Zoulas [Fri, 4 Dec 2015 20:38:43 +0000 (20:38 +0000)]
Add last written by version for sqline (Richard Allen)
Christos Zoulas [Mon, 30 Nov 2015 20:54:26 +0000 (20:54 +0000)]
updates for elisp from Joerg Jenderek
Christos Zoulas [Sun, 29 Nov 2015 22:14:49 +0000 (22:14 +0000)]
PR/501: change application/xml to text/xml as per the directive
Christos Zoulas [Sun, 29 Nov 2015 22:11:07 +0000 (22:11 +0000)]
PR/500: Add mp4 dash and mime for it
Christos Zoulas [Sun, 29 Nov 2015 22:08:14 +0000 (22:08 +0000)]
PR/499: Fix unescaped regex.
Christos Zoulas [Sun, 29 Nov 2015 01:55:14 +0000 (01:55 +0000)]
add ktrace
Christos Zoulas [Wed, 25 Nov 2015 00:36:02 +0000 (00:36 +0000)]
add extension info (Joerg Jenderek)
Christos Zoulas [Mon, 23 Nov 2015 22:04:36 +0000 (22:04 +0000)]
PR/497: Add FLIF
Christos Zoulas [Mon, 23 Nov 2015 21:20:50 +0000 (21:20 +0000)]
PR/498: Add Workbook for Excel
Christos Zoulas [Mon, 23 Nov 2015 20:41:43 +0000 (20:41 +0000)]
PR/477: Make python code pypi friendly.
Christos Zoulas [Fri, 20 Nov 2015 17:05:42 +0000 (17:05 +0000)]
Fix lharc magic (Joerg Jenderek)
Christos Zoulas [Wed, 18 Nov 2015 12:29:29 +0000 (12:29 +0000)]
Allow repeated AUXV entries:
https://github.com/torvalds/linux/blob/master/arch/powerpc/include/uapi/asm/elf.h#L174
Christos Zoulas [Mon, 16 Nov 2015 16:03:45 +0000 (16:03 +0000)]
- Update the a_type type to be 64 bits since this is what Linux wants.
- Handle incomplete reads since the filename might be the last thing on the
section.
(Jan Kaluza)
Christos Zoulas [Sat, 14 Nov 2015 13:39:13 +0000 (13:39 +0000)]
add vacuum-cleaner magic
Christos Zoulas [Sat, 14 Nov 2015 13:38:35 +0000 (13:38 +0000)]
new magic from Thomas M. Ott
Christos Zoulas [Fri, 13 Nov 2015 16:45:01 +0000 (16:45 +0000)]
PR/494: make MAP_TYPE_USER be 0, and also set it expicitly. This avoids
the problem on systems without QUICK (mmap) when an error is caught before
the map->type is set and the allocation of the map (when the magic file
cannot be opened).
Christos Zoulas [Fri, 13 Nov 2015 15:42:18 +0000 (15:42 +0000)]
provide forward declaration for makeerror()
Christos Zoulas [Fri, 13 Nov 2015 15:36:14 +0000 (15:36 +0000)]
Provide dprintf(3)
Christos Zoulas [Fri, 13 Nov 2015 15:35:10 +0000 (15:35 +0000)]
Provide makeerror() when we don't have builtin-compress.
Christos Zoulas [Fri, 13 Nov 2015 00:50:40 +0000 (00:50 +0000)]
fix formats
Christos Zoulas [Fri, 13 Nov 2015 00:39:08 +0000 (00:39 +0000)]
PR/496: Add more details for the PS/X executable format and add the CPE format.
Christos Zoulas [Fri, 13 Nov 2015 00:38:33 +0000 (00:38 +0000)]
PR/496: Add more image formats
Christos Zoulas [Wed, 11 Nov 2015 22:50:12 +0000 (22:50 +0000)]
Push and pop a buffer so ascmagic does not print ", " because it thinks
we've already printed.
Christos Zoulas [Wed, 11 Nov 2015 22:30:29 +0000 (22:30 +0000)]
more symbolic constants
Christos Zoulas [Wed, 11 Nov 2015 22:26:30 +0000 (22:26 +0000)]
use symbolic names for 0, 1, 2