From a1bf287d87b354ff332a961f7a823d35e2859cdb Mon Sep 17 00:00:00 2001 From: Christos Zoulas Date: Thu, 2 Jan 1997 01:26:07 +0000 Subject: [PATCH] *** empty log message *** --- magic/Magdir/audio | 4 ++++ magic/Magdir/dump | 4 ++-- magic/Magdir/elf | 18 ++++++++++++++++-- magic/Magdir/images | 12 ++++++++++++ magic/Magdir/java | 1 + magic/Magdir/netbsd | 2 ++ magic/Magdir/sgi | 18 +++++++++--------- 7 files changed, 46 insertions(+), 13 deletions(-) diff --git a/magic/Magdir/audio b/magic/Magdir/audio index fba69fb3..a370dc2a 100644 --- a/magic/Magdir/audio +++ b/magic/Magdir/audio @@ -16,6 +16,10 @@ >12 belong 6 32-bit IEEE floating point, >12 belong 7 64-bit IEEE floating point, >12 belong 23 8-bit ISDN u-law compressed (CCITT G.721 ADPCM voice data encoding), +>12 belong 24 compressed (8-bit G.722 ADPCM) +>12 belong 25 compressed (3-bit G.723 ADPCM), +>12 belong 26 compressed (5-bit G.723 ADPCM), +>12 belong 27 8-bit A-law, >20 belong 1 mono, >20 belong 2 stereo, >20 belong 4 quad, diff --git a/magic/Magdir/dump b/magic/Magdir/dump index 955275b8..628ead86 100644 --- a/magic/Magdir/dump +++ b/magic/Magdir/dump @@ -43,8 +43,8 @@ >888 belong >0 Flags %x 24 lelong 60012 new-fs dump file (little endian), ->4 ledate x Previous dump %s, ->8 ledate x This dump %s, +>4 ledate x This dump %s, +>8 ledate x Previous dump %s, >12 lelong >0 Volume %ld, >692 lelong 0 Level zero, type: >692 lelong >0 Level %d, type: diff --git a/magic/Magdir/elf b/magic/Magdir/elf index 86d6b288..ba9fcbe8 100644 --- a/magic/Magdir/elf +++ b/magic/Magdir/elf @@ -31,8 +31,15 @@ >>18 leshort 5 Motorola 88000 - invalid byte order, >>18 leshort 6 Intel 80486, >>18 leshort 7 Intel 80860, ->>18 leshort 8 MIPS RS3000, +>>18 leshort 8 MIPS RS3000_BE, >>18 leshort 9 Amdahl, +>>18 leshort 10 MIPS RS3000_LE, +>>18 leshort 11 RS6000, +>>18 leshort 15 PA_RISC, +>>18 leshort 16 nCUBE, +>>18 leshort 17 VPP500, +>>18 leshort 18 SPARC32PLUS, +>>18 leshort 20 PowerPC, >>18 leshort 0x9026 Alpha, >>20 lelong 0 invalid version >>20 lelong 1 version 1 @@ -53,8 +60,15 @@ >>18 beshort 5 Motorola 88000, >>18 beshort 6 Intel 80486 - invalid byte order, >>18 beshort 7 Intel 80860, ->>18 beshort 8 MIPS RS3000, +>>18 beshort 8 MIPS RS3000_BE, >>18 beshort 9 Amdahl, +>>18 beshort 10 MIPS RS3000_LE, +>>18 beshort 11 RS6000, +>>18 beshort 15 PA_RISC, +>>18 beshort 16 nCUBE, +>>18 beshort 17 VPP500, +>>18 beshort 18 SPARC32PLUS, +>>18 beshort 20 PowerPC, >>18 beshort 0x9026 Alpha, >>20 belong 0 invalid version >>20 belong 1 version 1 diff --git a/magic/Magdir/images b/magic/Magdir/images index 688f352c..271b169c 100644 --- a/magic/Magdir/images +++ b/magic/Magdir/images @@ -116,6 +116,13 @@ >29 byte 1 \b, fine resolution (204x196 DPI) # JPEG images +# SunOS 5.5.1 had +# +# 0 string \377\330\377\340 JPEG file +# 0 string \377\330\377\356 JPG file +# +# both of which turn into "JPEG image data" here. +# 0 beshort 0xffd8 JPEG image data >6 string JFIF \b, JFIF standard # HSI is Handmade Software's proprietary JPEG encoding scheme @@ -222,3 +229,8 @@ # other images 0 string This\ is\ a\ BitMap\ file Lisp Machine bit-array-file 0 string !! Bennet Yee's "face" format + +# From SunOS 5.5.1 "/etc/magic" - appeared right before Sun raster image +# stuff. +# +0 beshort 0x1010 PEX Binary Archive diff --git a/magic/Magdir/java b/magic/Magdir/java index 7681890e..51bbcccc 100644 --- a/magic/Magdir/java +++ b/magic/Magdir/java @@ -1,4 +1,5 @@ #------------------------------------------------------------ # Java ByteCode +# From Larry Schwimmer (schwim@cs.stanford.edu) 0 belong 0xcafebabe >4 belong 0x0003002d Java bytecode diff --git a/magic/Magdir/netbsd b/magic/Magdir/netbsd index 24569ade..84ae7646 100644 --- a/magic/Magdir/netbsd +++ b/magic/Magdir/netbsd @@ -17,6 +17,8 @@ >>20 lelong >4096 dynamically linked executable >3 byte ^0x80 executable >16 lelong >0 not stripped +0 string \0\0\0\0\0\0\300\357\020\0 FreeBSD core +>1075 string >\0 from '%s' 0 lelong 000000407 NetBSD little-endian object file >16 lelong >0 not stripped diff --git a/magic/Magdir/sgi b/magic/Magdir/sgi index a73cfcf0..541c9ff9 100644 --- a/magic/Magdir/sgi +++ b/magic/Magdir/sgi @@ -1,7 +1,7 @@ #------------------------------------------------------------------------------ # sgi: file(1) magic for Silicon Graphics (MIPS, IRIS, IRIX, etc.) -# +# Dec Ultrix (MIPS) # all of SGI's *current* machines and OSes run in big-endian mode on the # MIPS machines, as far as I know. # @@ -47,8 +47,8 @@ >20 beshort 05401 (paged) >8 belong >0 not stripped >8 belong 0 stripped ->22 byte x - version %d ->23 byte x .%ld +>23 byte x - version %d +>22 byte x .%ld # 0 beshort 0x6201 MIPSEL-LE COFF executable >20 beshort 03401 (impure) @@ -56,8 +56,8 @@ >20 beshort 05401 (paged) >8 belong >0 not stripped >8 belong 0 stripped ->22 byte x - version %ld ->23 byte x .%ld +>23 byte x - version %ld +>22 byte x .%ld # # MIPS 2 additions # @@ -86,7 +86,7 @@ >8 belong >0 not stripped >8 belong 0 stripped >23 byte x - version %ld ->23 byte x .%ld +>22 byte x .%ld # 0 beshort 0x6601 MIPSEL-LE MIPS-II COFF executable >20 beshort 03401 (impure) @@ -95,7 +95,7 @@ >8 belong >0 not stripped >8 belong 0 stripped >23 byte x - version %ld ->23 byte x .%ld +>22 byte x .%ld # # MIPS 3 additions # @@ -124,7 +124,7 @@ >8 belong >0 not stripped >8 belong 0 stripped >23 byte x - version %ld ->23 byte x .%ld +>22 byte x .%ld # 0 beshort 0x4201 MIPSEL-LE MIPS-III COFF executable >20 beshort 03401 (impure) @@ -133,7 +133,7 @@ >8 belong >0 not stripped >8 belong 0 stripped >23 byte x - version %ld ->23 byte x .%ld +>22 byte x .%ld # 0 beshort 0x180 MIPSEB Ucode 0 beshort 0x182 MIPSEL Ucode -- 2.50.1