xref: /dragonfly/contrib/file/magic/Magdir/digital (revision d4ef6694)
1
2#------------------------------------------------------------------------------
3# $File: digital,v 1.11 2013/01/11 16:45:23 christos Exp $
4#  Digital UNIX - Info
5#
60	string	=!<arch>\n________64E	Alpha archive
7>22	string	X			-- out of date
8#
9
100	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#
340	string		Core\001	Alpha COFF format core dump (Digital UNIX)
35>24	string		>\0		\b, from '%s'
360	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.
410	leshort		0x188	Alpha compressed COFF
420	leshort		0x18f	Alpha u-code object
43#
44#
45# Some other interesting Digital formats,
460	string	\377\377\177		ddis/ddif
470	string	\377\377\174		ddis/dots archive
480	string	\377\377\176		ddis/dtif table data
490	string	\033c\033		LN03 output
500	long	04553207		X image
51#
520	string	=!<PDF>!\n		profiling data file
53#
54# Locale data tables (MIPS and Alpha).
55#
560	short		0x0501		locale data table
57>6	short		0x24		for MIPS
58>6	short		0x40		for Alpha
59