sgi 4.3 KB

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