xref: /freebsd/contrib/file/magic/Magdir/unknown (revision af23369a6deaaeb612ab266eb88b8bb8d560c322)
1
2#------------------------------------------------------------------------------
3# $File: unknown,v 1.8 2013/01/09 22:37:24 christos Exp $
4# unknown:  file(1) magic for unknown machines
5#
6# 0x107 is 0407, 0x108 is 0410, and 0x109 is 0411; those are all PDP-11
7# (executable, pure, and split I&D, respectively), but the PDP-11 version
8# doesn't have the "version %ld", which may be a bogus COFFism (I don't
9# think there was ever COFF for the PDP-11).
10#
11# 0x10B is 0413; that's VAX demand-paged, but this is a short, not a
12# long, as it would be on a VAX.  In any case, that could collide with
13# VAX demand-paged files, as the magic number is little-endian on those
14# binaries, so the first 16 bits of the file would contain 0x10B.
15#
16# Therefore, those entries are commented out.
17#
18# 0x10C is 0414 and 0x10E is 0416; those *are* unknown.
19#
20#0	short		0x107		unknown machine executable
21#>8	short		>0		not stripped
22#>15	byte		>0		- version %ld
23#0	short		0x108		unknown pure executable
24#>8	short		>0		not stripped
25#>15	byte		>0		- version %ld
26#0	short		0x109		PDP-11 separate I&D
27#>8	short		>0		not stripped
28#>15	byte		>0		- version %ld
29#0	short		0x10b		unknown pure executable
30#>8	short		>0		not stripped
31#>15	byte		>0		- version %ld
320	long		0x10c		unknown demand paged pure executable
33>16	long		>0		not stripped
340	long		0x10e		unknown readable demand paged pure executable
35