xref: /freebsd/contrib/file/magic/Magdir/erlang (revision dd41de95a84d979615a2ef11df6850622bf6184e)
1
2#------------------------------------------------------------------------------
3# $File: erlang,v 1.7 2019/04/19 00:42:27 christos Exp $
4# erlang:  file(1) magic for Erlang JAM and BEAM files
5# URL:  https://www.erlang.org/faq/x779.html#AEN812
6
7# OTP R3-R4
80	string	\0177BEAM!	Old Erlang BEAM file
9>6	short	>0		- version %d
10
11# OTP R5 and onwards
120	string	FOR1
13>8	string	BEAM		Erlang BEAM file
14
15# 4.2 version may have a copyright notice!
164	string	Tue\ Jan\ 22\ 14:32:44\ MET\ 1991	Erlang JAM file - version 4.2
1779	string	Tue\ Jan\ 22\ 14:32:44\ MET\ 1991	Erlang JAM file - version 4.2
18
194	string	1.0\ Fri\ Feb\ 3\ 09:55:56\ MET\ 1995	Erlang JAM file - version 4.3
20
210	bequad	0x0000000000ABCDEF	Erlang DETS file
22