clipper 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. #------------------------------------------------------------------------------
  2. # clipper: file(1) magic for Intergraph (formerly Fairchild) Clipper.
  3. #
  4. # XXX - what byte order does the Clipper use?
  5. #
  6. # XXX - what's the "!" stuff:
  7. #
  8. # >18 short !074000,000000 C1 R1
  9. # >18 short !074000,004000 C2 R1
  10. # >18 short !074000,010000 C3 R1
  11. # >18 short !074000,074000 TEST
  12. #
  13. # I shall assume it's ANDing the field with the first value and
  14. # comparing it with the second, and rewrite it as:
  15. #
  16. # >18 short&074000 000000 C1 R1
  17. # >18 short&074000 004000 C2 R1
  18. # >18 short&074000 010000 C3 R1
  19. # >18 short&074000 074000 TEST
  20. #
  21. # as SVR3.1's "file" doesn't support anything of the "!074000,000000"
  22. # sort, nor does SunOS 4.x, so either it's something Intergraph added
  23. # in CLIX, or something AT&T added in SVR3.2 or later, or something
  24. # somebody else thought was a good idea; it's not documented in the
  25. # man page for this version of "magic", nor does it appear to be
  26. # implemented (at least not after I blew off the bogus code to turn
  27. # old-style "&"s into new-style "&"s, which just didn't work at all).
  28. #
  29. 0 short 0575 CLIPPER COFF executable (VAX #)
  30. >20 short 0407 (impure)
  31. >20 short 0410 (5.2 compatible)
  32. >20 short 0411 (pure)
  33. >20 short 0413 (demand paged)
  34. >20 short 0443 (target shared library)
  35. >12 long >0 not stripped
  36. >22 short >0 - version %ld
  37. 0 short 0577 CLIPPER COFF executable
  38. >18 short&074000 000000 C1 R1
  39. >18 short&074000 004000 C2 R1
  40. >18 short&074000 010000 C3 R1
  41. >18 short&074000 074000 TEST
  42. >20 short 0407 (impure)
  43. >20 short 0410 (pure)
  44. >20 short 0411 (separate I&D)
  45. >20 short 0413 (paged)
  46. >20 short 0443 (target shared library)
  47. >12 long >0 not stripped
  48. >22 short >0 - version %ld
  49. >48 long&01 01 alignment trap enabled
  50. >52 byte 1 -Ctnc
  51. >52 byte 2 -Ctsw
  52. >52 byte 3 -Ctpw
  53. >52 byte 4 -Ctcb
  54. >53 byte 1 -Cdnc
  55. >53 byte 2 -Cdsw
  56. >53 byte 3 -Cdpw
  57. >53 byte 4 -Cdcb
  58. >54 byte 1 -Csnc
  59. >54 byte 2 -Cssw
  60. >54 byte 3 -Cspw
  61. >54 byte 4 -Cscb
  62. 4 string pipe CLIPPER instruction trace
  63. 4 string prof CLIPPER instruction profile