clipper 2.1 KB

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