]>
Commit | Line | Data |
---|---|---|
1 | ||
2 | #------------------------------------------------------------------------------ | |
3 | # sgi: file(1) magic for Silicon Graphics (MIPS, IRIS, IRIX, etc.) | |
4 | # Dec Ultrix (MIPS) | |
5 | # all of SGI's *current* machines and OSes run in big-endian mode on the | |
6 | # MIPS machines, as far as I know. | |
7 | # | |
8 | # XXX - what is the blank "-" line? | |
9 | # | |
10 | # kbd file definitions | |
11 | 0 string kbd!map kbd map file | |
12 | >8 byte >0 Ver %d: | |
13 | >10 short >0 with %d table(s) | |
14 | 0 belong 0407 old SGI 68020 executable | |
15 | 0 belong 0410 old SGI 68020 pure executable | |
16 | 0 beshort 0x8765 disk quotas file | |
17 | 0 beshort 0x0506 IRIS Showcase file | |
18 | >2 byte 0x49 - | |
19 | >3 byte x - version %ld | |
20 | 0 beshort 0x0226 IRIS Showcase template | |
21 | >2 byte 0x63 - | |
22 | >3 byte x - version %ld | |
23 | 0 belong 0x5343464d IRIS Showcase file | |
24 | >4 byte x - version %ld | |
25 | 0 belong 0x5443464d IRIS Showcase template | |
26 | >4 byte x - version %ld | |
27 | 0 belong 0xdeadbabe IRIX Parallel Arena | |
28 | >8 belong >0 - version %ld | |
29 | # | |
30 | 0 beshort 0x0160 MIPSEB COFF executable | |
31 | >20 beshort 0407 (impure) | |
32 | >20 beshort 0410 (swapped) | |
33 | >20 beshort 0413 (paged) | |
34 | >8 belong >0 not stripped | |
35 | >8 belong 0 stripped | |
36 | >22 byte x - version %ld | |
37 | >23 byte x \b.%ld | |
38 | # | |
39 | 0 beshort 0x0162 MIPSEL COFF executable | |
40 | >20 beshort 0407 (impure) | |
41 | >20 beshort 0410 (swapped) | |
42 | >20 beshort 0413 (paged) | |
43 | >8 belong >0 not stripped | |
44 | >8 belong 0 stripped | |
45 | >23 byte x - version %d | |
46 | >22 byte x \b.%ld | |
47 | # | |
48 | 0 beshort 0x6001 MIPSEB-LE COFF executable | |
49 | >20 beshort 03401 (impure) | |
50 | >20 beshort 04001 (swapped) | |
51 | >20 beshort 05401 (paged) | |
52 | >8 belong >0 not stripped | |
53 | >8 belong 0 stripped | |
54 | >23 byte x - version %d | |
55 | >22 byte x \b.%ld | |
56 | # | |
57 | 0 beshort 0x6201 MIPSEL-LE COFF executable | |
58 | >20 beshort 03401 (impure) | |
59 | >20 beshort 04001 (swapped) | |
60 | >20 beshort 05401 (paged) | |
61 | >8 belong >0 not stripped | |
62 | >8 belong 0 stripped | |
63 | >23 byte x - version %ld | |
64 | >22 byte x \b.%ld | |
65 | # | |
66 | # MIPS 2 additions | |
67 | # | |
68 | 0 beshort 0x0163 MIPSEB MIPS-II COFF executable | |
69 | >20 beshort 0407 (impure) | |
70 | >20 beshort 0410 (swapped) | |
71 | >20 beshort 0413 (paged) | |
72 | >8 belong >0 not stripped | |
73 | >8 belong 0 stripped | |
74 | >22 byte x - version %ld | |
75 | >23 byte x \b.%ld | |
76 | # | |
77 | 0 beshort 0x0166 MIPSEL MIPS-II COFF executable | |
78 | >20 beshort 0407 (impure) | |
79 | >20 beshort 0410 (swapped) | |
80 | >20 beshort 0413 (paged) | |
81 | >8 belong >0 not stripped | |
82 | >8 belong 0 stripped | |
83 | >22 byte x - version %ld | |
84 | >23 byte x \b.%ld | |
85 | # | |
86 | 0 beshort 0x6301 MIPSEB-LE MIPS-II COFF executable | |
87 | >20 beshort 03401 (impure) | |
88 | >20 beshort 04001 (swapped) | |
89 | >20 beshort 05401 (paged) | |
90 | >8 belong >0 not stripped | |
91 | >8 belong 0 stripped | |
92 | >23 byte x - version %ld | |
93 | >22 byte x \b.%ld | |
94 | # | |
95 | 0 beshort 0x6601 MIPSEL-LE MIPS-II COFF executable | |
96 | >20 beshort 03401 (impure) | |
97 | >20 beshort 04001 (swapped) | |
98 | >20 beshort 05401 (paged) | |
99 | >8 belong >0 not stripped | |
100 | >8 belong 0 stripped | |
101 | >23 byte x - version %ld | |
102 | >22 byte x \b.%ld | |
103 | # | |
104 | # MIPS 3 additions | |
105 | # | |
106 | 0 beshort 0x0140 MIPSEB MIPS-III COFF executable | |
107 | >20 beshort 0407 (impure) | |
108 | >20 beshort 0410 (swapped) | |
109 | >20 beshort 0413 (paged) | |
110 | >8 belong >0 not stripped | |
111 | >8 belong 0 stripped | |
112 | >22 byte x - version %ld | |
113 | >23 byte x \b.%ld | |
114 | # | |
115 | 0 beshort 0x0142 MIPSEL MIPS-III COFF executable | |
116 | >20 beshort 0407 (impure) | |
117 | >20 beshort 0410 (swapped) | |
118 | >20 beshort 0413 (paged) | |
119 | >8 belong >0 not stripped | |
120 | >8 belong 0 stripped | |
121 | >22 byte x - version %ld | |
122 | >23 byte x \b.%ld | |
123 | # | |
124 | 0 beshort 0x4001 MIPSEB-LE MIPS-III COFF executable | |
125 | >20 beshort 03401 (impure) | |
126 | >20 beshort 04001 (swapped) | |
127 | >20 beshort 05401 (paged) | |
128 | >8 belong >0 not stripped | |
129 | >8 belong 0 stripped | |
130 | >23 byte x - version %ld | |
131 | >22 byte x \b.%ld | |
132 | # | |
133 | 0 beshort 0x4201 MIPSEL-LE MIPS-III COFF executable | |
134 | >20 beshort 03401 (impure) | |
135 | >20 beshort 04001 (swapped) | |
136 | >20 beshort 05401 (paged) | |
137 | >8 belong >0 not stripped | |
138 | >8 belong 0 stripped | |
139 | >23 byte x - version %ld | |
140 | >22 byte x \b.%ld | |
141 | # | |
142 | 0 beshort 0x180 MIPSEB Ucode | |
143 | 0 beshort 0x182 MIPSEL Ucode | |
144 | # 32bit core file | |
145 | 0 belong 0xdeadadb0 IRIX core dump | |
146 | >4 belong 1 of | |
147 | >16 string >\0 '%s' | |
148 | # 64bit core file | |
149 | 0 belong 0xdeadad40 IRIX 64-bit core dump | |
150 | >4 belong 1 of | |
151 | >16 string >\0 '%s' | |
152 | # New style crash dump file | |
153 | 0 string \x43\x72\x73\x68\x44\x75\x6d\x70 IRIX vmcore dump of | |
154 | >36 string >\0 '%s' | |
155 | # Trusted IRIX info | |
156 | 0 string SGIAUDIT SGI Audit file | |
157 | >8 byte x - version %d | |
158 | >9 byte x \b.%ld | |
159 | # Are these three SGI-based file types or general ones? | |
160 | 0 string WNGZWZSC Wingz compiled script | |
161 | 0 string WNGZWZSS Wingz spreadsheet | |
162 | 0 string WNGZWZHP Wingz help file | |
163 | # | |
164 | 0 string \#Inventor V IRIS Inventor 1.0 file | |
165 | 0 string \#Inventor V2 Open Inventor 2.0 file | |
166 | # XXX - I don't know what next thing is! It is likely to be an image | |
167 | # (or movie) format | |
168 | 0 string glfHeadMagic(); GLF_TEXT | |
169 | 4 belong 0x41010000 GLF_BINARY_LSB_FIRST | |
170 | 4 belong 0x00000141 GLF_BINARY_MSB_FIRST |