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