1b6cee71dSXin LI 2b6cee71dSXin LI#------------------------------------------------------------------------------ 3*48c779cdSXin LI# $File: erlang,v 1.7 2019/04/19 00:42:27 christos Exp $ 4b6cee71dSXin LI# erlang: file(1) magic for Erlang JAM and BEAM files 5*48c779cdSXin LI# URL: https://www.erlang.org/faq/x779.html#AEN812 6b6cee71dSXin LI 7b6cee71dSXin LI# OTP R3-R4 8b6cee71dSXin LI0 string \0177BEAM! Old Erlang BEAM file 9b6cee71dSXin LI>6 short >0 - version %d 10b6cee71dSXin LI 11b6cee71dSXin LI# OTP R5 and onwards 12b6cee71dSXin LI0 string FOR1 13b6cee71dSXin LI>8 string BEAM Erlang BEAM file 14b6cee71dSXin LI 15b6cee71dSXin LI# 4.2 version may have a copyright notice! 16b6cee71dSXin LI4 string Tue\ Jan\ 22\ 14:32:44\ MET\ 1991 Erlang JAM file - version 4.2 17b6cee71dSXin LI79 string Tue\ Jan\ 22\ 14:32:44\ MET\ 1991 Erlang JAM file - version 4.2 18b6cee71dSXin LI 19b6cee71dSXin LI4 string 1.0\ Fri\ Feb\ 3\ 09:55:56\ MET\ 1995 Erlang JAM file - version 4.3 20b6cee71dSXin LI 21b6cee71dSXin LI0 bequad 0x0000000000ABCDEF Erlang DETS file 22