1226048Sobrien
2226048Sobrien#------------------------------------------------------------------------------
3267843Sdelphij# $File: digital,v 1.11 2013/01/11 16:45:23 christos Exp $
468349Sobrien#  Digital UNIX - Info
568349Sobrien#
6159764Sobrien0	string	=!<arch>\n________64E	Alpha archive
768349Sobrien>22	string	X			-- out of date
868349Sobrien#
9226048Sobrien
10226048Sobrien0	leshort		0603
11267843Sdelphij>24	leshort		0410		COFF format alpha pure
12267843Sdelphij>24	leshort		0413		COFF format alpha demand paged
13267843Sdelphij>>22	leshort&030000	!020000		executable
14267843Sdelphij>>22	leshort&020000	!0		dynamically linked
15267843Sdelphij>>16	lelong		!0		not stripped
16267843Sdelphij>>16	lelong		0		stripped
17267843Sdelphij>>27	byte		x		- version %d
18267843Sdelphij>>26	byte		x		\b.%d
19267843Sdelphij>>28	byte		x		\b-%d
20267843Sdelphij>24	leshort		0407		COFF format alpha object
21267843Sdelphij>>22	leshort&030000	020000		shared library
22267843Sdelphij>>27	byte		x		- version %d
23267843Sdelphij>>26	byte		x		\b.%d
24267843Sdelphij>>28	byte		x		\b-%d
25226048Sobrien
26226048Sobrien# Basic recognition of Digital UNIX core dumps - Mike Bremford <mike@opac.bl.uk>
2768349Sobrien#
28226048Sobrien# The actual magic number is just "Core", followed by a 2-byte version
29226048Sobrien# number; however, treating any file that begins with "Core" as a Digital
30226048Sobrien# UNIX core dump file may produce too many false hits, so we include one
31226048Sobrien# byte of the version number as well; DU 5.0 appears only to be up to
32226048Sobrien# version 2.
33226048Sobrien#
34226048Sobrien0	string		Core\001	Alpha COFF format core dump (Digital UNIX)
35226048Sobrien>24	string		>\0		\b, from '%s'
36226048Sobrien0	string		Core\002	Alpha COFF format core dump (Digital UNIX)
37226048Sobrien>24	string		>\0		\b, from '%s'
38226048Sobrien#
3968349Sobrien# The next is incomplete, we could tell more about this format,
4068349Sobrien# but its not worth it.
4168349Sobrien0	leshort		0x188	Alpha compressed COFF
4268349Sobrien0	leshort		0x18f	Alpha u-code object
4368349Sobrien#
4468349Sobrien#
4568349Sobrien# Some other interesting Digital formats,
4668349Sobrien0	string	\377\377\177		ddis/ddif
4768349Sobrien0	string	\377\377\174		ddis/dots archive
4868349Sobrien0	string	\377\377\176		ddis/dtif table data
4968349Sobrien0	string	\033c\033		LN03 output
5068349Sobrien0	long	04553207		X image
5168349Sobrien#
52159764Sobrien0	string	=!<PDF>!\n		profiling data file
5368349Sobrien#
5468349Sobrien# Locale data tables (MIPS and Alpha).
5568349Sobrien#
5668349Sobrien0	short		0x0501		locale data table
5768349Sobrien>6	short		0x24		for MIPS
5868349Sobrien>6	short		0x40		for Alpha
59