]> granicus.if.org Git - file/log
file
6 years agoa copy of the mode info is now stored in magic_set, and modified by the
Christos Zoulas [Thu, 24 May 2018 18:09:17 +0000 (18:09 +0000)]
a copy of the mode info is now stored in magic_set, and modified by the
elf reader if the file is not "executable", or deemed "executable".

6 years ago- add parsing for dynamic sections
Christos Zoulas [Thu, 24 May 2018 18:08:01 +0000 (18:08 +0000)]
- add parsing for dynamic sections
- set or clear the mode execute bits depending on DF_1_PIE
- fix some casts

6 years agobump to beat DOS/MBR
Christos Zoulas [Wed, 23 May 2018 22:21:01 +0000 (22:21 +0000)]
bump to beat DOS/MBR

6 years agoBump strength for tiff to beat DOS/MBR.
Christos Zoulas [Mon, 21 May 2018 21:52:13 +0000 (21:52 +0000)]
Bump strength for tiff to beat DOS/MBR.

6 years agoAdd missing commas.
Christos Zoulas [Mon, 21 May 2018 16:32:34 +0000 (16:32 +0000)]
Add missing commas.

6 years agonew cad magic
Christos Zoulas [Mon, 7 May 2018 23:26:31 +0000 (23:26 +0000)]
new cad magic

6 years agofix typo
Christos Zoulas [Mon, 7 May 2018 02:07:31 +0000 (02:07 +0000)]
fix typo

6 years agoadd more syscalls; newfstatat is used for stat'ing the magic file,
Christos Zoulas [Sun, 6 May 2018 16:36:41 +0000 (16:36 +0000)]
add more syscalls; newfstatat is used for stat'ing the magic file,
getdents64 is used for getting the magic entries during compilation.

6 years agofix comment
Christos Zoulas [Sun, 6 May 2018 16:08:07 +0000 (16:08 +0000)]
fix comment

6 years agoLucasArts animation formats (Brent Spillner)
Christos Zoulas [Sat, 5 May 2018 14:53:13 +0000 (14:53 +0000)]
LucasArts animation formats (Brent Spillner)

6 years agotry to print a mime-like error message when decompression fails.
Christos Zoulas [Sat, 28 Apr 2018 18:48:22 +0000 (18:48 +0000)]
try to print a mime-like error message when decompression fails.

6 years agoadd mime and extensions for fits images:
Christos Zoulas [Sat, 28 Apr 2018 15:26:58 +0000 (15:26 +0000)]
add mime and extensions for fits images:
http://fileformats.archiveteam.org/wiki/Flexible_Image_Transport_System
From Alex Myczko

6 years agoAdd missing \n to ar magic (Valentin Brandl)
Christos Zoulas [Tue, 24 Apr 2018 23:19:45 +0000 (23:19 +0000)]
Add missing \n to ar magic (Valentin Brandl)

6 years agoadd new mp3 test
Christos Zoulas [Tue, 24 Apr 2018 23:16:20 +0000 (23:16 +0000)]
add new mp3 test

6 years agoreduce tar strength for mp3 to win.
Christos Zoulas [Tue, 24 Apr 2018 23:14:53 +0000 (23:14 +0000)]
reduce tar strength for mp3 to win.

6 years agoadd REDIS (Nathan Scott)
Christos Zoulas [Fri, 20 Apr 2018 02:19:50 +0000 (02:19 +0000)]
add REDIS (Nathan Scott)

6 years agohandle broken strndup on aix
Christos Zoulas [Wed, 18 Apr 2018 01:16:13 +0000 (01:16 +0000)]
handle broken strndup on aix

6 years agoadd __noreturn__ to file_err{,x}
Christos Zoulas [Wed, 18 Apr 2018 01:15:49 +0000 (01:15 +0000)]
add __noreturn__ to file_err{,x}

6 years agobump gif to beat mbr (from Kamil Dudka)
Christos Zoulas [Tue, 17 Apr 2018 12:09:20 +0000 (12:09 +0000)]
bump gif to beat mbr (from Kamil Dudka)

6 years agofix cast
Christos Zoulas [Sun, 15 Apr 2018 19:57:59 +0000 (19:57 +0000)]
fix cast

6 years agowhitespace consistency
Christos Zoulas [Sun, 15 Apr 2018 19:57:07 +0000 (19:57 +0000)]
whitespace consistency

6 years agowelcome to 5.33 FILE5_33
Christos Zoulas [Sun, 15 Apr 2018 18:52:28 +0000 (18:52 +0000)]
welcome to 5.33

6 years agoimplement NetBSD emulation (obsolete)
Christos Zoulas [Thu, 12 Apr 2018 16:50:52 +0000 (16:50 +0000)]
implement NetBSD emulation (obsolete)

6 years agoadd lzfse
Christos Zoulas [Tue, 27 Mar 2018 23:26:41 +0000 (23:26 +0000)]
add lzfse

6 years agoFrom Ryo Onodera
Christos Zoulas [Sat, 17 Mar 2018 02:11:04 +0000 (02:11 +0000)]
From Ryo Onodera

6 years agomore versions (stefan haubenthal)
Christos Zoulas [Wed, 14 Mar 2018 04:38:44 +0000 (04:38 +0000)]
more versions (stefan haubenthal)

6 years agofix test
Christos Zoulas [Mon, 12 Mar 2018 12:39:09 +0000 (12:39 +0000)]
fix test

6 years agoremove debugging
Christos Zoulas [Mon, 12 Mar 2018 12:38:59 +0000 (12:38 +0000)]
remove debugging

6 years agoreadme is plain text, not markdown. update build status link
Elan Ruusam�e [Sun, 11 Mar 2018 13:06:47 +0000 (13:06 +0000)]
readme is plain text, not markdown. update build status link

6 years agoDetect Microsoft Office XML files generated with different file order
Christos Zoulas [Sun, 11 Mar 2018 01:25:11 +0000 (01:25 +0000)]
Detect Microsoft Office XML files generated with different file order
in ZIP (Dennis Birkholz)

6 years agoreturn if we matched or not in the "use" case so we can use:
Christos Zoulas [Sun, 11 Mar 2018 01:23:52 +0000 (01:23 +0000)]
return if we matched or not in the "use" case so we can use:

>>>>&26         use             msooxml
>>>>&26         default         x

correctly.

6 years agomore magic for some music chip instrument files (jpcima)
Christos Zoulas [Sun, 11 Mar 2018 00:53:11 +0000 (00:53 +0000)]
more magic for some music chip instrument files (jpcima)

6 years agomore geo data (alex myczko)
Christos Zoulas [Sun, 11 Mar 2018 00:48:16 +0000 (00:48 +0000)]
more geo data (alex myczko)

6 years agoAdd Alternate zip string mime types and extensions.
Christos Zoulas [Mon, 5 Mar 2018 22:48:20 +0000 (22:48 +0000)]
Add Alternate zip string mime types and extensions.

6 years agomention variable expansions in descriptions
Christos Zoulas [Fri, 2 Mar 2018 16:57:01 +0000 (16:57 +0000)]
mention variable expansions in descriptions

6 years agoDocument -S
Christos Zoulas [Fri, 2 Mar 2018 16:17:54 +0000 (16:17 +0000)]
Document -S

6 years agoAdd -S to disable libseccomp if it exists, and fix option docs that where
Christos Zoulas [Fri, 2 Mar 2018 16:11:37 +0000 (16:11 +0000)]
Add -S to disable libseccomp if it exists, and fix option docs that where
out of sync.

6 years agolynx archives (thomas kaeding)
Christos Zoulas [Fri, 2 Mar 2018 15:29:23 +0000 (15:29 +0000)]
lynx archives (thomas kaeding)

6 years agomore compression formats (thomas kaeding)
Christos Zoulas [Fri, 2 Mar 2018 15:28:10 +0000 (15:28 +0000)]
more compression formats (thomas kaeding)

6 years agoadd macpaint, thomas kaeding
Christos Zoulas [Fri, 2 Mar 2018 15:26:39 +0000 (15:26 +0000)]
add macpaint, thomas kaeding

6 years agoNew LAS entry from alexmyczko
Christos Zoulas [Thu, 1 Mar 2018 18:20:06 +0000 (18:20 +0000)]
New LAS entry from alexmyczko

6 years agoadd a conditional in description
Christos Zoulas [Sat, 24 Feb 2018 19:50:04 +0000 (19:50 +0000)]
add a conditional in description

6 years agohandle $ expansion in descriptions
Christos Zoulas [Sat, 24 Feb 2018 19:49:43 +0000 (19:49 +0000)]
handle $ expansion in descriptions

6 years agogpg/pgp packet parsing from Joerg Jenderek
Christos Zoulas [Sat, 24 Feb 2018 16:11:23 +0000 (16:11 +0000)]
gpg/pgp packet parsing from Joerg Jenderek

6 years agoadd missing >
Christos Zoulas [Sat, 24 Feb 2018 15:10:23 +0000 (15:10 +0000)]
add missing >

6 years agoput back bzip 1 in a different form.
Christos Zoulas [Sat, 24 Feb 2018 14:53:10 +0000 (14:53 +0000)]
put back bzip 1 in a different form.

6 years agoEGG and I-tunes cover art from Thomas Kaeding
Christos Zoulas [Fri, 23 Feb 2018 15:19:07 +0000 (15:19 +0000)]
EGG and I-tunes cover art from Thomas Kaeding

6 years agoAdd variable expansions (experimental) to mime types. This is now used
Christos Zoulas [Wed, 21 Feb 2018 21:26:48 +0000 (21:26 +0000)]
Add variable expansions (experimental) to mime types. This is now used
to combine file mode information to mime printing.

6 years agocache stat information
Christos Zoulas [Wed, 21 Feb 2018 21:26:00 +0000 (21:26 +0000)]
cache stat information

6 years agonew ARRI and CINE from Harry Mallon
Christos Zoulas [Fri, 16 Feb 2018 15:44:28 +0000 (15:44 +0000)]
new ARRI and CINE from Harry Mallon

6 years agono need to escape [
Christos Zoulas [Fri, 16 Feb 2018 15:44:00 +0000 (15:44 +0000)]
no need to escape [

6 years agoImprovements for windows ini files from Joerg Jenderek.
Christos Zoulas [Tue, 6 Feb 2018 12:57:16 +0000 (12:57 +0000)]
Improvements for windows ini files from Joerg Jenderek.

6 years agoRemove never-used and now defunct Beetle VM library file magic
Reuben Thomas [Mon, 5 Feb 2018 23:42:17 +0000 (23:42 +0000)]
Remove never-used and now defunct Beetle VM library file magic

6 years agoAdd magic for Beetle VM files
Reuben Thomas [Sun, 28 Jan 2018 00:00:17 +0000 (00:00 +0000)]
Add magic for Beetle VM files

See https://github.com/rrthomas/beetle/

6 years agonew terminfo-2 entry from Thomas Dickey
Christos Zoulas [Sun, 21 Jan 2018 03:26:33 +0000 (03:26 +0000)]
new terminfo-2 entry from Thomas Dickey

6 years agohandle mozilla "ja" zip files (Joerg Jenderek)
Christos Zoulas [Wed, 17 Jan 2018 12:08:36 +0000 (12:08 +0000)]
handle mozilla "ja" zip files (Joerg Jenderek)

7 years agouse pixel depth to be more selective (Joerg Jenderek)
Christos Zoulas [Fri, 12 Jan 2018 18:46:20 +0000 (18:46 +0000)]
use pixel depth to be more selective (Joerg Jenderek)

7 years agof2fs filesystems from Tuomas Tynkkynen
Christos Zoulas [Fri, 12 Jan 2018 12:35:30 +0000 (12:35 +0000)]
f2fs filesystems from Tuomas Tynkkynen

7 years agoMuch better GNU message catalog detection (Joerg Jenderek)
Christos Zoulas [Thu, 4 Jan 2018 01:21:32 +0000 (01:21 +0000)]
Much better GNU message catalog detection (Joerg Jenderek)

7 years agoadd rpi magic
Christos Zoulas [Mon, 1 Jan 2018 05:25:17 +0000 (05:25 +0000)]
add rpi magic

7 years agoFrom tgyurci:
Christos Zoulas [Fri, 29 Dec 2017 04:00:07 +0000 (04:00 +0000)]
From tgyurci:
The Salted__ string does not always end with 9, the last character depends on the next byte, which is the salt for the key. Obviously it can be any byte.

7 years agoFrom coypoop
Christos Zoulas [Thu, 28 Dec 2017 14:51:55 +0000 (14:51 +0000)]
From coypoop
- Remove return code section of manual
- New sentence, new line
- Remove whitespace at end of line.
- Reorder sections to appease mdocml -Tlint

7 years ago- remove magic.mime mention, it was only kept for compatibility and
Christos Zoulas [Mon, 25 Dec 2017 15:08:44 +0000 (15:08 +0000)]
- remove magic.mime mention, it was only kept for compatibility and
  the code will eventually be removed
- add a section explaining the exit values

7 years agodrop the limit lower to satisfy oss-fuzz 4682
Christos Zoulas [Tue, 19 Dec 2017 00:21:21 +0000 (00:21 +0000)]
drop the limit lower to satisfy oss-fuzz 4682

7 years agonew Klystron magic from Alex Myczko
Christos Zoulas [Thu, 14 Dec 2017 17:27:18 +0000 (17:27 +0000)]
new Klystron magic from Alex Myczko

7 years agoAdd $RCSID, fix name
Christos Zoulas [Thu, 14 Dec 2017 05:52:56 +0000 (05:52 +0000)]
Add $RCSID, fix name

7 years agonew tplink magic from Joerg Jenderek
Christos Zoulas [Thu, 14 Dec 2017 05:37:06 +0000 (05:37 +0000)]
new tplink magic from Joerg Jenderek

7 years agodecrease the sector limit (oss-fuzz 4577)
Christos Zoulas [Thu, 14 Dec 2017 01:43:29 +0000 (01:43 +0000)]
decrease the sector limit (oss-fuzz 4577)

7 years agoadd a gpg for dummies section.
Christos Zoulas [Wed, 6 Dec 2017 01:04:53 +0000 (01:04 +0000)]
add a gpg for dummies section.

7 years agoImprove Macbinary format (Joerg Jenderek)
Christos Zoulas [Tue, 5 Dec 2017 02:17:48 +0000 (02:17 +0000)]
Improve Macbinary format (Joerg Jenderek)

7 years agoDYI-Thermocam magic from Harald Geyer
Christos Zoulas [Tue, 28 Nov 2017 14:01:14 +0000 (14:01 +0000)]
DYI-Thermocam magic from Harald Geyer

7 years agoImprove registry file magic (Joerg Jenderek)
Christos Zoulas [Fri, 17 Nov 2017 12:44:45 +0000 (12:44 +0000)]
Improve registry file magic (Joerg Jenderek)

7 years agonew magic.
Christos Zoulas [Wed, 15 Nov 2017 12:19:06 +0000 (12:19 +0000)]
new magic.

7 years agoAdd new APFS magic
Christos Zoulas [Tue, 14 Nov 2017 15:57:38 +0000 (15:57 +0000)]
Add new APFS magic

7 years agoCorrect attribution by request.
Christos Zoulas [Tue, 14 Nov 2017 15:48:36 +0000 (15:48 +0000)]
Correct attribution by request.

7 years agoadd the original file size now that we allow continuation levels with negative
Christos Zoulas [Tue, 14 Nov 2017 15:20:13 +0000 (15:20 +0000)]
add the original file size now that we allow continuation levels with negative
offsets.

7 years agoAllow negative offsets at contination levels > 0
Christos Zoulas [Tue, 14 Nov 2017 15:19:45 +0000 (15:19 +0000)]
Allow negative offsets at contination levels > 0

7 years agoAdd _$ for more MS formats (Joerg Jenderek) examples:
Christos Zoulas [Fri, 10 Nov 2017 03:44:05 +0000 (03:44 +0000)]
Add _$ for more MS formats (Joerg Jenderek) examples:
 MS Compress archive names like: WINWORD6.IN_ HIMEM.SY_ winaspi.dl_
REMLINE.BA$ PWBBASIC.MX$

7 years agoupdate MS-DOS installation compression info;
Christos Zoulas [Fri, 10 Nov 2017 03:42:09 +0000 (03:42 +0000)]
update MS-DOS installation compression info;
http://fileformats.archiveteam.org/wiki/MS-DOS_installation_compression

update SZDD and KWAJ formats:
https://hwiegman.home.xs4all.nl/fileformats/compress/

(Joerg Jenderek)

7 years agofor negative offsets
Christos Zoulas [Sat, 4 Nov 2017 01:23:04 +0000 (01:23 +0000)]
for negative offsets

7 years agoSay that things are down and fix files list.
Christos Zoulas [Sat, 4 Nov 2017 01:19:45 +0000 (01:19 +0000)]
Say that things are down and fix files list.

7 years agoAdd readlink (valoq)
Christos Zoulas [Sat, 4 Nov 2017 01:14:25 +0000 (01:14 +0000)]
Add readlink (valoq)

7 years agotry to explain negative offsets.
Christos Zoulas [Sat, 4 Nov 2017 01:11:32 +0000 (01:11 +0000)]
try to explain negative offsets.

7 years agomore ideas
Christos Zoulas [Sat, 4 Nov 2017 00:58:57 +0000 (00:58 +0000)]
more ideas

7 years agohandle negative indirect offsets
Christos Zoulas [Fri, 3 Nov 2017 23:38:09 +0000 (23:38 +0000)]
handle negative indirect offsets

7 years agoadd zip
Christos Zoulas [Fri, 3 Nov 2017 23:37:34 +0000 (23:37 +0000)]
add zip

7 years agouse the zipversion named entry.
Christos Zoulas [Fri, 3 Nov 2017 23:36:35 +0000 (23:36 +0000)]
use the zipversion named entry.

7 years agonew zip entry with negative offsets
Christos Zoulas [Fri, 3 Nov 2017 23:36:17 +0000 (23:36 +0000)]
new zip entry with negative offsets

7 years agoAdd the end-of-file offset as a field.
Christos Zoulas [Fri, 3 Nov 2017 23:28:04 +0000 (23:28 +0000)]
Add the end-of-file offset as a field.

7 years agonegative indirect offsets are ok
Christos Zoulas [Fri, 3 Nov 2017 23:27:49 +0000 (23:27 +0000)]
negative indirect offsets are ok

7 years agodocument how to improve things
Christos Zoulas [Fri, 3 Nov 2017 14:43:28 +0000 (14:43 +0000)]
document how to improve things

7 years agoadd a new member to hold the end-of-file offset instead of hijacking another
Christos Zoulas [Fri, 3 Nov 2017 14:28:54 +0000 (14:28 +0000)]
add a new member to hold the end-of-file offset instead of hijacking another
field to hold it.

7 years ago- use entries get reset to the original buffer (from 0)
Christos Zoulas [Fri, 3 Nov 2017 02:20:12 +0000 (02:20 +0000)]
- use entries get reset to the original buffer (from 0)
- use msetoffset to figure out which buffer to use
- ms->offset is always positive again.

7 years agomore support for negative buffers.
Christos Zoulas [Fri, 3 Nov 2017 00:18:55 +0000 (00:18 +0000)]
more support for negative buffers.

7 years ago- Encapsulate the buffer, size and file descriptor in a struct buffer.
Christos Zoulas [Thu, 2 Nov 2017 20:25:39 +0000 (20:25 +0000)]
- Encapsulate the buffer, size and file descriptor in a struct buffer.
- Prepare for signed offset (negative offsets will be relative to the end
  of file).
- Fix name collision for file_err().
- fix file_encoding to not return a unicode buffer if NULL is passed.

7 years agoimprove on nero images (NRG) and add extensions (Joerg Jenderek)
Christos Zoulas [Sun, 29 Oct 2017 18:39:46 +0000 (18:39 +0000)]
improve on nero images (NRG) and add extensions (Joerg Jenderek)

7 years agomerge ole2 docs and put them all in one place (Joerg Jenderek)
Christos Zoulas [Fri, 27 Oct 2017 21:43:23 +0000 (21:43 +0000)]
merge ole2 docs and put them all in one place (Joerg Jenderek)

7 years agoRecognize InnoSetup Logs (Joerg Jenderek)
Christos Zoulas [Wed, 25 Oct 2017 23:44:38 +0000 (23:44 +0000)]
Recognize InnoSetup Logs (Joerg Jenderek)

7 years agofix magic detection that uses "PACK" magic (acorn, git pack, quake)
Christos Zoulas [Thu, 19 Oct 2017 16:40:37 +0000 (16:40 +0000)]
fix magic detection that uses "PACK" magic (acorn, git pack, quake)
(Joerg Jenderek)

7 years agoremove leading slash
Christos Zoulas [Thu, 19 Oct 2017 16:37:41 +0000 (16:37 +0000)]
remove leading slash