]> granicus.if.org Git - file/log
file
12 years agoApple on-disk formats.
Christos Zoulas [Fri, 6 Apr 2012 21:18:09 +0000 (21:18 +0000)]
Apple on-disk formats.

12 years ago- add more debugging for indirect offsets.
Christos Zoulas [Fri, 6 Apr 2012 21:15:54 +0000 (21:15 +0000)]
- add more debugging for indirect offsets.
- only print the description for indirect offsets if a match was found,
  and add the offset as the number to print.

12 years agofor indirect formats, allow printing the offset, and default use default
Christos Zoulas [Fri, 6 Apr 2012 21:14:01 +0000 (21:14 +0000)]
for indirect formats, allow printing the offset, and default use default
strength

12 years agoAdd minix A_NSYM format binaries: From: Antoine LECA <antoine.leca.1@gmail.com>
Christos Zoulas [Fri, 6 Apr 2012 14:35:31 +0000 (14:35 +0000)]
Add minix A_NSYM format binaries: From: Antoine LECA <antoine.leca.1@gmail.com>

12 years ago- add windows date formats: {be,le,}qwdate
Christos Zoulas [Tue, 3 Apr 2012 22:25:07 +0000 (22:25 +0000)]
- add windows date formats: {be,le,}qwdate
- don't use time_t when you mean uint32_t
- better support for windows shortcut files

12 years agoallow size <= to the size we have not just <
Christos Zoulas [Tue, 20 Mar 2012 18:28:02 +0000 (18:28 +0000)]
allow size <= to the size we have not just <

12 years agoPR/174: Add winword 2.0 recognition from
Christos Zoulas [Thu, 8 Mar 2012 17:54:48 +0000 (17:54 +0000)]
PR/174: Add winword 2.0 recognition from
https://407323.bugs.gentoo.org/attachment.cgi?id=304559

12 years agofix reversed test
Christos Zoulas [Sat, 3 Mar 2012 15:44:58 +0000 (15:44 +0000)]
fix reversed test

12 years agoLook at the proper offsets for MD info, depending on the size of the binary
Christos Zoulas [Wed, 22 Feb 2012 18:25:39 +0000 (18:25 +0000)]
Look at the proper offsets for MD info, depending on the size of the binary
32 or 64.

12 years agonew version FILE5_11
Christos Zoulas [Tue, 21 Feb 2012 19:16:48 +0000 (19:16 +0000)]
new version

12 years agoMention fuzzing issues
Christos Zoulas [Tue, 21 Feb 2012 19:14:56 +0000 (19:14 +0000)]
Mention fuzzing issues

12 years agoFix bounds checks again.
Christos Zoulas [Mon, 20 Feb 2012 22:35:29 +0000 (22:35 +0000)]
Fix bounds checks again.

12 years agoreturn -2 if we printed something so the we don't print the same information
Christos Zoulas [Mon, 20 Feb 2012 20:04:58 +0000 (20:04 +0000)]
return -2 if we printed something so the we don't print the same information
twice.

12 years ago- simplify rounding
Christos Zoulas [Mon, 20 Feb 2012 20:04:37 +0000 (20:04 +0000)]
- simplify rounding
- use 0x for hex printing

12 years agoPR/170: Christos Georgiou: Add mime type for monkey audio.
Christos Zoulas [Mon, 20 Feb 2012 16:37:34 +0000 (16:37 +0000)]
PR/170: Christos Georgiou: Add mime type for monkey audio.

12 years agowhitespace
Christos Zoulas [Fri, 17 Feb 2012 05:28:40 +0000 (05:28 +0000)]
whitespace

12 years ago- add float and double types
Christos Zoulas [Fri, 17 Feb 2012 05:27:45 +0000 (05:27 +0000)]
- add float and double types
- fix debug printf formats
- fix short stream sizes
- don't fail if we don't know about a type

12 years agoadd more check found by cert's fuzzer.
Christos Zoulas [Fri, 17 Feb 2012 04:23:30 +0000 (04:23 +0000)]
add more check found by cert's fuzzer.

12 years agoadd unreal games signature
Christos Zoulas [Mon, 13 Feb 2012 22:50:50 +0000 (22:50 +0000)]
add unreal games signature

12 years agoadded arm compressed images.
Christos Zoulas [Tue, 7 Feb 2012 21:35:03 +0000 (21:35 +0000)]
added arm compressed images.

12 years agoadd zfs
Christos Zoulas [Fri, 27 Jan 2012 01:41:26 +0000 (01:41 +0000)]
add zfs

12 years agoadd zfs magic
Christos Zoulas [Fri, 27 Jan 2012 01:41:00 +0000 (01:41 +0000)]
add zfs magic

12 years agomake sure that type is initialized even in the out of memory case.
Christos Zoulas [Tue, 24 Jan 2012 19:02:02 +0000 (19:02 +0000)]
make sure that type is initialized even in the out of memory case.

13 years agoremove weak magic
Christos Zoulas [Mon, 16 Jan 2012 15:16:43 +0000 (15:16 +0000)]
remove weak magic

13 years agoPR/165 better version messages from Byrial Jensen
Christos Zoulas [Tue, 3 Jan 2012 17:16:54 +0000 (17:16 +0000)]
PR/165 better version messages from Byrial Jensen

13 years agoremove obsolete header files FILE5_10
Christos Zoulas [Fri, 30 Dec 2011 16:51:19 +0000 (16:51 +0000)]
remove obsolete header files

13 years agowelcome to 5.10
Christos Zoulas [Fri, 30 Dec 2011 16:41:11 +0000 (16:41 +0000)]
welcome to 5.10

13 years agoFix markup typos and document magic_list.
Christos Zoulas [Mon, 19 Dec 2011 17:49:31 +0000 (17:49 +0000)]
Fix markup typos and document magic_list.

13 years agoDon't hard-code MAGIC_NO_CHECK_BUILTIN, build it from it's components.
Christos Zoulas [Sun, 18 Dec 2011 14:55:22 +0000 (14:55 +0000)]
Don't hard-code MAGIC_NO_CHECK_BUILTIN, build it from it's components.

13 years agoadd tilera
Christos Zoulas [Sat, 17 Dec 2011 17:18:14 +0000 (17:18 +0000)]
add tilera

13 years agoMore tilera chips from Chris Metcalf <cmetcalf@tilera.com>
Christos Zoulas [Sat, 17 Dec 2011 17:16:29 +0000 (17:16 +0000)]
More tilera chips from Chris Metcalf <cmetcalf@tilera.com>

13 years agoAdd guile
Christos Zoulas [Fri, 16 Dec 2011 17:44:33 +0000 (17:44 +0000)]
Add guile

13 years agoDocument recent changes.
Reuben Thomas [Fri, 16 Dec 2011 16:34:21 +0000 (16:34 +0000)]
Document recent changes.

13 years agoWeaken generic script magic rather more, to avoid overriding specific magic.
Reuben Thomas [Fri, 16 Dec 2011 16:32:48 +0000 (16:32 +0000)]
Weaken generic script magic rather more, to avoid overriding specific magic.

13 years agoAdd /usr/bin/env detection with MIME type for Perl scripts.
Reuben Thomas [Fri, 16 Dec 2011 16:24:40 +0000 (16:24 +0000)]
Add /usr/bin/env detection with MIME type for Perl scripts.

13 years agotry to make the palm magic stronger and comment as to what should be done.
Christos Zoulas [Thu, 15 Dec 2011 16:21:43 +0000 (16:21 +0000)]
try to make the palm magic stronger and comment as to what should be done.

13 years agoexplain why.
Christos Zoulas [Tue, 13 Dec 2011 13:53:14 +0000 (13:53 +0000)]
explain why.

13 years agordays is off by one. (Daniel Gillen)
Christos Zoulas [Tue, 13 Dec 2011 13:48:41 +0000 (13:48 +0000)]
rdays is off by one. (Daniel Gillen)

13 years agoTweak C++ magic strength to avoid false positives.
Reuben Thomas [Fri, 9 Dec 2011 08:02:16 +0000 (08:02 +0000)]
Tweak C++ magic strength to avoid false positives.

13 years agoSimplify if (p) free(p) to free(p).
Reuben Thomas [Thu, 8 Dec 2011 12:38:24 +0000 (12:38 +0000)]
Simplify if (p) free(p) to free(p).

13 years agoTurn hardwired token matching into soft magic. See ChangeLog for details.
Reuben Thomas [Thu, 8 Dec 2011 12:12:46 +0000 (12:12 +0000)]
Turn hardwired token matching into soft magic. See ChangeLog for details.

13 years agoPR/151: Remove the wild match for 0xeb, matches too many russian texts.
Christos Zoulas [Wed, 7 Dec 2011 22:05:05 +0000 (22:05 +0000)]
PR/151: Remove the wild match for 0xeb, matches too many russian texts.

13 years agoput back the printf chars
Christos Zoulas [Wed, 7 Dec 2011 22:04:27 +0000 (22:04 +0000)]
put back the printf chars

13 years agobetter lzma detection for files with large dictionaries from jan kaluza
Christos Zoulas [Wed, 7 Dec 2011 18:39:43 +0000 (18:39 +0000)]
better lzma detection for files with large dictionaries from jan kaluza

13 years agoCorrect spelling of "XHTML".
Reuben Thomas [Wed, 7 Dec 2011 12:01:24 +0000 (12:01 +0000)]
Correct spelling of "XHTML".

13 years agoImprove punctuation.
Reuben Thomas [Wed, 7 Dec 2011 11:58:24 +0000 (11:58 +0000)]
Improve punctuation.

13 years agoUpdate for recent magic fixes.
Reuben Thomas [Mon, 5 Dec 2011 23:18:12 +0000 (23:18 +0000)]
Update for recent magic fixes.

13 years agoMake description of Python scripts consistent.
Reuben Thomas [Mon, 5 Dec 2011 23:16:41 +0000 (23:16 +0000)]
Make description of Python scripts consistent.

13 years agoMove generic /usr/bin/env script detection from commands to
Reuben Thomas [Mon, 5 Dec 2011 23:14:02 +0000 (23:14 +0000)]
Move generic /usr/bin/env script detection from commands to
varied.script, so all the generic detection is together.

Reduce its strength so it doesn't outweigh language-specific tests.

13 years agoUpdate for recent fixes.
Reuben Thomas [Mon, 5 Dec 2011 23:01:10 +0000 (23:01 +0000)]
Update for recent fixes.

13 years agoFix description of /w flag.
Reuben Thomas [Mon, 5 Dec 2011 22:58:35 +0000 (22:58 +0000)]
Fix description of /w flag.

13 years agoadd music
Christos Zoulas [Fri, 25 Nov 2011 03:28:17 +0000 (03:28 +0000)]
add music

13 years agofix virtualbox
Christos Zoulas [Tue, 22 Nov 2011 13:30:05 +0000 (13:30 +0000)]
fix virtualbox

13 years ago- don't close if not needed
Christos Zoulas [Wed, 16 Nov 2011 19:24:22 +0000 (19:24 +0000)]
- don't close if not needed
- closedir on error path

13 years agoAdd cups
Christos Zoulas [Thu, 10 Nov 2011 18:59:54 +0000 (18:59 +0000)]
Add cups

13 years agofix missing prefix (from bch/NetBSD)
Christos Zoulas [Thu, 10 Nov 2011 13:42:09 +0000 (13:42 +0000)]
fix missing prefix (from bch/NetBSD)

13 years agoFix issue #150.
Reuben Thomas [Sat, 5 Nov 2011 15:44:22 +0000 (15:44 +0000)]
Fix issue #150.

13 years agoadd kernel core formats
Christos Zoulas [Mon, 31 Oct 2011 17:23:34 +0000 (17:23 +0000)]
add kernel core formats

13 years agoadd incremental tar format from Eloi Notario entfe001 at gmail dot com
Christos Zoulas [Wed, 26 Oct 2011 15:44:47 +0000 (15:44 +0000)]
add incremental tar format from Eloi Notario entfe001 at gmail dot com

13 years agoclarify options processing order in -f namefile
Christos Zoulas [Mon, 17 Oct 2011 20:18:05 +0000 (20:18 +0000)]
clarify options processing order in -f namefile

13 years agoPR/146: Mime output for office files broken.
Christos Zoulas [Wed, 28 Sep 2011 13:30:10 +0000 (13:30 +0000)]
PR/146: Mime output for office files broken.

13 years agoPR/145: Remove weak magic.
Christos Zoulas [Wed, 28 Sep 2011 13:22:54 +0000 (13:22 +0000)]
PR/145: Remove weak magic.

13 years agoadd big tiff
Christos Zoulas [Thu, 22 Sep 2011 19:30:43 +0000 (19:30 +0000)]
add big tiff

13 years agoadd python3 changes.
Christos Zoulas [Thu, 22 Sep 2011 16:58:37 +0000 (16:58 +0000)]
add python3 changes.

13 years agomention string flags file type enforcement
Christos Zoulas [Tue, 20 Sep 2011 15:33:50 +0000 (15:33 +0000)]
mention string flags file type enforcement

13 years agomark binary string entries as such
Christos Zoulas [Tue, 20 Sep 2011 15:31:52 +0000 (15:31 +0000)]
mark binary string entries as such

13 years agoIf a string rule specifies binary or text file data explicitly, make sure
Christos Zoulas [Tue, 20 Sep 2011 15:30:14 +0000 (15:30 +0000)]
If a string rule specifies binary or text file data explicitly, make sure
that the data in the file matches the type before we do any other tests.
This avoids having weak magic types such as msdos, match against text files.

13 years ago- print the line number of the rule
Christos Zoulas [Tue, 20 Sep 2011 15:28:09 +0000 (15:28 +0000)]
- print the line number of the rule
- add missing flags

13 years agomv __arraycount() define to file.h FILE5_09
Christos Zoulas [Fri, 16 Sep 2011 21:23:59 +0000 (21:23 +0000)]
mv __arraycount() define to file.h

13 years agofix warnings
Christos Zoulas [Fri, 16 Sep 2011 21:04:59 +0000 (21:04 +0000)]
fix warnings

13 years agowelcome to 5.09
Christos Zoulas [Fri, 16 Sep 2011 19:43:39 +0000 (19:43 +0000)]
welcome to 5.09

13 years agofix missing comment
Christos Zoulas [Fri, 16 Sep 2011 19:40:40 +0000 (19:40 +0000)]
fix missing comment

13 years agoadd zope
Christos Zoulas [Sun, 11 Sep 2011 14:57:46 +0000 (14:57 +0000)]
add zope

13 years agoadd marc21
Christos Zoulas [Thu, 8 Sep 2011 21:58:42 +0000 (21:58 +0000)]
add marc21

13 years agoAdd other stuff we did not mention before
Christos Zoulas [Wed, 7 Sep 2011 22:00:50 +0000 (22:00 +0000)]
Add other stuff we did not mention before

13 years agotypo
Christos Zoulas [Wed, 7 Sep 2011 21:57:15 +0000 (21:57 +0000)]
typo

13 years agoPR/142: add LRF format files
Christos Zoulas [Wed, 7 Sep 2011 15:47:51 +0000 (15:47 +0000)]
PR/142: add LRF format files

13 years agonew media files from Mike Melanson
Christos Zoulas [Tue, 6 Sep 2011 11:00:06 +0000 (11:00 +0000)]
new media files from Mike Melanson

13 years agowait for the particular pid we just forked not just any
Christos Zoulas [Thu, 1 Sep 2011 12:12:37 +0000 (12:12 +0000)]
wait for the particular pid we just forked not just any

13 years agoPR/193: avoid zerodivide
Christos Zoulas [Sun, 28 Aug 2011 08:38:48 +0000 (08:38 +0000)]
PR/193: avoid zerodivide

13 years agofix resource leak: Thomas Jarosch thomas dot jarosch at intra2net dot com
Christos Zoulas [Sun, 28 Aug 2011 07:03:27 +0000 (07:03 +0000)]
fix resource leak: Thomas Jarosch thomas dot jarosch at intra2net dot com

13 years agomention cdf change
Christos Zoulas [Fri, 26 Aug 2011 13:40:34 +0000 (13:40 +0000)]
mention cdf change

13 years agoadd a simple makefile to build just the cdf test code
Christos Zoulas [Fri, 26 Aug 2011 13:39:18 +0000 (13:39 +0000)]
add a simple makefile to build just the cdf test code

13 years agoPR/135: Use a different heuristic to recognize a word document if it missing
Christos Zoulas [Fri, 26 Aug 2011 13:38:28 +0000 (13:38 +0000)]
PR/135: Use a different heuristic to recognize a word document if it missing
the application name in the properties.

13 years agoDo the seek test after we set all information we can determine from the
Christos Zoulas [Tue, 23 Aug 2011 08:01:12 +0000 (08:01 +0000)]
Do the seek test after we set all information we can determine from the
current header only without seeking.

13 years agoPR/129: Add smile
Christos Zoulas [Wed, 17 Aug 2011 17:37:18 +0000 (17:37 +0000)]
PR/129: Add smile

13 years agoPR/134: Don't seek all overr the place when reading elf files, homogenize
Christos Zoulas [Wed, 17 Aug 2011 11:34:39 +0000 (11:34 +0000)]
PR/134: Don't seek all overr the place when reading elf files, homogenize
the seeking to seek to the proper offset for each header structure reading
instead of saving and restoring offsets in random places.

13 years agoeliminate non-literal format strings.
Christos Zoulas [Sun, 14 Aug 2011 09:03:12 +0000 (09:03 +0000)]
eliminate non-literal format strings.

13 years agofile header
Christos Zoulas [Mon, 8 Aug 2011 09:05:55 +0000 (09:05 +0000)]
file header

13 years agoadd fusecompress
Christos Zoulas [Mon, 8 Aug 2011 09:05:38 +0000 (09:05 +0000)]
add fusecompress

13 years agoadd VCDIFF from Jan Kaluza
Christos Zoulas [Mon, 8 Aug 2011 09:01:05 +0000 (09:01 +0000)]
add VCDIFF from Jan Kaluza

13 years agofix weak dbase magic
Christos Zoulas [Mon, 8 Aug 2011 08:56:17 +0000 (08:56 +0000)]
fix weak dbase magic

13 years agoremove duplicate entry.
Christos Zoulas [Mon, 8 Aug 2011 08:49:27 +0000 (08:49 +0000)]
remove duplicate entry.

13 years agomore portable if/then/else FILE5_08
Christos Zoulas [Wed, 3 Aug 2011 16:55:40 +0000 (16:55 +0000)]
more portable if/then/else

13 years agoregen
Christos Zoulas [Wed, 3 Aug 2011 14:47:42 +0000 (14:47 +0000)]
regen

13 years agowelcome to 5.08
Christos Zoulas [Wed, 3 Aug 2011 14:46:58 +0000 (14:46 +0000)]
welcome to 5.08

13 years agosupport ld build id printing.
Christos Zoulas [Tue, 19 Jul 2011 18:54:25 +0000 (18:54 +0000)]
support ld build id printing.

13 years agoDocument recent changes.
Reuben Thomas [Tue, 12 Jul 2011 11:34:55 +0000 (11:34 +0000)]
Document recent changes.

13 years agoRename file system object MIME types for consistency with xdg-utils.
Reuben Thomas [Tue, 12 Jul 2011 11:31:59 +0000 (11:31 +0000)]
Rename file system object MIME types for consistency with xdg-utils.

13 years agoFix position of StarView magic; fixes mantis bug #128.
Reuben Thomas [Tue, 12 Jul 2011 11:31:09 +0000 (11:31 +0000)]
Fix position of StarView magic; fixes mantis bug #128.