mach 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133
  1. #------------------------------------------------------------
  2. # $File: mach,v 1.12 2012/11/01 04:26:40 christos Exp $
  3. # Mach has two magic numbers, 0xcafebabe and 0xfeedface.
  4. # Unfortunately the first, cafebabe, is shared with
  5. # Java ByteCode, so they are both handled in the file "cafebabe".
  6. # The "feedface" ones are handled herein.
  7. #------------------------------------------------------------
  8. 0 name mach-o-bed
  9. >0 byte 0xcf 64-bit
  10. >4 belong <0
  11. >>4 belong x architecture=%ld
  12. >4 belong 1
  13. >>8 belong 0 vax
  14. >>8 belong 1 vax11/780
  15. >>8 belong 2 vax11/785
  16. >>8 belong 3 vax11/750
  17. >>8 belong 4 vax11/730
  18. >>8 belong 5 uvaxI
  19. >>8 belong 6 uvaxII
  20. >>8 belong 7 vax8200
  21. >>8 belong 8 vax8500
  22. >>8 belong 9 vax8600
  23. >>8 belong 10 vax8650
  24. >>8 belong 11 vax8800
  25. >>8 belong 12 uvaxIII
  26. >4 belong 2 romp
  27. >4 belong 3 architecture=3
  28. >4 belong 4 ns32032
  29. >4 belong 5 ns32332
  30. >4 belong 6 m68k
  31. >4 belong 7
  32. >>8 belong 3 i386
  33. >>8 belong 4 i486
  34. >>8 belong 132 i486sx
  35. >>8 belong 5 i586
  36. >>8 belong 8 pentium_3
  37. >>8 belong 9 pentiumM
  38. >>8 belong 10 pentiumIV
  39. >>8 belong 11 itanium
  40. >>8 belong 12 xeon
  41. >>8 belong 14 pentiumIV_M
  42. >>8 belong 15 itanium2
  43. >>8 belong 21 pentiumpro
  44. >>8 belong 23 pentiumIII
  45. >>8 belong 24 pentium_3_M
  46. >>8 belong 25 pentiumV
  47. >>8 belong 26 xeon_mp
  48. >>8 belong 40 pentium_3_xeon
  49. >>8 belong 113 celeron
  50. >>8 belong 119 celeron_mobile
  51. >4 belong 8 mips
  52. >>8 belong 1 R2300
  53. >>8 belong 2 R2600
  54. >>8 belong 3 R2800
  55. >>8 belong 4 R2000a
  56. >>8 belong 5 R2000
  57. >>8 belong 6 R3000a
  58. >>8 belong 7 R3000
  59. >4 belong 9 ns32532
  60. >4 belong 10 mc98000
  61. >4 belong 11 hppa
  62. >>8 belong 0 7100
  63. >>8 belong 1 7100LC
  64. >4 belong 12
  65. >>8 belong 0 arm
  66. >>8 belong 1 arm_v4t
  67. >>8 belong 2 arm_v6
  68. >>8 belong 3 arm_v5tej
  69. >>8 belong 4 arm_xscale
  70. >>8 belong 5 arm_v7
  71. >>8 belong 6 arm_v7f
  72. >>8 belong 7 arm_v7k
  73. >4 belong 13
  74. >>8 belong 0 mc88000
  75. >>8 belong 1 mc88100
  76. >>8 belong 2 mc88110
  77. >4 belong 14 sparc
  78. >4 belong 15 i860g
  79. >4 belong 16 alpha
  80. >4 belong 17 rs6000
  81. >4 belong 18
  82. >>8 belong 0 ppc
  83. >>8 belong 1 ppc_601
  84. >>8 belong 2 ppc_602
  85. >>8 belong 3 ppc_603
  86. >>8 belong 4 ppc_603e
  87. >>8 belong 5 ppc_603ev
  88. >>8 belong 6 ppc_604
  89. >>8 belong 7 ppc_604e
  90. >>8 belong 8 ppc_620
  91. >>8 belong 9 ppc_650
  92. >>8 belong 10 ppc_7400
  93. >>8 belong 11 ppc_7450
  94. >>8 belong 100 ppc_970
  95. >4 belong 16777223
  96. >>8 belong 3 x86_64
  97. >>8 belong 4 x86_64_arch1
  98. >4 belong 16777234
  99. >>8 belong 0 ppc64
  100. >>8 belong 1 ppc64_601
  101. >>8 belong 2 ppc64_602
  102. >>8 belong 3 ppc64_603
  103. >>8 belong 4 ppc64_603e
  104. >>8 belong 5 ppc64_603ev
  105. >>8 belong 6 ppc64_604
  106. >>8 belong 7 ppc64_604e
  107. >>8 belong 8 ppc64_620
  108. >>8 belong 9 ppc64_650
  109. >>8 belong 10 ppc64_7400
  110. >>8 belong 11 ppc64_7450
  111. >>8 belong 100 ppc64_970
  112. >4 belong >16777234
  113. >>4 belong x architecture=%ld
  114. >12 belong 1 object
  115. >12 belong 2 executable
  116. >12 belong 3 fixed virtual memory shared library
  117. >12 belong 4 core
  118. >12 belong 5 preload executable
  119. >12 belong 6 dynamically linked shared library
  120. >12 belong 7 dynamic linker
  121. >12 belong 8 bundle
  122. >12 belong 9 dynamically linked shared library stub
  123. >12 belong >9
  124. >>12 belong x filetype=%ld
  125. #
  126. 0 lelong&0xfffffffe 0xfeedface Mach-O
  127. >0 use \^mach-o-be
  128. 0 belong&0xfffffffe 0xfeedface Mach-O
  129. >0 use mach-o-be