]> granicus.if.org Git - file/log
file
7 years agokeep "[not] stripped" last since some scripts expect it to be there.
Christos Zoulas [Tue, 14 Feb 2017 12:56:48 +0000 (12:56 +0000)]
keep "[not] stripped" last since some scripts expect it to be there.

7 years agoFix pascal string tod from sl.tom
Christos Zoulas [Sun, 12 Feb 2017 15:30:08 +0000 (15:30 +0000)]
Fix pascal string tod from sl.tom

7 years agoAdd ntfsclone from Mike Swanson
Christos Zoulas [Sat, 11 Feb 2017 19:44:28 +0000 (19:44 +0000)]
Add ntfsclone from Mike Swanson

7 years agofix debug info reversed logic
Christos Zoulas [Sat, 11 Feb 2017 18:12:03 +0000 (18:12 +0000)]
fix debug info reversed logic

7 years agofix cast
Christos Zoulas [Fri, 10 Feb 2017 18:20:33 +0000 (18:20 +0000)]
fix cast

7 years agodefine __STDC_LIMIT_MACROS sooner
Christos Zoulas [Fri, 10 Feb 2017 18:19:34 +0000 (18:19 +0000)]
define __STDC_LIMIT_MACROS sooner

7 years agomore cast stuff.
Christos Zoulas [Fri, 10 Feb 2017 18:14:01 +0000 (18:14 +0000)]
more cast stuff.

7 years agowelcome to 5.30 FILE5_30
Christos Zoulas [Fri, 10 Feb 2017 17:25:14 +0000 (17:25 +0000)]
welcome to 5.30

7 years agorecent changes
Christos Zoulas [Fri, 10 Feb 2017 17:23:23 +0000 (17:23 +0000)]
recent changes

7 years agoadd a gpg step
Christos Zoulas [Fri, 10 Feb 2017 17:16:03 +0000 (17:16 +0000)]
add a gpg step

7 years agomore zip versions from Mike Swanson
Christos Zoulas [Fri, 10 Feb 2017 14:03:22 +0000 (14:03 +0000)]
more zip versions from Mike Swanson

7 years agoAdd IPS magic (Thomas Klausner)
Christos Zoulas [Wed, 8 Feb 2017 21:53:06 +0000 (21:53 +0000)]
Add IPS magic (Thomas Klausner)

7 years agofix typo "avalues" from Thomas Klausner.
Christos Zoulas [Wed, 8 Feb 2017 21:52:03 +0000 (21:52 +0000)]
fix typo "avalues" from Thomas Klausner.

7 years agoIf we exceeded the offset in a search don't break, return 0 (no match)
Christos Zoulas [Tue, 7 Feb 2017 23:27:32 +0000 (23:27 +0000)]
If we exceeded the offset in a search don't break, return 0 (no match)
From Christoph Biedl

7 years agoImprove flash detection (Christoph Biedl)
Christos Zoulas [Tue, 7 Feb 2017 23:25:26 +0000 (23:25 +0000)]
Improve flash detection (Christoph Biedl)

7 years agoIf we are reading a sector stream that is shorter than the minimum standard
Christos Zoulas [Tue, 7 Feb 2017 23:21:29 +0000 (23:21 +0000)]
If we are reading a sector stream that is shorter than the minimum standard
stream size, but there is no short sector chain, adjust the dirlen.

7 years agouse unsigned int shifts
Christos Zoulas [Sat, 4 Feb 2017 16:46:16 +0000 (16:46 +0000)]
use unsigned int shifts

7 years agoPR/593: Clement Lecigne: Fix off-by-one
Christos Zoulas [Wed, 1 Feb 2017 12:38:12 +0000 (12:38 +0000)]
PR/593: Clement Lecigne: Fix off-by-one

7 years agoPR/591: Print if the file has debug info.
Christos Zoulas [Sun, 29 Jan 2017 19:34:24 +0000 (19:34 +0000)]
PR/591: Print if the file has debug info.

7 years agoPR/589: David Korth: Add support for Wii U and 3DS Virtual Console NES ROM
Christos Zoulas [Sun, 22 Jan 2017 22:02:15 +0000 (22:02 +0000)]
PR/589: David Korth: Add support for Wii U and 3DS Virtual Console NES ROM
images. Misc fixes.

7 years agoPR/588: Add ECDSA magic
Christos Zoulas [Sun, 22 Jan 2017 21:14:25 +0000 (21:14 +0000)]
PR/588: Add ECDSA magic

7 years agouse 040 consistently
Christos Zoulas [Sun, 22 Jan 2017 21:13:13 +0000 (21:13 +0000)]
use 040 consistently

7 years agoFix x3d from Thomas Ledoux
Christos Zoulas [Sat, 21 Jan 2017 16:07:14 +0000 (16:07 +0000)]
Fix x3d from Thomas Ledoux

7 years agoPR/574: osm0sis: Handle android having zlib.h and no -lz.
Christos Zoulas [Wed, 18 Jan 2017 16:33:57 +0000 (16:33 +0000)]
PR/574: osm0sis: Handle android having zlib.h and no -lz.

7 years agoPR/584: Timo Foerster: Add a mime type according to:
Christos Zoulas [Wed, 18 Jan 2017 16:24:56 +0000 (16:24 +0000)]
PR/584: Timo Foerster: Add a mime type according to:
https://en.wikipedia.org/wiki/Encapsulated_PostScript

7 years agoPR/585: Martin Reifer: OpenStreetMap header is not always 13 bytes long.
Christos Zoulas [Wed, 18 Jan 2017 16:16:21 +0000 (16:16 +0000)]
PR/585: Martin Reifer: OpenStreetMap header is not always 13 bytes long.

7 years agoPR/586: Add missing section headers info message.
Christos Zoulas [Wed, 18 Jan 2017 16:08:25 +0000 (16:08 +0000)]
PR/586: Add missing section headers info message.

7 years agoPR/587: Luc Gommans: Add OpenSSL files
Christos Zoulas [Wed, 18 Jan 2017 14:59:19 +0000 (14:59 +0000)]
PR/587: Luc Gommans: Add OpenSSL files

8 years agoMore arm64 uboot stuff from Martin Michlmayr
Christos Zoulas [Tue, 3 Jan 2017 11:25:37 +0000 (11:25 +0000)]
More arm64 uboot stuff from Martin Michlmayr

8 years agominor nits from Abhinav Upadhyay
Christos Zoulas [Tue, 3 Jan 2017 11:24:46 +0000 (11:24 +0000)]
minor nits from Abhinav Upadhyay

8 years agocompute the search match length correctly (found by oss-fuzzer)
Christos Zoulas [Tue, 20 Dec 2016 22:44:32 +0000 (22:44 +0000)]
compute the search match length correctly (found by oss-fuzzer)

8 years agouse CCAST, instead of __UNCONST
Christos Zoulas [Tue, 20 Dec 2016 13:29:20 +0000 (13:29 +0000)]
use CCAST, instead of __UNCONST

8 years agowhen the pattern search length is 0, search for the empty string instead
Christos Zoulas [Tue, 20 Dec 2016 12:19:25 +0000 (12:19 +0000)]
when the pattern search length is 0, search for the empty string instead
of the original string because the original string might not be NUL-terminated.
Found by oss-fuzzer.

8 years agomake sure we don't exceed the array sie if nbytes is odd. Found by oss-fuzz
Christos Zoulas [Tue, 20 Dec 2016 03:15:16 +0000 (03:15 +0000)]
make sure we don't exceed the array sie if nbytes is odd. Found by oss-fuzz

8 years agoEscape the . and provide more text for BSD make (Joerg Jenderek)
Christos Zoulas [Sat, 10 Dec 2016 14:21:29 +0000 (14:21 +0000)]
Escape the . and provide more text for BSD make (Joerg Jenderek)

8 years agooverhaul with more detail from Joerg Jenderek, many thanks!
Christos Zoulas [Fri, 2 Dec 2016 19:32:15 +0000 (19:32 +0000)]
overhaul with more detail from Joerg Jenderek, many thanks!

8 years agoPR/583: Lukas Koldrt: Don't attempt to read 0 sized stream.
Christos Zoulas [Thu, 1 Dec 2016 16:44:47 +0000 (16:44 +0000)]
PR/583: Lukas Koldrt: Don't attempt to read 0 sized stream.

8 years agoPR/580: Johannes Niediek: Bump PNG strength to beat DOS/MBR
Christos Zoulas [Thu, 1 Dec 2016 16:20:13 +0000 (16:20 +0000)]
PR/580: Johannes Niediek: Bump PNG strength to beat DOS/MBR

8 years agoPR/579: Andre: Avoid possible infinite recursion in out of memory from
Christos Zoulas [Thu, 1 Dec 2016 16:16:14 +0000 (16:16 +0000)]
PR/579: Andre: Avoid possible infinite recursion in out of memory from
*asprintf

8 years agoPR/578: Roger H: Add SVG HTML file magic
Christos Zoulas [Thu, 1 Dec 2016 15:40:52 +0000 (15:40 +0000)]
PR/578: Roger H: Add SVG HTML file magic

8 years agoPR/577: David Korth: This patch adds detection for the following GameCube
Christos Zoulas [Thu, 1 Dec 2016 15:34:44 +0000 (15:34 +0000)]
PR/577: David Korth: This patch adds detection for the following GameCube
disc image formats:

- CISO (not the same as the existing CISO detection or PSP CISO;
the existing CISO rule has been updated to not detect GCNo
or PSP CISO formats)
- GCZ (Dolphin gzip-compressed images)
- WDF
- WIA

This patch also adds detection for Nintendo amiibo NFC dumps.
The 64-bit amiibo ID, which uniquely identifies the character
and amiibo type, is displayed.

8 years agoPR/576: Rin Okuyama: Fix endianness info of PCF fonts
Christos Zoulas [Thu, 1 Dec 2016 15:30:33 +0000 (15:30 +0000)]
PR/576: Rin Okuyama: Fix endianness info of PCF fonts

8 years agoLimit targa more, otherwise it picks up things like:
Christos Zoulas [Fri, 25 Nov 2016 01:54:24 +0000 (01:54 +0000)]
Limit targa more, otherwise it picks up things like:
help_relation.frm:            MySQL table definition file Version 9, type MYISAM, MySQL version 50146

8 years agoSplit SPIR into GPU
Christos Zoulas [Wed, 9 Nov 2016 18:20:53 +0000 (18:20 +0000)]
Split SPIR into GPU

8 years agoHarden magic to fix regression:
Christos Zoulas [Tue, 8 Nov 2016 23:52:10 +0000 (23:52 +0000)]
Harden magic to fix regression:
An old WordPerfect4 files got mis-detected as :
"DOS 2.0 backed up file \313\300, split file, sequence 266"
(Christoph Biedl)

8 years agoKhronos SPIR-V file and Lytro Light Field Picture magic from Mike Weiblen
Christos Zoulas [Tue, 8 Nov 2016 02:58:21 +0000 (02:58 +0000)]
Khronos SPIR-V file and Lytro Light Field Picture magic from Mike Weiblen

8 years agoToday's changes
Christos Zoulas [Mon, 7 Nov 2016 15:52:42 +0000 (15:52 +0000)]
Today's changes

8 years agoFix error checking in the simple case (one digit length) of der magic.
Christos Zoulas [Mon, 7 Nov 2016 15:51:23 +0000 (15:51 +0000)]
Fix error checking in the simple case (one digit length) of der magic.
(Jonas Wagner)

8 years agoAdd msdos backup entries (Christoph Biedl)
Christos Zoulas [Mon, 7 Nov 2016 15:37:29 +0000 (15:37 +0000)]
Add msdos backup entries (Christoph Biedl)

8 years agoAllow @ in extension
Christos Zoulas [Mon, 7 Nov 2016 15:36:56 +0000 (15:36 +0000)]
Allow @ in extension

8 years agoMore bit rates from Ubuntu via Christoph Biedl
Christos Zoulas [Wed, 2 Nov 2016 23:06:32 +0000 (23:06 +0000)]
More bit rates from Ubuntu via Christoph Biedl
https://xiph.org/flac/format.html#def_STREAMINFO

8 years agoput the actual version in the ChangeLog
Christos Zoulas [Tue, 1 Nov 2016 14:40:18 +0000 (14:40 +0000)]
put the actual version in the ChangeLog

8 years agoPR/534: jeffrey: Fix msx wrong continuation level
Christos Zoulas [Mon, 31 Oct 2016 21:12:49 +0000 (21:12 +0000)]
PR/534: jeffrey: Fix msx wrong continuation level

8 years agonew yara magic from Christoph Biedl
Christos Zoulas [Sun, 30 Oct 2016 00:38:01 +0000 (00:38 +0000)]
new yara magic from Christoph Biedl

8 years agobetter old office document detection (Christoph Biedl)
Christos Zoulas [Sun, 30 Oct 2016 00:36:27 +0000 (00:36 +0000)]
better old office document detection (Christoph Biedl)

8 years agofix joined line
Christos Zoulas [Tue, 25 Oct 2016 20:37:40 +0000 (20:37 +0000)]
fix joined line

8 years agoSync with file.man describing the location and format of magic files.
Christos Zoulas [Tue, 25 Oct 2016 20:33:30 +0000 (20:33 +0000)]
Sync with file.man describing the location and format of magic files.

8 years agowelcome to 5.29 FILE5_29
Christos Zoulas [Tue, 25 Oct 2016 14:40:04 +0000 (14:40 +0000)]
welcome to 5.29

8 years agomore c++ casts
Christos Zoulas [Mon, 24 Oct 2016 18:02:17 +0000 (18:02 +0000)]
more c++ casts

8 years agoMore bug fixes.
Christos Zoulas [Mon, 24 Oct 2016 15:22:28 +0000 (15:22 +0000)]
More bug fixes.

8 years agoWhen loading multiple magic files as in -m foo.mgc:bar and one of them fails,
Christos Zoulas [Mon, 24 Oct 2016 15:21:07 +0000 (15:21 +0000)]
When loading multiple magic files as in -m foo.mgc:bar and one of them fails,
don't free the magic list entries, since the second can load successfully and
we'll still work. Print a warning though when that happens.
Reported by Christoph Biedl

8 years agoAlways check the offset/length of the entry in getlength(). Found by
Christos Zoulas [Mon, 24 Oct 2016 15:19:08 +0000 (15:19 +0000)]
Always check the offset/length of the entry in getlength(). Found by
FUSS, the Fuzzer on a Shoestring, reported by Jonas Wagner.

8 years agoexplain that elf magic is only consulted after softmagic.
Christos Zoulas [Wed, 19 Oct 2016 20:52:45 +0000 (20:52 +0000)]
explain that elf magic is only consulted after softmagic.

8 years agoadd braces to clarify intent.
Christos Zoulas [Wed, 19 Oct 2016 20:51:17 +0000 (20:51 +0000)]
add braces to clarify intent.

8 years agofix mime messages (Guy Helmer)
Christos Zoulas [Tue, 18 Oct 2016 22:25:42 +0000 (22:25 +0000)]
fix mime messages (Guy Helmer)

8 years agoinstead of requiring all the sections to be present, require only one of them.
Christos Zoulas [Tue, 18 Oct 2016 16:10:07 +0000 (16:10 +0000)]
instead of requiring all the sections to be present, require only one of them.

8 years agoFix typos
Christos Zoulas [Mon, 17 Oct 2016 23:04:27 +0000 (23:04 +0000)]
Fix typos

8 years agoadd apt
Christos Zoulas [Mon, 17 Oct 2016 19:52:29 +0000 (19:52 +0000)]
add apt

8 years agonew magic from Christoph Biedl
Christos Zoulas [Mon, 17 Oct 2016 19:51:57 +0000 (19:51 +0000)]
new magic from Christoph Biedl

8 years agoEscape ^
Christos Zoulas [Mon, 17 Oct 2016 18:51:02 +0000 (18:51 +0000)]
Escape ^

8 years agomention fixes.
Christos Zoulas [Mon, 17 Oct 2016 15:26:45 +0000 (15:26 +0000)]
mention fixes.

8 years agoUse both the SummaryStream and the DocumentSummaryStream for information.
Christos Zoulas [Mon, 17 Oct 2016 15:25:34 +0000 (15:25 +0000)]
Use both the SummaryStream and the DocumentSummaryStream for information.
From Guy Helmer.

8 years agoAdd more stream identifiers (Guy Helmer). XXX: perhaps remove the other
Christos Zoulas [Mon, 17 Oct 2016 15:14:35 +0000 (15:14 +0000)]
Add more stream identifiers (Guy Helmer). XXX: perhaps remove the other
name2mime, etc. tables?

8 years agomention how to deal with programming language support
Christos Zoulas [Mon, 17 Oct 2016 14:34:37 +0000 (14:34 +0000)]
mention how to deal with programming language support

8 years agoSome of this magic is weak, comment it out.
Christos Zoulas [Mon, 17 Oct 2016 14:17:48 +0000 (14:17 +0000)]
Some of this magic is weak, comment it out.

8 years agoadd application
Christos Zoulas [Mon, 17 Oct 2016 12:13:19 +0000 (12:13 +0000)]
add application

8 years agonew file
Christos Zoulas [Mon, 17 Oct 2016 12:13:01 +0000 (12:13 +0000)]
new file

8 years agoFix off-by-one detecting \r\n (Jonas Wagner)
Christos Zoulas [Mon, 10 Oct 2016 20:44:15 +0000 (20:44 +0000)]
Fix off-by-one detecting \r\n (Jonas Wagner)
The bug was found using FUSS, the Fuzzer on a Shoestring. This is a
research project done at the Dependable Systems Lab, EPFL, Switzerland.

8 years agoimprove pgp magic (Joerg Jenderek)
Christos Zoulas [Fri, 7 Oct 2016 20:22:12 +0000 (20:22 +0000)]
improve pgp magic (Joerg Jenderek)

8 years agoExtend build-id reporting to 8-byte IDs that lld can generate (Ed Maste)
Christos Zoulas [Tue, 4 Oct 2016 21:43:10 +0000 (21:43 +0000)]
Extend build-id reporting to 8-byte IDs that lld can generate (Ed Maste)

8 years agoPR/573: Nick Terrell: Add zstd support
Christos Zoulas [Fri, 16 Sep 2016 12:12:05 +0000 (12:12 +0000)]
PR/573: Nick Terrell: Add zstd support

8 years agoFix PostScript Font Metrics (Joerg Jenderek)
Christos Zoulas [Wed, 14 Sep 2016 01:26:26 +0000 (01:26 +0000)]
Fix PostScript Font Metrics (Joerg Jenderek)

8 years agofix wrong variable use (Jonas Wagner)
Christos Zoulas [Tue, 13 Sep 2016 13:14:44 +0000 (13:14 +0000)]
fix wrong variable use (Jonas Wagner)

8 years agoPR/571: Mark Anderson: Remove weak magic
Christos Zoulas [Sun, 11 Sep 2016 14:49:54 +0000 (14:49 +0000)]
PR/571: Mark Anderson: Remove weak magic

8 years agoPR/570: Chris Hiestand: Add magic for svg files without an xml header.
Christos Zoulas [Sun, 11 Sep 2016 13:56:42 +0000 (13:56 +0000)]
PR/570: Chris Hiestand: Add magic for svg files without an xml header.

8 years agoPR/569: Shi Yin: Fix memory leak.
Christos Zoulas [Sun, 11 Sep 2016 13:53:02 +0000 (13:53 +0000)]
PR/569: Shi Yin: Fix memory leak.

8 years agoFix cdrom dup magic printing (Joerg Jenderek)
Christos Zoulas [Mon, 5 Sep 2016 08:34:25 +0000 (08:34 +0000)]
Fix cdrom dup magic printing (Joerg Jenderek)

8 years agoapple partition improvements, Joerg Jenderek
Christos Zoulas [Wed, 17 Aug 2016 09:45:13 +0000 (09:45 +0000)]
apple partition improvements, Joerg Jenderek

8 years agoadd algol68.
Christos Zoulas [Tue, 2 Aug 2016 16:53:28 +0000 (16:53 +0000)]
add algol68.

8 years agoruby: make hash-bang magic take precedence over text matches
Reuben Thomas [Wed, 27 Jul 2016 09:46:29 +0000 (09:46 +0000)]
ruby: make hash-bang magic take precedence over text matches

In particular, precedence over incomplete matches that produce no text

8 years agomagic.man: punctuation fixes
Reuben Thomas [Wed, 27 Jul 2016 09:42:49 +0000 (09:42 +0000)]
magic.man: punctuation fixes

8 years agoAdd Python 3.5 support; improve explanation of magic
Reuben Thomas [Wed, 27 Jul 2016 09:42:16 +0000 (09:42 +0000)]
Add Python 3.5 support; improve explanation of magic

8 years agoUse signed offsets to reduce false positives (Christoph Biedl)
Christos Zoulas [Wed, 20 Jul 2016 11:28:40 +0000 (11:28 +0000)]
Use signed offsets to reduce false positives (Christoph Biedl)

And here is your reward: Reduce the number of false-positive
detections of "DOS executable (COM)" big time, especially for small
files. In my case, modulo further checks, the number of files reported
that way went down from some 2500 to 35, with perhaps 6
false-positives.

The trick: The target of the JMP instruction at offset 0 must be valid
and sound: For 0xeb (8bit offset) the offset must be positive as
negative offsets would lead into the program segment prefix (PSP), and
the file must be long enough that jump target actually exists. Similar
for 0xe9 (16bit offset). Here negative offsets (wrapped around at
16bit) are acceptable as long as they don't lead into the PSP. Such
files do exist. And that's where I needed a signed indirect offset.

8 years agoAdd support for signed indirect offsets.
Christos Zoulas [Wed, 20 Jul 2016 11:27:08 +0000 (11:27 +0000)]
Add support for signed indirect offsets.

8 years agoAppleWorks/ClarisWorks files
Christos Zoulas [Mon, 18 Jul 2016 19:23:38 +0000 (19:23 +0000)]
AppleWorks/ClarisWorks files

8 years agomerge vim/nano entries (Christoph Biedl)
Christos Zoulas [Mon, 18 Jul 2016 17:44:49 +0000 (17:44 +0000)]
merge vim/nano entries (Christoph Biedl)

8 years agoadd nano lock file from Christoph Biedl
Christos Zoulas [Mon, 18 Jul 2016 11:55:11 +0000 (11:55 +0000)]
add nano lock file from Christoph Biedl

8 years agocat /dev/null | file - should print empty (Christoph Biedl)
Christos Zoulas [Mon, 18 Jul 2016 11:43:05 +0000 (11:43 +0000)]
cat /dev/null | file - should print empty (Christoph Biedl)

8 years agoimprove gpg magic, from Christoph Biedl.
Christos Zoulas [Sat, 16 Jul 2016 22:17:04 +0000 (22:17 +0000)]
improve gpg magic, from Christoph Biedl.

8 years agowe only need mman for testing.
Christos Zoulas [Fri, 15 Jul 2016 00:56:04 +0000 (00:56 +0000)]
we only need mman for testing.