xref: /minix3/external/bsd/file/dist/magic/magdir/digital (revision 84d9c625bfea59e274550651111ae9edfdc40fbd)
1835f6802SDirk Vogt
2835f6802SDirk Vogt#------------------------------------------------------------------------------
3*84d9c625SLionel Sambuc# $File: digital,v 1.11 2013/01/11 16:45:23 christos Exp $
4ef01931fSBen Gras#  Digital UNIX - Info
5ef01931fSBen Gras#
6ef01931fSBen Gras0	string	=!<arch>\n________64E	Alpha archive
7ef01931fSBen Gras>22	string	X			-- out of date
8ef01931fSBen Gras#
9835f6802SDirk Vogt
10835f6802SDirk Vogt0	leshort		0603
11*84d9c625SLionel Sambuc>24	leshort		0410		COFF format alpha pure
12*84d9c625SLionel Sambuc>24	leshort		0413		COFF format alpha demand paged
13*84d9c625SLionel Sambuc>>22	leshort&030000	!020000		executable
14*84d9c625SLionel Sambuc>>22	leshort&020000	!0		dynamically linked
15*84d9c625SLionel Sambuc>>16	lelong		!0		not stripped
16*84d9c625SLionel Sambuc>>16	lelong		0		stripped
17*84d9c625SLionel Sambuc>>27	byte		x		- version %d
18*84d9c625SLionel Sambuc>>26	byte		x		\b.%d
19*84d9c625SLionel Sambuc>>28	byte		x		\b-%d
20*84d9c625SLionel Sambuc>24	leshort		0407		COFF format alpha object
21*84d9c625SLionel Sambuc>>22	leshort&030000	020000		shared library
22*84d9c625SLionel Sambuc>>27	byte		x		- version %d
23*84d9c625SLionel Sambuc>>26	byte		x		\b.%d
24*84d9c625SLionel Sambuc>>28	byte		x		\b-%d
25835f6802SDirk Vogt
26835f6802SDirk Vogt# Basic recognition of Digital UNIX core dumps - Mike Bremford <mike@opac.bl.uk>
27835f6802SDirk Vogt#
28835f6802SDirk Vogt# The actual magic number is just "Core", followed by a 2-byte version
29835f6802SDirk Vogt# number; however, treating any file that begins with "Core" as a Digital
30835f6802SDirk Vogt# UNIX core dump file may produce too many false hits, so we include one
31835f6802SDirk Vogt# byte of the version number as well; DU 5.0 appears only to be up to
32835f6802SDirk Vogt# version 2.
33835f6802SDirk Vogt#
34835f6802SDirk Vogt0	string		Core\001	Alpha COFF format core dump (Digital UNIX)
35835f6802SDirk Vogt>24	string		>\0		\b, from '%s'
36835f6802SDirk Vogt0	string		Core\002	Alpha COFF format core dump (Digital UNIX)
37835f6802SDirk Vogt>24	string		>\0		\b, from '%s'
38ef01931fSBen Gras#
39ef01931fSBen Gras# The next is incomplete, we could tell more about this format,
40ef01931fSBen Gras# but its not worth it.
41ef01931fSBen Gras0	leshort		0x188	Alpha compressed COFF
42ef01931fSBen Gras0	leshort		0x18f	Alpha u-code object
43ef01931fSBen Gras#
44ef01931fSBen Gras#
45ef01931fSBen Gras# Some other interesting Digital formats,
46ef01931fSBen Gras0	string	\377\377\177		ddis/ddif
47ef01931fSBen Gras0	string	\377\377\174		ddis/dots archive
48ef01931fSBen Gras0	string	\377\377\176		ddis/dtif table data
49ef01931fSBen Gras0	string	\033c\033		LN03 output
50ef01931fSBen Gras0	long	04553207		X image
51ef01931fSBen Gras#
52ef01931fSBen Gras0	string	=!<PDF>!\n		profiling data file
53ef01931fSBen Gras#
54ef01931fSBen Gras# Locale data tables (MIPS and Alpha).
55ef01931fSBen Gras#
56ef01931fSBen Gras0	short		0x0501		locale data table
57ef01931fSBen Gras>6	short		0x24		for MIPS
58ef01931fSBen Gras>6	short		0x40		for Alpha
59