file: update vendor branch to v5.04
[dragonfly.git] / contrib / file / magic / Magdir / alpha
1
2 #------------------------------------------------------------------------------
3 # $File: alpha,v 1.7 2009/09/19 16:28:07 christos Exp $
4 # alpha architecture description
5 #
6
7 0       leshort         0603            COFF format alpha
8 >22     leshort&030000  !020000         executable
9 >24     leshort         0410            pure
10 >24     leshort         0413            paged
11 >22     leshort&020000  !0              dynamically linked
12 >16     lelong          !0              not stripped
13 >16     lelong          0               stripped
14 >22     leshort&030000  020000          shared library
15 >24     leshort         0407            object
16 >27     byte            x               - version %d
17 >26     byte            x               \b.%d
18 >28     byte            x               \b-%d
19
20 # Basic recognition of Digital UNIX core dumps - Mike Bremford <mike@opac.bl.uk>
21 #
22 # The actual magic number is just "Core", followed by a 2-byte version
23 # number; however, treating any file that begins with "Core" as a Digital
24 # UNIX core dump file may produce too many false hits, so we include one
25 # byte of the version number as well; DU 5.0 appears only to be up to
26 # version 2.
27 #
28 0       string          Core\001        Alpha COFF format core dump (Digital UNIX)
29 >24     string          >\0             \b, from '%s'
30 0       string          Core\002        Alpha COFF format core dump (Digital UNIX)
31 >24     string          >\0             \b, from '%s'
32