1*7c478bd9Sstevel@tonic-gate# 2*7c478bd9Sstevel@tonic-gate# Copyright 2005 Sun Microsystems, Inc. All rights reserved. 3*7c478bd9Sstevel@tonic-gate# Use is subject to license terms. 4*7c478bd9Sstevel@tonic-gate# 5*7c478bd9Sstevel@tonic-gate# CDDL HEADER START 6*7c478bd9Sstevel@tonic-gate# 7*7c478bd9Sstevel@tonic-gate# The contents of this file are subject to the terms of the 8*7c478bd9Sstevel@tonic-gate# Common Development and Distribution License, Version 1.0 only 9*7c478bd9Sstevel@tonic-gate# (the "License"). You may not use this file except in compliance 10*7c478bd9Sstevel@tonic-gate# with the License. 11*7c478bd9Sstevel@tonic-gate# 12*7c478bd9Sstevel@tonic-gate# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 13*7c478bd9Sstevel@tonic-gate# or http://www.opensolaris.org/os/licensing. 14*7c478bd9Sstevel@tonic-gate# See the License for the specific language governing permissions 15*7c478bd9Sstevel@tonic-gate# and limitations under the License. 16*7c478bd9Sstevel@tonic-gate# 17*7c478bd9Sstevel@tonic-gate# When distributing Covered Code, include this CDDL HEADER in each 18*7c478bd9Sstevel@tonic-gate# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 19*7c478bd9Sstevel@tonic-gate# If applicable, add the following below this CDDL HEADER, with the 20*7c478bd9Sstevel@tonic-gate# fields enclosed by brackets "[]" replaced with your own identifying 21*7c478bd9Sstevel@tonic-gate# information: Portions Copyright [yyyy] [name of copyright owner] 22*7c478bd9Sstevel@tonic-gate# 23*7c478bd9Sstevel@tonic-gate# CDDL HEADER END 24*7c478bd9Sstevel@tonic-gate# 25*7c478bd9Sstevel@tonic-gate#ident "%Z%%M% %I% %E% SMI" 26*7c478bd9Sstevel@tonic-gate# 27*7c478bd9Sstevel@tonic-gate# This file contains the dictionary of file format identifiers (magic strings) 28*7c478bd9Sstevel@tonic-gate# used by file(1). The fields of this file are as follows: 29*7c478bd9Sstevel@tonic-gate# 30*7c478bd9Sstevel@tonic-gate# (1) byte offset 31*7c478bd9Sstevel@tonic-gate# (2) value type 32*7c478bd9Sstevel@tonic-gate# (3) optional operator (= by default) 33*7c478bd9Sstevel@tonic-gate# (4) value to match (numeric or string) 34*7c478bd9Sstevel@tonic-gate# (5) string to be printed 35*7c478bd9Sstevel@tonic-gate# 36*7c478bd9Sstevel@tonic-gate# Numeric values may be decimal, octal, or hex. Also note that the last string 37*7c478bd9Sstevel@tonic-gate# may have one printf format specifier. The '>' in occassional column 1's is 38*7c478bd9Sstevel@tonic-gate# magic: it forces file(1) to continue scanning and matching additional lines. 39*7c478bd9Sstevel@tonic-gate# The first line afterwards not so marked terminates the search. 40*7c478bd9Sstevel@tonic-gate# 41*7c478bd9Sstevel@tonic-gate# The entries for ELF are not needed anymore, as file(1) now uses the elf(3ELF) 42*7c478bd9Sstevel@tonic-gate# routines to look at ELF files. They remain, commented out, for reference. 43*7c478bd9Sstevel@tonic-gate# 44*7c478bd9Sstevel@tonic-gate#0 string \177ELF ELF 45*7c478bd9Sstevel@tonic-gate#>4 byte 1 32-bit 46*7c478bd9Sstevel@tonic-gate#>5 byte 1 LSB 47*7c478bd9Sstevel@tonic-gate#>5 byte 2 MSB 48*7c478bd9Sstevel@tonic-gate#>16 short 0 unknown type 49*7c478bd9Sstevel@tonic-gate#>16 short 1 relocatable 50*7c478bd9Sstevel@tonic-gate#>16 short 2 executable 51*7c478bd9Sstevel@tonic-gate#>16 short 3 dynamic lib 52*7c478bd9Sstevel@tonic-gate#>16 short 4 core file 53*7c478bd9Sstevel@tonic-gate#>18 short 0 unknown machine 54*7c478bd9Sstevel@tonic-gate#>18 short 1 WE32100 55*7c478bd9Sstevel@tonic-gate#>18 short 2 SPARC 56*7c478bd9Sstevel@tonic-gate#>18 short 3 80386 57*7c478bd9Sstevel@tonic-gate#>18 short 4 M68000 58*7c478bd9Sstevel@tonic-gate#>18 short 5 M88000 59*7c478bd9Sstevel@tonic-gate#>18 short 6 i80486 60*7c478bd9Sstevel@tonic-gate#>18 short 7 i860 61*7c478bd9Sstevel@tonic-gate#>18 short 8 RS3000_BE 62*7c478bd9Sstevel@tonic-gate#>18 short 9 UNKNOWN 63*7c478bd9Sstevel@tonic-gate#>18 short 10 RS3000_LE 64*7c478bd9Sstevel@tonic-gate#>18 short 11 RS6000 65*7c478bd9Sstevel@tonic-gate#>18 short 12 UNKNOWN 66*7c478bd9Sstevel@tonic-gate#>18 short 13 UNKNOWN 67*7c478bd9Sstevel@tonic-gate#>18 short 14 UNKNOWN 68*7c478bd9Sstevel@tonic-gate#>18 short 15 PA_RISC 69*7c478bd9Sstevel@tonic-gate#>18 short 16 nCUBE 70*7c478bd9Sstevel@tonic-gate#>18 short 17 VPP500 71*7c478bd9Sstevel@tonic-gate#>18 short 18 SPARC32PLUS 72*7c478bd9Sstevel@tonic-gate#>18 short 19 UNKNOWN 73*7c478bd9Sstevel@tonic-gate#>18 short 20 PowerPC 74*7c478bd9Sstevel@tonic-gate#>20 long 1 Version 1 75*7c478bd9Sstevel@tonic-gate#>36 long 1 MAU Required 76*7c478bd9Sstevel@tonic-gate257 string ustar USTAR tar archive 77*7c478bd9Sstevel@tonic-gate>156 byte 88 extended format 78*7c478bd9Sstevel@tonic-gate0 short 070701 cpio archive 79*7c478bd9Sstevel@tonic-gate0 string 070701 ASCII cpio archive 80*7c478bd9Sstevel@tonic-gate0 short 070702 cpio archive - CRC header 81*7c478bd9Sstevel@tonic-gate0 string 070702 ASCII cpio archive - CRC header 82*7c478bd9Sstevel@tonic-gate0 short 070707 cpio archive - CHR (-c) header 83*7c478bd9Sstevel@tonic-gate0 string 070707 ASCII cpio archive - CHR (-c) header 84*7c478bd9Sstevel@tonic-gate0 long 0177555 obsolete ar archive 85*7c478bd9Sstevel@tonic-gate0 short 0177545 pdp11/pre System V ar archive 86*7c478bd9Sstevel@tonic-gate0 long 0100554 apl workspace 87*7c478bd9Sstevel@tonic-gate0 short 017037 packed data 88*7c478bd9Sstevel@tonic-gate0 string <ar> System V Release 1 ar archive 89*7c478bd9Sstevel@tonic-gate0 string !<arch> current ar archive 90*7c478bd9Sstevel@tonic-gate0 short 0407 pdp11/pre System V vax executable 91*7c478bd9Sstevel@tonic-gate>8 ushort >0 not stripped 92*7c478bd9Sstevel@tonic-gate>15 ubyte >0 - version %ld 93*7c478bd9Sstevel@tonic-gate0 short 0401 unix-rt ldp 94*7c478bd9Sstevel@tonic-gate0 short 0405 pdp11 overlay 95*7c478bd9Sstevel@tonic-gate0 short 0410 pdp11/pre System V vax pure executable 96*7c478bd9Sstevel@tonic-gate>8 ushort >0 not stripped 97*7c478bd9Sstevel@tonic-gate>15 ubyte >0 - version %ld 98*7c478bd9Sstevel@tonic-gate0 short 0411 pdp11 separate I&D 99*7c478bd9Sstevel@tonic-gate>8 ushort >0 not stripped 100*7c478bd9Sstevel@tonic-gate>15 ubyte >0 - version %ld 101*7c478bd9Sstevel@tonic-gate0 short 015001 Compiled Terminfo Entry 102*7c478bd9Sstevel@tonic-gate# little-endian entry 103*7c478bd9Sstevel@tonic-gate0 short 0432 Compiled Terminfo Entry 104*7c478bd9Sstevel@tonic-gate0 short 0433 Curses screen image 105*7c478bd9Sstevel@tonic-gate0 short 0434 Curses screen image 106*7c478bd9Sstevel@tonic-gate0 short 0437 pdp11 kernel overlay 107*7c478bd9Sstevel@tonic-gate0 short 0570 vax executable 108*7c478bd9Sstevel@tonic-gate>12 long >0 not stripped 109*7c478bd9Sstevel@tonic-gate>22 ushort >0 - version %ld 110*7c478bd9Sstevel@tonic-gate0 short 0575 vax pure executable 111*7c478bd9Sstevel@tonic-gate>12 long >0 not stripped 112*7c478bd9Sstevel@tonic-gate>22 ushort >0 - version %ld 113*7c478bd9Sstevel@tonic-gate0 short 0502 basic-16 executable 114*7c478bd9Sstevel@tonic-gate>12 long >0 not stripped 115*7c478bd9Sstevel@tonic-gate>22 ushort >0 - version %ld 116*7c478bd9Sstevel@tonic-gate0 short 0503 basic-16 executable (TV) 117*7c478bd9Sstevel@tonic-gate>12 long >0 not stripped 118*7c478bd9Sstevel@tonic-gate>22 ushort >0 - version %ld 119*7c478bd9Sstevel@tonic-gate0 short 0510 x86 executable 120*7c478bd9Sstevel@tonic-gate>12 long >0 not stripped 121*7c478bd9Sstevel@tonic-gate0 short 0511 x86 executable (TV) 122*7c478bd9Sstevel@tonic-gate>12 long >0 not stripped 123*7c478bd9Sstevel@tonic-gate0 short 0550 3b20 executable 124*7c478bd9Sstevel@tonic-gate>12 long >0 not stripped 125*7c478bd9Sstevel@tonic-gate>22 ushort >0 - version %ld 126*7c478bd9Sstevel@tonic-gate0 short 0551 3b20 executable (TV) 127*7c478bd9Sstevel@tonic-gate>12 long >0 not stripped 128*7c478bd9Sstevel@tonic-gate>22 ushort >0 - version %ld 129*7c478bd9Sstevel@tonic-gate0 short 0560 WE32000 executable 130*7c478bd9Sstevel@tonic-gate>12 long >0 not stripped 131*7c478bd9Sstevel@tonic-gate>18 short ^00010000 - N/A on 3b2/300 w/paging 132*7c478bd9Sstevel@tonic-gate>18 short &00020000 - 32100 required 133*7c478bd9Sstevel@tonic-gate>18 short &00040000 and mau hardware required 134*7c478bd9Sstevel@tonic-gate>20 short 0443 (target shared library) 135*7c478bd9Sstevel@tonic-gate>20 short 0410 (swapped) 136*7c478bd9Sstevel@tonic-gate>20 short 0413 (paged) 137*7c478bd9Sstevel@tonic-gate>22 ushort >0 - version %ld 138*7c478bd9Sstevel@tonic-gate0 short 0561 WE32000 executable (TV) 139*7c478bd9Sstevel@tonic-gate>12 long >0 not stripped 140*7c478bd9Sstevel@tonic-gate>18 short &00020000 - 32100 required 141*7c478bd9Sstevel@tonic-gate>18 short &00040000 and mau hardware required 142*7c478bd9Sstevel@tonic-gate>22 ushort >0 - version %ld 143*7c478bd9Sstevel@tonic-gate0 short =0512 iAPX 286 executable small model (COFF) 144*7c478bd9Sstevel@tonic-gate>12 long >0 not stripped 145*7c478bd9Sstevel@tonic-gate>22 ushort >0 - version %ld 146*7c478bd9Sstevel@tonic-gate0 short =0522 iAPX 286 executable large model (COFF) 147*7c478bd9Sstevel@tonic-gate>12 long >0 not stripped 148*7c478bd9Sstevel@tonic-gate>22 ushort >0 - version %ld 149*7c478bd9Sstevel@tonic-gate0 short 0514 iAPX 386 executable (COFF) (deprecated) 150*7c478bd9Sstevel@tonic-gate>12 long >0 not stripped 151*7c478bd9Sstevel@tonic-gate>22 ushort >0 - version %ld 152*7c478bd9Sstevel@tonic-gate0 short 0520 mc68k executable 153*7c478bd9Sstevel@tonic-gate>12 long >0 not stripped 154*7c478bd9Sstevel@tonic-gate0 short 0521 mc68k executable (shared) 155*7c478bd9Sstevel@tonic-gate>12 long >0 not stripped 156*7c478bd9Sstevel@tonic-gate0 short 0522 mc68k executable (shared demand paged) 157*7c478bd9Sstevel@tonic-gate>12 long >0 not stripped 158*7c478bd9Sstevel@tonic-gate# big-endian entries for pure executables 159*7c478bd9Sstevel@tonic-gate2 short 0410 pure 160*7c478bd9Sstevel@tonic-gate>1 byte 0 sun2 executable 161*7c478bd9Sstevel@tonic-gate>1 byte 1 mc68010 executable 162*7c478bd9Sstevel@tonic-gate>1 byte 2 mc68020 executable 163*7c478bd9Sstevel@tonic-gate>1 byte 3 SPARC executable 164*7c478bd9Sstevel@tonic-gate>0 ubyte >077 dynamically linked 165*7c478bd9Sstevel@tonic-gate# little-endian entries for pure executables 166*7c478bd9Sstevel@tonic-gate2 short 04001 pure 167*7c478bd9Sstevel@tonic-gate>1 byte 0 sun2 executable 168*7c478bd9Sstevel@tonic-gate>1 byte 1 mc68010 executable 169*7c478bd9Sstevel@tonic-gate>1 byte 2 mc68020 executable 170*7c478bd9Sstevel@tonic-gate>1 byte 3 SPARC executable 171*7c478bd9Sstevel@tonic-gate>0 ubyte >077 dynamically linked 172*7c478bd9Sstevel@tonic-gate# big-endian entries for impure executables 173*7c478bd9Sstevel@tonic-gate2 short 0407 impure 174*7c478bd9Sstevel@tonic-gate>1 byte 0 sun2 executable 175*7c478bd9Sstevel@tonic-gate>1 byte 1 mc68010 executable 176*7c478bd9Sstevel@tonic-gate>1 byte 2 mc68020 executable 177*7c478bd9Sstevel@tonic-gate>1 byte 3 SPARC executable 178*7c478bd9Sstevel@tonic-gate>0 ubyte >077 dynamically linked 179*7c478bd9Sstevel@tonic-gate# little-endian entries for impure executables 180*7c478bd9Sstevel@tonic-gate2 short 03401 impure 181*7c478bd9Sstevel@tonic-gate>1 byte 0 sun2 executable 182*7c478bd9Sstevel@tonic-gate>1 byte 1 mc68010 executable 183*7c478bd9Sstevel@tonic-gate>1 byte 2 mc68020 executable 184*7c478bd9Sstevel@tonic-gate>1 byte 3 SPARC executable 185*7c478bd9Sstevel@tonic-gate>0 ubyte >077 dynamically linked 186*7c478bd9Sstevel@tonic-gate# big-endian entries for Sun demand paged executables 187*7c478bd9Sstevel@tonic-gate2 short 0413 Sun demand paged 188*7c478bd9Sstevel@tonic-gate>1 byte 0 sun2 executable 189*7c478bd9Sstevel@tonic-gate>1 byte 1 mc68010 executable 190*7c478bd9Sstevel@tonic-gate>1 byte 2 mc68020 executable 191*7c478bd9Sstevel@tonic-gate>1 byte 3 SPARC executable 192*7c478bd9Sstevel@tonic-gate>0 ubyte >077 dynamically linked 193*7c478bd9Sstevel@tonic-gate# little-endian entries for Sun demand paged executables 194*7c478bd9Sstevel@tonic-gate2 short 05401 Sun demand paged 195*7c478bd9Sstevel@tonic-gate>1 byte 0 sun2 executable 196*7c478bd9Sstevel@tonic-gate>1 byte 1 mc68010 executable 197*7c478bd9Sstevel@tonic-gate>1 byte 2 mc68020 executable 198*7c478bd9Sstevel@tonic-gate>1 byte 3 SPARC executable 199*7c478bd9Sstevel@tonic-gate>0 ubyte >077 dynamically linked 200*7c478bd9Sstevel@tonic-gate0 short 0x8001 Adobe PostScript Type 1 binary font (PFB) 201*7c478bd9Sstevel@tonic-gate0 short 0x0180 Adobe PostScript Type 1 binary font (PFB) 202*7c478bd9Sstevel@tonic-gate0 long 0x00010000 TrueType font file version 1.0 (TTF) 203*7c478bd9Sstevel@tonic-gate0 long 0x00000100 TrueType font file version 1.0 (TTF) 204*7c478bd9Sstevel@tonic-gate0 long 0xf00000ff extended accounting file 205*7c478bd9Sstevel@tonic-gate# little-endian entry 206*7c478bd9Sstevel@tonic-gate0 long 0xff0000f0 extended accounting file 207*7c478bd9Sstevel@tonic-gate0 byte 0x80 8086 relocatable (Microsoft) 208*7c478bd9Sstevel@tonic-gate0 byte 0xf0 MS-DOS library 209*7c478bd9Sstevel@tonic-gate0 short 0xff65 x.out 210*7c478bd9Sstevel@tonic-gate>2 string __.SYMDEF randomized 211*7c478bd9Sstevel@tonic-gate>0 byte x archive 212*7c478bd9Sstevel@tonic-gate0 short 0x206 Microsoft a.out 213*7c478bd9Sstevel@tonic-gate>0x1e short &0x10 overlay 214*7c478bd9Sstevel@tonic-gate>0x1e short &0x2 separate 215*7c478bd9Sstevel@tonic-gate>0x1e short &0x4 pure 216*7c478bd9Sstevel@tonic-gate>0x1e short &0x800 segmented 217*7c478bd9Sstevel@tonic-gate>0x1e short &0x400 standalone 218*7c478bd9Sstevel@tonic-gate>0x1e short &0x8 fixed-stack 219*7c478bd9Sstevel@tonic-gate>0x1c byte &0x80 byte-swapped 220*7c478bd9Sstevel@tonic-gate>0x1c byte &0x40 word-swapped 221*7c478bd9Sstevel@tonic-gate>0x10 long >0 not-stripped 222*7c478bd9Sstevel@tonic-gate>0x1e short ^0xc000 pre-SysV 223*7c478bd9Sstevel@tonic-gate>0x1c byte &0x4 86 224*7c478bd9Sstevel@tonic-gate>0x1c byte &0x9 286 225*7c478bd9Sstevel@tonic-gate>0x1c byte &0xa 386 226*7c478bd9Sstevel@tonic-gate>0x1e short &0x1 executable 227*7c478bd9Sstevel@tonic-gate>0x1e short ^0x1 object file 228*7c478bd9Sstevel@tonic-gate>0x1e short &0x40 Large Text 229*7c478bd9Sstevel@tonic-gate>0x1e short &0x20 Large Data 230*7c478bd9Sstevel@tonic-gate>0x1e short &0x120 Huge Objects Enabled 231*7c478bd9Sstevel@tonic-gate0 short 0x10b VAX demand load format a.out object file 232*7c478bd9Sstevel@tonic-gate>0x10 long >0 not stripped 233*7c478bd9Sstevel@tonic-gate0 short 0x140 old Microsoft 8086 x.out 234*7c478bd9Sstevel@tonic-gate>0x3 byte &0x4 separate 235*7c478bd9Sstevel@tonic-gate>0x3 byte &0x2 pure 236*7c478bd9Sstevel@tonic-gate>0 byte &0x1 executable 237*7c478bd9Sstevel@tonic-gate>0 byte ^0x1 relocatable 238*7c478bd9Sstevel@tonic-gate>0x14 long >0 not stripped 239*7c478bd9Sstevel@tonic-gate0 long 0x10b VAX demand load format a.out object file 240*7c478bd9Sstevel@tonic-gate>0x10 long >0 not stripped 241*7c478bd9Sstevel@tonic-gate0 long 0x140 old Microsoft 8086 x.out 242*7c478bd9Sstevel@tonic-gate>0x3 byte &0x4 separate 243*7c478bd9Sstevel@tonic-gate>0x3 byte &0x2 pure 244*7c478bd9Sstevel@tonic-gate>0 byte &0x1 executable 245*7c478bd9Sstevel@tonic-gate>0 byte ^0x1 relocatable 246*7c478bd9Sstevel@tonic-gate>0x14 long >0 not stripped 247*7c478bd9Sstevel@tonic-gate0 long 0xe807 object file (z8000 a.out) 248*7c478bd9Sstevel@tonic-gate0 long 0xe808 pure object file (z8000 a.out) 249*7c478bd9Sstevel@tonic-gate0 long 0xe809 separate object file (z8000 a.out) 250*7c478bd9Sstevel@tonic-gate0 long 0xe805 overlay object file (z8000 a.out) 251*7c478bd9Sstevel@tonic-gate0 long 0x178 Bell 5.0 executable 252*7c478bd9Sstevel@tonic-gate2 short 0410 Sun read-only text executable 253*7c478bd9Sstevel@tonic-gate>2 short 0407 Sun old executable 254*7c478bd9Sstevel@tonic-gate>1 byte 3 (SPARC) 255*7c478bd9Sstevel@tonic-gate>1 byte 2 (68020) 256*7c478bd9Sstevel@tonic-gate>1 byte 1 (68010) 257*7c478bd9Sstevel@tonic-gate>1 byte 0 (Sun2) 258*7c478bd9Sstevel@tonic-gate0 short 0143561 byte-swapped cpio archive 259*7c478bd9Sstevel@tonic-gate0 long 0101555 PDP-11 single precision APL workspace 260*7c478bd9Sstevel@tonic-gate0 long 0101554 PDP-11 double precision APL workspace 261*7c478bd9Sstevel@tonic-gate0 long 0101557 VAX single precision APL workspace 262*7c478bd9Sstevel@tonic-gate0 long 0101556 VAX double precision APL workspace 263*7c478bd9Sstevel@tonic-gate0 short 017437 old packed data 264*7c478bd9Sstevel@tonic-gate0 string \037\036 packed data 265*7c478bd9Sstevel@tonic-gate0 string \377\037 compacted data 266*7c478bd9Sstevel@tonic-gate0 string \037\235 compressed data 267*7c478bd9Sstevel@tonic-gate>2 byte&0x80 >0 block compressed 268*7c478bd9Sstevel@tonic-gate>2 byte&0x1f x %d bits 269*7c478bd9Sstevel@tonic-gate0 string \037\213 gzip compressed data 270*7c478bd9Sstevel@tonic-gate>2 byte 8 - deflate method 271*7c478bd9Sstevel@tonic-gate>3 byte &0x1 , ascii 272*7c478bd9Sstevel@tonic-gate>3 byte &0x2 , continuation 273*7c478bd9Sstevel@tonic-gate>3 byte &0x4 , extra field 274*7c478bd9Sstevel@tonic-gate>3 byte &0x8 , original file name 275*7c478bd9Sstevel@tonic-gate>3 byte &0x10 , comment 276*7c478bd9Sstevel@tonic-gate>3 byte &0x20 , encrypted 277*7c478bd9Sstevel@tonic-gate>8 byte 2 , max compression 278*7c478bd9Sstevel@tonic-gate>8 byte 4 , max speed 279*7c478bd9Sstevel@tonic-gate0 string !<arch>\n__.SYMDEF archive random library 280*7c478bd9Sstevel@tonic-gate0 long 0x1010101 MMDF mailbox 281*7c478bd9Sstevel@tonic-gate0 string <!OPS Interleaf ASCII document 282*7c478bd9Sstevel@tonic-gate24 string SunGKS SunGKS 283*7c478bd9Sstevel@tonic-gate# version number follows, in the form m.n 284*7c478bd9Sstevel@tonic-gate>0 string GKSM Metafile 285*7c478bd9Sstevel@tonic-gate0 string GKSM GKS Metafile 286*7c478bd9Sstevel@tonic-gate# version number follows, in the form <!OPS, Version n.n> 287*7c478bd9Sstevel@tonic-gate0 string %!PS-AdobeFont Adobe PostScript ASCII font (PFA) 288*7c478bd9Sstevel@tonic-gate0 string %! PostScript document 289*7c478bd9Sstevel@tonic-gate>2 string PS-Adobe conforming to level 290*7c478bd9Sstevel@tonic-gate>10 string -1.0 1.0 291*7c478bd9Sstevel@tonic-gate>10 string -2.0 2.0 292*7c478bd9Sstevel@tonic-gate>10 string -3.0 3.0 293*7c478bd9Sstevel@tonic-gate# version ID follows, in the form PS-Adobe-nn 294*7c478bd9Sstevel@tonic-gate0 string Interpress/Xerox Interpress document 295*7c478bd9Sstevel@tonic-gate# version ID follows, in the form /n.n 296*7c478bd9Sstevel@tonic-gate0 string StartFontMetrics Adobe font metrics 297*7c478bd9Sstevel@tonic-gate0 string StartFont Adobe font bits 298*7c478bd9Sstevel@tonic-gate0 long 0x137A2944 NeWS bitmap font 299*7c478bd9Sstevel@tonic-gate0 long 0x137A2947 NeWS font family 300*7c478bd9Sstevel@tonic-gate8 long 0x137A2B45 X11/NeWS bitmap font 301*7c478bd9Sstevel@tonic-gate8 long 0x137A2B48 X11/NeWS font family 302*7c478bd9Sstevel@tonic-gate# snoop files are always big-endian 303*7c478bd9Sstevel@tonic-gate# big-endian entries, with ullong equivalent of string "snoop" 304*7c478bd9Sstevel@tonic-gate0 ullong 0x736e6f6f70000000 Snoop capture file 305*7c478bd9Sstevel@tonic-gate>8 long >0 - version %ld 306*7c478bd9Sstevel@tonic-gate# little-endian entries, with ullong equivalent of string "snoop" 307*7c478bd9Sstevel@tonic-gate0 ullong 0x000000706f6f6e73 Snoop capture file 308*7c478bd9Sstevel@tonic-gate>11 long >0 - version %ld 309*7c478bd9Sstevel@tonic-gate0 short 0436 vfont definition 310*7c478bd9Sstevel@tonic-gate0 string <MakerFile Frame Maker document 311*7c478bd9Sstevel@tonic-gate0 string <MIFFile Frame Maker MIF file 312*7c478bd9Sstevel@tonic-gate0 string <MML Frame Maker MML file 313*7c478bd9Sstevel@tonic-gate0 string <BookFile Frame Maker book file 314*7c478bd9Sstevel@tonic-gate# Audio files are always big-endian so there are two sets of tables here. 315*7c478bd9Sstevel@tonic-gate# The CPU endian architecture is determined via the ordering of the first 4 bytes 316*7c478bd9Sstevel@tonic-gate# (the string ".snd"). The tables below have this value represented as a single 317*7c478bd9Sstevel@tonic-gate# 4 byte long. If the architecture is big-endian the %d token can be used for 318*7c478bd9Sstevel@tonic-gate# interpreting the sampling rate. 319*7c478bd9Sstevel@tonic-gate# Since %d can't be done on the data for little endian machines the limitation 320*7c478bd9Sstevel@tonic-gate# is that sampling rates not included in the x86 entries will not be recognized. 321*7c478bd9Sstevel@tonic-gate# 322*7c478bd9Sstevel@tonic-gate# big-endian entries 323*7c478bd9Sstevel@tonic-gate# 324*7c478bd9Sstevel@tonic-gate0 long 0x2e736e64 audio data: 325*7c478bd9Sstevel@tonic-gate>12 long 1 8-bit u-law, 326*7c478bd9Sstevel@tonic-gate>12 long 2 8-bit linear PCM, 327*7c478bd9Sstevel@tonic-gate>12 long 3 16-bit linear PCM, 328*7c478bd9Sstevel@tonic-gate>12 long 4 24-bit linear PCM, 329*7c478bd9Sstevel@tonic-gate>12 long 5 32-bit linear PCM, 330*7c478bd9Sstevel@tonic-gate>12 long 6 32-bit floating point, 331*7c478bd9Sstevel@tonic-gate>12 long 7 64-bit floating point, 332*7c478bd9Sstevel@tonic-gate>12 long 23 compressed (4-bit G.721 ADPCM), 333*7c478bd9Sstevel@tonic-gate>12 long 24 compressed (8-bit G.722 ADPCM), 334*7c478bd9Sstevel@tonic-gate>12 long 25 compressed (3-bit G.723 ADPCM), 335*7c478bd9Sstevel@tonic-gate>12 long 26 compressed (5-bit G.723 ADPCM), 336*7c478bd9Sstevel@tonic-gate>12 long 27 8-bit A-law, 337*7c478bd9Sstevel@tonic-gate>20 long 1 mono, 338*7c478bd9Sstevel@tonic-gate>20 long 2 stereo, 339*7c478bd9Sstevel@tonic-gate>20 long 4 quad, 340*7c478bd9Sstevel@tonic-gate>16 long x %d Hz 341*7c478bd9Sstevel@tonic-gate# 342*7c478bd9Sstevel@tonic-gate# little-endian entries 343*7c478bd9Sstevel@tonic-gate# 344*7c478bd9Sstevel@tonic-gate0 long 0x646e732e audio data: 345*7c478bd9Sstevel@tonic-gate>12 long 0x01000000 8-bit u-law, 346*7c478bd9Sstevel@tonic-gate>12 long 0x02000000 8-bit linear PCM, 347*7c478bd9Sstevel@tonic-gate>12 long 0x03000000 16-bit linear PCM, 348*7c478bd9Sstevel@tonic-gate>12 long 0x04000000 24-bit linear PCM, 349*7c478bd9Sstevel@tonic-gate>12 long 0x05000000 32-bit linear PCM, 350*7c478bd9Sstevel@tonic-gate>12 long 0x06000000 32-bit floating point, 351*7c478bd9Sstevel@tonic-gate>12 long 0x07000000 64-bit floating point, 352*7c478bd9Sstevel@tonic-gate>12 long 0x17000000 compressed (4-bit G.721 ADPCM), 353*7c478bd9Sstevel@tonic-gate>12 long 0x18000000 compressed (8-bit G.722 ADPCM), 354*7c478bd9Sstevel@tonic-gate>12 long 0x19000000 compressed (3-bit G.723 ADPCM), 355*7c478bd9Sstevel@tonic-gate>12 long 0x1a000000 compressed (5-bit G.723 ADPCM), 356*7c478bd9Sstevel@tonic-gate>12 long 0x1b000000 8-bit A-law, 357*7c478bd9Sstevel@tonic-gate>20 long 0x01000000 mono, 358*7c478bd9Sstevel@tonic-gate>20 long 0x02000000 stereo, 359*7c478bd9Sstevel@tonic-gate>20 long 0x04000000 quad, 360*7c478bd9Sstevel@tonic-gate>16 long 0x401f0000 8000 Hz 361*7c478bd9Sstevel@tonic-gate>16 long 0x80250000 9600 Hz 362*7c478bd9Sstevel@tonic-gate>16 long 0x112b0000 11025 Hz 363*7c478bd9Sstevel@tonic-gate>16 long 0x803e0000 16000 Hz 364*7c478bd9Sstevel@tonic-gate>16 long 0xd4490000 18900 Hz 365*7c478bd9Sstevel@tonic-gate>16 long 0x22560000 22050 Hz 366*7c478bd9Sstevel@tonic-gate>16 long 0x007d0000 32000 Hz 367*7c478bd9Sstevel@tonic-gate>16 long 0xa8930000 37800 Hz 368*7c478bd9Sstevel@tonic-gate>16 long 0x44ac0000 44100 Hz 369*7c478bd9Sstevel@tonic-gate>16 long 0x80bb0000 48000 Hz 370*7c478bd9Sstevel@tonic-gate# .wav files are always little-endian 371*7c478bd9Sstevel@tonic-gate# .wav big-endian entries, starting with long value for the string "RIFF" 372*7c478bd9Sstevel@tonic-gate0 long 0x52494646 audio data: 373*7c478bd9Sstevel@tonic-gate>34 short 0x0800 8-bit 374*7c478bd9Sstevel@tonic-gate>34 short 0x1000 16-bit 375*7c478bd9Sstevel@tonic-gate>20 short 0x0100 linear PCM, 376*7c478bd9Sstevel@tonic-gate>20 short 0x0200 MS ADPCM, 377*7c478bd9Sstevel@tonic-gate>20 short 0x0600 A-law, 378*7c478bd9Sstevel@tonic-gate>20 short 0x0700 u-law, 379*7c478bd9Sstevel@tonic-gate>20 short 0x1100 DVI ADPCM, 380*7c478bd9Sstevel@tonic-gate>22 short 0x0100 mono 381*7c478bd9Sstevel@tonic-gate>22 short 0x0200 stereo 382*7c478bd9Sstevel@tonic-gate# .wav little-endian entries, starting with long value for the string "RIFF" 383*7c478bd9Sstevel@tonic-gate0 long 0x46464952 audio data: 384*7c478bd9Sstevel@tonic-gate>34 short 0x0008 8-bit 385*7c478bd9Sstevel@tonic-gate>34 short 0x0010 16-bit 386*7c478bd9Sstevel@tonic-gate>20 short 0x0001 linear PCM, 387*7c478bd9Sstevel@tonic-gate>20 short 0x0002 MS ADPCM, 388*7c478bd9Sstevel@tonic-gate>20 short 0x0006 A-law, 389*7c478bd9Sstevel@tonic-gate>20 short 0x0007 u-law, 390*7c478bd9Sstevel@tonic-gate>20 short 0x0011 DVI ADPCM, 391*7c478bd9Sstevel@tonic-gate>22 short 0x0001 mono 392*7c478bd9Sstevel@tonic-gate>22 short 0x0002 stereo 393*7c478bd9Sstevel@tonic-gate# .aiff files are always big-endian 394*7c478bd9Sstevel@tonic-gate# .aiff big-endian entries, starting with long value for the string "FORM" 395*7c478bd9Sstevel@tonic-gate0 long 0x464f524d audio data: 396*7c478bd9Sstevel@tonic-gate>26 short 0x0008 8-bit linear PCM, 397*7c478bd9Sstevel@tonic-gate>26 short 0x0010 16-bit linear PCM, 398*7c478bd9Sstevel@tonic-gate>20 short 0x0001 mono 399*7c478bd9Sstevel@tonic-gate>20 short 0x0002 stereo 400*7c478bd9Sstevel@tonic-gate# .aiff little-endian entries, starting with long value for the string "FORM" 401*7c478bd9Sstevel@tonic-gate0 long 0x4d524f46 audio data: 402*7c478bd9Sstevel@tonic-gate>26 short 0x0800 8-bit linear PCM, 403*7c478bd9Sstevel@tonic-gate>26 short 0x1000 16-bit linear PCM, 404*7c478bd9Sstevel@tonic-gate>20 short 0x0100 mono 405*7c478bd9Sstevel@tonic-gate>20 short 0x0200 stereo 406*7c478bd9Sstevel@tonic-gate# .mid files are always big-endian 407*7c478bd9Sstevel@tonic-gate# .mid big-endian entries, starting with long value for the string "MThd" 408*7c478bd9Sstevel@tonic-gate0 long 0x4d546864 MIDI data: 409*7c478bd9Sstevel@tonic-gate>8 short x type %u, 410*7c478bd9Sstevel@tonic-gate>10 short x %u track(s) 411*7c478bd9Sstevel@tonic-gate# .mid little-endian entry (the string "MThd") 412*7c478bd9Sstevel@tonic-gate# can't translate big-endian type and track information 413*7c478bd9Sstevel@tonic-gate0 long 0x6468544d MIDI data 414*7c478bd9Sstevel@tonic-gate# 415*7c478bd9Sstevel@tonic-gate0 short 0x1010 PEX Binary Archive 416*7c478bd9Sstevel@tonic-gate# rasterfiles are big-endian 417*7c478bd9Sstevel@tonic-gate# big-endian rasterfile entries 418*7c478bd9Sstevel@tonic-gate0 long 0x59a66a95 rasterfile, 419*7c478bd9Sstevel@tonic-gate>4 long >0 %ld x 420*7c478bd9Sstevel@tonic-gate>8 long >0 %ld x 421*7c478bd9Sstevel@tonic-gate>12 long >0 %ld 422*7c478bd9Sstevel@tonic-gate>20 long 0 old format image 423*7c478bd9Sstevel@tonic-gate>20 long 1 standard format image 424*7c478bd9Sstevel@tonic-gate>20 long 2 run-length byte encoded image 425*7c478bd9Sstevel@tonic-gate>20 long 3 XRGB or RGB format image 426*7c478bd9Sstevel@tonic-gate>20 long 4 tiff format image 427*7c478bd9Sstevel@tonic-gate>20 long 5 iff (TAAC format) image 428*7c478bd9Sstevel@tonic-gate>20 long 0xffff experimental format image 429*7c478bd9Sstevel@tonic-gate# little-endian rasterfile entries 430*7c478bd9Sstevel@tonic-gate# cannot translate resolution stored as big-endian longs 431*7c478bd9Sstevel@tonic-gate0 long 0x956aa659 rasterfile, 432*7c478bd9Sstevel@tonic-gate>23 long 0 old format image 433*7c478bd9Sstevel@tonic-gate>23 long 1 standard format image 434*7c478bd9Sstevel@tonic-gate>23 long 2 run-length byte encoded image 435*7c478bd9Sstevel@tonic-gate>23 long 3 XRGB or RGB format image 436*7c478bd9Sstevel@tonic-gate>23 long 4 tiff format image 437*7c478bd9Sstevel@tonic-gate>23 long 5 iff (TAAC format) image 438*7c478bd9Sstevel@tonic-gate>20 long 0xffff experimental format image 439*7c478bd9Sstevel@tonic-gate0 long 0x884f5053 Interleaf fast-saved document 440*7c478bd9Sstevel@tonic-gate0 long 0x2a535441 Aster*x 441*7c478bd9Sstevel@tonic-gate>7 long 0x574f5244 Words Document 442*7c478bd9Sstevel@tonic-gate>7 long 0x47524150 Graphic 443*7c478bd9Sstevel@tonic-gate>7 long 0x53505245 Spreadsheet 444*7c478bd9Sstevel@tonic-gate>7 long 0x4d414352 Macro 445*7c478bd9Sstevel@tonic-gate0 long 0x32323738 Aster*x Version 2 446*7c478bd9Sstevel@tonic-gate>29 byte 0x36 Words Document 447*7c478bd9Sstevel@tonic-gate>29 byte 0x35 Graphic 448*7c478bd9Sstevel@tonic-gate>29 byte 0x32 Spreadsheet 449*7c478bd9Sstevel@tonic-gate>29 byte 0x38 Macro 450*7c478bd9Sstevel@tonic-gate4 string pgscriptver IslandWrite document 451*7c478bd9Sstevel@tonic-gate13 string DrawFile IslandDraw document 452*7c478bd9Sstevel@tonic-gate0 string P1 PBM ascii file 453*7c478bd9Sstevel@tonic-gate0 string P2 PGM ascii file 454*7c478bd9Sstevel@tonic-gate0 string P3 PPM ascii file 455*7c478bd9Sstevel@tonic-gate0 string P4 PBM raw file 456*7c478bd9Sstevel@tonic-gate0 string P5 PGM raw file 457*7c478bd9Sstevel@tonic-gate0 string P6 PPM raw file 458*7c478bd9Sstevel@tonic-gate0 string \115\115 TIFF file, big-endian 459*7c478bd9Sstevel@tonic-gate0 string \111\111 TIFF file, little-endian 460*7c478bd9Sstevel@tonic-gate0 string GIF87a GIF file, v87 461*7c478bd9Sstevel@tonic-gate0 string GIF89a GIF file, v89 462*7c478bd9Sstevel@tonic-gate0 string \377\330\377\340 JPEG file 463*7c478bd9Sstevel@tonic-gate0 string \377\330\377\341 JPEG file 464*7c478bd9Sstevel@tonic-gate0 string \377\330\377\356 JPG file 465*7c478bd9Sstevel@tonic-gate8 string ILBM IFF ILBM file 466*7c478bd9Sstevel@tonic-gate0 string \312\376\272\276 java class file 467*7c478bd9Sstevel@tonic-gate36 string acsp Kodak Color Management System, ICC Profile 468*7c478bd9Sstevel@tonic-gate0 string %PDF Adobe Portable Document Format (PDF) 469*7c478bd9Sstevel@tonic-gate>4 string -1.0 v1.0 470*7c478bd9Sstevel@tonic-gate>4 string -1.1 v1.1 471*7c478bd9Sstevel@tonic-gate>4 string -1.2 v1.2 472*7c478bd9Sstevel@tonic-gate>4 string -1.3 v1.3 473*7c478bd9Sstevel@tonic-gate>4 string -1.4 v1.4 474*7c478bd9Sstevel@tonic-gate>4 string -1.5 v1.5 475*7c478bd9Sstevel@tonic-gate0 string <html html document 476*7c478bd9Sstevel@tonic-gate0 string <HTML html document 477*7c478bd9Sstevel@tonic-gate0 string <Html html document 478*7c478bd9Sstevel@tonic-gate0 string <!doctype HTML html document 479*7c478bd9Sstevel@tonic-gate0 string <!doctype Html html document 480*7c478bd9Sstevel@tonic-gate0 string <!doctype html html document 481*7c478bd9Sstevel@tonic-gate0 string <!DOCTYPE HTML html document 482*7c478bd9Sstevel@tonic-gate0 string <!DOCTYPE Html html document 483*7c478bd9Sstevel@tonic-gate0 string <!DOCTYPE html html document 484*7c478bd9Sstevel@tonic-gate0 string <!Doctype HTML html document 485*7c478bd9Sstevel@tonic-gate0 string <!Doctype Html html document 486*7c478bd9Sstevel@tonic-gate0 string <!Doctype html html document 487*7c478bd9Sstevel@tonic-gate0 string <head html document 488*7c478bd9Sstevel@tonic-gate0 string <HEAD html document 489*7c478bd9Sstevel@tonic-gate0 string <Head html document 490*7c478bd9Sstevel@tonic-gate0 string <title html document 491*7c478bd9Sstevel@tonic-gate0 string <TITLE html document 492*7c478bd9Sstevel@tonic-gate0 string <Title html document 493*7c478bd9Sstevel@tonic-gate0 string <?xml XML document 494*7c478bd9Sstevel@tonic-gate0 string <?XML XML document 495*7c478bd9Sstevel@tonic-gate0 string <?Xml XML document 496*7c478bd9Sstevel@tonic-gate0 string \0211PNG PNG image data 497*7c478bd9Sstevel@tonic-gate0 string .RMF RealMedia file 498*7c478bd9Sstevel@tonic-gate0 string FlAsH-aRcHiVe Flash Archive 499*7c478bd9Sstevel@tonic-gate>13 string -1.0 1.0 500*7c478bd9Sstevel@tonic-gate>13 string -2.0 2.0 501*7c478bd9Sstevel@tonic-gate38 string application/vnd.sun.xml.writer StarOffice 7 Text Document 502*7c478bd9Sstevel@tonic-gate38 string application/vnd.sun.xml.calc StarOffice 7 Spreadsheet 503*7c478bd9Sstevel@tonic-gate38 string application/vnd.sun.xml.draw StarOffice 7 Drawing 504*7c478bd9Sstevel@tonic-gate38 string application/vnd.sun.xml.impress StarOffice 7 Presentation 505*7c478bd9Sstevel@tonic-gate38 string application/vnd.sun.xml.math StarOffice 7 Formula 506*7c478bd9Sstevel@tonic-gate38 string application/vnd.oasis.opendocument.chart OpenDocument Chart 507*7c478bd9Sstevel@tonic-gate38 string application/vnd.oasis.opendocument.database OpenDocument Database 508*7c478bd9Sstevel@tonic-gate38 string application/vnd.sun.xml.base OpenDocument Database 509*7c478bd9Sstevel@tonic-gate38 string application/vnd.oasis.opendocument.formula OpenDocument Formula 510*7c478bd9Sstevel@tonic-gate38 string application/vnd.oasis.opendocument.image OpenDocument Image 511*7c478bd9Sstevel@tonic-gate38 string application/vnd.oasis.opendocument.text-web HTML Document Template 512*7c478bd9Sstevel@tonic-gate38 string application/vnd.oasis.opendocument.text- OpenDocument 513*7c478bd9Sstevel@tonic-gate>78 string template Text Template 514*7c478bd9Sstevel@tonic-gate>78 string master Master Document 515*7c478bd9Sstevel@tonic-gate38 string application/vnd.oasis.opendocument.text OpenDocument Text 516*7c478bd9Sstevel@tonic-gate38 string application/vnd.oasis.opendocument.graphics OpenDocument Drawing 517*7c478bd9Sstevel@tonic-gate>81 string -template Template 518*7c478bd9Sstevel@tonic-gate38 string application/vnd.oasis.opendocument.presentation OpenDocument Presentation 519*7c478bd9Sstevel@tonic-gate>85 string -template Template 520*7c478bd9Sstevel@tonic-gate38 string application/vnd.oasis.opendocument.spreadsheet OpenDocument Spreadsheet 521*7c478bd9Sstevel@tonic-gate>84 string -template Template 522*7c478bd9Sstevel@tonic-gate0 string PK\003\004 ZIP archive 523*7c478bd9Sstevel@tonic-gate0 string MZ DOS executable (EXE) 524*7c478bd9Sstevel@tonic-gate0 string LZ DOS built-in 525*7c478bd9Sstevel@tonic-gate0 byte 0xe9 DOS executable (COM) 526*7c478bd9Sstevel@tonic-gate0 byte 0xeb DOS executable (COM) 527*7c478bd9Sstevel@tonic-gate24 long 60012 ufsdump archive file 528*7c478bd9Sstevel@tonic-gate0 string TZif zoneinfo timezone data file 529*7c478bd9Sstevel@tonic-gate0 string BZh bzip2 compressed data 530*7c478bd9Sstevel@tonic-gate>3 byte >47 , block size = %c00k 531*7c478bd9Sstevel@tonic-gate0 string SUNWcpch Sun C compiler precompiled header 532*7c478bd9Sstevel@tonic-gate0 string SUNWCpch Sun C++ compiler precompiled header 533*7c478bd9Sstevel@tonic-gate0 string \043\040PaCkAgE\040DaTaStReAm package datastream 534*7c478bd9Sstevel@tonic-gate0 short 0xcff1 CTF data file 535*7c478bd9Sstevel@tonic-gate0 string \177DOF DTrace DOF data file 536*7c478bd9Sstevel@tonic-gate0 string \177FCF fmd(1M) checkpoint file 537*7c478bd9Sstevel@tonic-gate0 string EFT\0 Fault tree file, 538*7c478bd9Sstevel@tonic-gate>4 ushort x v%u 539*7c478bd9Sstevel@tonic-gate>6 ushort x rev %u, 540*7c478bd9Sstevel@tonic-gate>8 ushort x from esc v%u 541*7c478bd9Sstevel@tonic-gate>10 ushort x rev %u 542