2 #------------------------------------------------------------------------------
3 # clipper: file(1) magic for Intergraph (formerly Fairchild) Clipper.
5 # XXX - what byte order does the Clipper use?
7 # XXX - what's the "!" stuff:
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
14 # I shall assume it's ANDing the field with the first value and
15 # comparing it with the second, and rewrite it as:
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
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).
30 0 short 0575 CLIPPER COFF executable (VAX #)
31 >20 short 0407 (impure)
32 >20 short 0410 (5.2 compatible)
34 >20 short 0413 (demand paged)
35 >20 short 0443 (target shared library)
36 >12 long >0 not stripped
37 >22 short >0 - version %ld
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)
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 %ld
50 >48 long&01 01 alignment trap enabled
63 4 string pipe CLIPPER instruction trace
64 4 string prof CLIPPER instruction profile