kernel: Fix some boolean_t vs. int confusion.
[dragonfly.git] / contrib / file / magic / Magdir / digital
1
2 #------------------------------------------------------------------------------
3 # $File: digital,v 1.10 2011/05/03 01:44:17 christos Exp $
4 #  Digital UNIX - Info
5 #
6 0       string  =!<arch>\n________64E   Alpha archive
7 >22     string  X                       -- out of date
8 #
9
10 0       leshort         0603
11 >>24    leshort         0410            COFF format alpha pure
12 >>24    leshort         0413            COFF format alpha demand paged
13 >>>22   leshort&030000  !020000         executable
14 >>>22   leshort&020000  !0              dynamically linked
15 >>>16   lelong          !0              not stripped
16 >>>16   lelong          0               stripped
17 >>>27   byte            x               - version %d
18 >>>26   byte            x               \b.%d
19 >>>28   byte            x               \b-%d
20 >>24    leshort         0407            COFF format alpha object
21 >>>22   leshort&030000  020000          shared library
22 >>>27   byte            x               - version %d
23 >>>26   byte            x               \b.%d
24 >>>28   byte            x               \b-%d
25
26 # Basic recognition of Digital UNIX core dumps - Mike Bremford <mike@opac.bl.uk>
27 #
28 # The actual magic number is just "Core", followed by a 2-byte version
29 # number; however, treating any file that begins with "Core" as a Digital
30 # UNIX core dump file may produce too many false hits, so we include one
31 # byte of the version number as well; DU 5.0 appears only to be up to
32 # version 2.
33 #
34 0       string          Core\001        Alpha COFF format core dump (Digital UNIX)
35 >24     string          >\0             \b, from '%s'
36 0       string          Core\002        Alpha COFF format core dump (Digital UNIX)
37 >24     string          >\0             \b, from '%s'
38 #
39 # The next is incomplete, we could tell more about this format,
40 # but its not worth it.
41 0       leshort         0x188   Alpha compressed COFF
42 0       leshort         0x18f   Alpha u-code object
43 #
44 #
45 # Some other interesting Digital formats,
46 0       string  \377\377\177            ddis/ddif
47 0       string  \377\377\174            ddis/dots archive
48 0       string  \377\377\176            ddis/dtif table data
49 0       string  \033c\033               LN03 output
50 0       long    04553207                X image
51 #
52 0       string  =!<PDF>!\n              profiling data file
53 #
54 # Locale data tables (MIPS and Alpha).
55 #
56 0       short           0x0501          locale data table
57 >6      short           0x24            for MIPS
58 >6      short           0x40            for Alpha