166 lines
4.3 KiB
Plaintext
166 lines
4.3 KiB
Plaintext
|
||
#------------------------------------------------------------------------------
|
||
# sgi: file(1) magic for Silicon Graphics (MIPS, IRIS, IRIX, etc.)
|
||
#
|
||
# all of SGI's *current* machines and OSes run in big-endian mode on the
|
||
# MIPS machines, as far as I know.
|
||
#
|
||
# XXX - what is the blank "-" line?
|
||
#
|
||
0 belong 0407 old SGI 68020 executable
|
||
0 belong 0410 old SGI 68020 pure executable
|
||
0 beshort 0x8765 disk quotas file
|
||
0 beshort 0x0506 IRIS Showcase file
|
||
>2 byte 0x49 -
|
||
>3 byte x - version %ld
|
||
0 beshort 0x0226 IRIS Showcase template
|
||
>2 byte 0x63 -
|
||
>3 byte x - version %ld
|
||
0 belong 0x5343464d IRIS Showcase file
|
||
>4 byte x - version %ld
|
||
0 belong 0x5443464d IRIS Showcase template
|
||
>4 byte x - version %ld
|
||
0 belong 0xdeadbabe IRIX Parallel Arena
|
||
>8 belong >0 - version %ld
|
||
#
|
||
0 beshort 0x0160 MIPSEB COFF executable
|
||
>20 beshort 0407 (impure)
|
||
>20 beshort 0410 (swapped)
|
||
>20 beshort 0413 (paged)
|
||
>8 belong >0 not stripped
|
||
>8 belong 0 stripped
|
||
>22 byte x - version %ld
|
||
>23 byte x .%ld
|
||
#
|
||
0 beshort 0x0162 MIPSEL COFF executable
|
||
>20 beshort 0407 (impure)
|
||
>20 beshort 0410 (swapped)
|
||
>20 beshort 0413 (paged)
|
||
>8 belong >0 not stripped
|
||
>8 belong 0 stripped
|
||
>23 byte x - version %d
|
||
>22 byte x .%ld
|
||
#
|
||
0 beshort 0x6001 MIPSEB-LE COFF executable
|
||
>20 beshort 03401 (impure)
|
||
>20 beshort 04001 (swapped)
|
||
>20 beshort 05401 (paged)
|
||
>8 belong >0 not stripped
|
||
>8 belong 0 stripped
|
||
>22 byte x - version %d
|
||
>23 byte x .%ld
|
||
#
|
||
0 beshort 0x6201 MIPSEL-LE COFF executable
|
||
>20 beshort 03401 (impure)
|
||
>20 beshort 04001 (swapped)
|
||
>20 beshort 05401 (paged)
|
||
>8 belong >0 not stripped
|
||
>8 belong 0 stripped
|
||
>22 byte x - version %ld
|
||
>23 byte x .%ld
|
||
#
|
||
# MIPS 2 additions
|
||
#
|
||
0 beshort 0x0163 MIPSEB MIPS-II COFF executable
|
||
>20 beshort 0407 (impure)
|
||
>20 beshort 0410 (swapped)
|
||
>20 beshort 0413 (paged)
|
||
>8 belong >0 not stripped
|
||
>8 belong 0 stripped
|
||
>22 byte x - version %ld
|
||
>23 byte x .%ld
|
||
#
|
||
0 beshort 0x0166 MIPSEL MIPS-II COFF executable
|
||
>20 beshort 0407 (impure)
|
||
>20 beshort 0410 (swapped)
|
||
>20 beshort 0413 (paged)
|
||
>8 belong >0 not stripped
|
||
>8 belong 0 stripped
|
||
>22 byte x - version %ld
|
||
>23 byte x .%ld
|
||
#
|
||
0 beshort 0x6301 MIPSEB-LE MIPS-II COFF executable
|
||
>20 beshort 03401 (impure)
|
||
>20 beshort 04001 (swapped)
|
||
>20 beshort 05401 (paged)
|
||
>8 belong >0 not stripped
|
||
>8 belong 0 stripped
|
||
>23 byte x - version %ld
|
||
>23 byte x .%ld
|
||
#
|
||
0 beshort 0x6601 MIPSEL-LE MIPS-II COFF executable
|
||
>20 beshort 03401 (impure)
|
||
>20 beshort 04001 (swapped)
|
||
>20 beshort 05401 (paged)
|
||
>8 belong >0 not stripped
|
||
>8 belong 0 stripped
|
||
>23 byte x - version %ld
|
||
>23 byte x .%ld
|
||
#
|
||
# MIPS 3 additions
|
||
#
|
||
0 beshort 0x0140 MIPSEB MIPS-III COFF executable
|
||
>20 beshort 0407 (impure)
|
||
>20 beshort 0410 (swapped)
|
||
>20 beshort 0413 (paged)
|
||
>8 belong >0 not stripped
|
||
>8 belong 0 stripped
|
||
>22 byte x - version %ld
|
||
>23 byte x .%ld
|
||
#
|
||
0 beshort 0x0142 MIPSEL MIPS-III COFF executable
|
||
>20 beshort 0407 (impure)
|
||
>20 beshort 0410 (swapped)
|
||
>20 beshort 0413 (paged)
|
||
>8 belong >0 not stripped
|
||
>8 belong 0 stripped
|
||
>22 byte x - version %ld
|
||
>23 byte x .%ld
|
||
#
|
||
0 beshort 0x4001 MIPSEB-LE MIPS-III COFF executable
|
||
>20 beshort 03401 (impure)
|
||
>20 beshort 04001 (swapped)
|
||
>20 beshort 05401 (paged)
|
||
>8 belong >0 not stripped
|
||
>8 belong 0 stripped
|
||
>23 byte x - version %ld
|
||
>23 byte x .%ld
|
||
#
|
||
0 beshort 0x4201 MIPSEL-LE MIPS-III COFF executable
|
||
>20 beshort 03401 (impure)
|
||
>20 beshort 04001 (swapped)
|
||
>20 beshort 05401 (paged)
|
||
>8 belong >0 not stripped
|
||
>8 belong 0 stripped
|
||
>23 byte x - version %ld
|
||
>23 byte x .%ld
|
||
#
|
||
0 beshort 0x180 MIPSEB Ucode
|
||
0 beshort 0x182 MIPSEL Ucode
|
||
# 32bit core file
|
||
0 belong 0xdeadadb0 IRIX core dump
|
||
>4 belong 1 of
|
||
>16 string >\0 '%s'
|
||
# 64bit core file
|
||
0 belong 0xdeadad40 IRIX 64-bit core dump
|
||
>4 belong 1 of
|
||
>16 string >\0 '%s'
|
||
# New style crash dump file
|
||
0 string \x43\x72\x73\x68\x44\x75\x6d\x70 IRIX vmcore dump of
|
||
>36 string >\0 '%s'
|
||
# Trusted IRIX info
|
||
0 string SGIAUDIT SGI Audit file
|
||
>8 byte x - version %d
|
||
>9 byte x .%ld
|
||
# Are these three SGI-based file types or general ones?
|
||
0 string WNGZWZSC Wingz compiled script
|
||
0 string WNGZWZSS Wingz spreadsheet
|
||
0 string WNGZWZHP Wingz help file
|
||
#
|
||
0 string \#Inventor V IRIS Inventor file
|
||
# XXX - I don't know what next thing is! It is likely to be an image
|
||
# (or movie) format
|
||
0 string glfHeadMagic(); GLF_TEXT
|
||
4 belong 0x41010000 GLF_BINARY_LSB_FIRST
|
||
4 belong 0x00000141 GLF_BINARY_MSB_FIRST
|