179343712SPeter Avalos 279343712SPeter Avalos#------------------------------------------------------------------------------ 36fca56fbSSascha Wildner# $File: erlang,v 1.7 2019/04/19 00:42:27 christos Exp $ 479343712SPeter Avalos# erlang: file(1) magic for Erlang JAM and BEAM files 56fca56fbSSascha Wildner# URL: https://www.erlang.org/faq/x779.html#AEN812 679343712SPeter Avalos 779343712SPeter Avalos# OTP R3-R4 879343712SPeter Avalos0 string \0177BEAM! Old Erlang BEAM file 979343712SPeter Avalos>6 short >0 - version %d 1079343712SPeter Avalos 1179343712SPeter Avalos# OTP R5 and onwards 1279343712SPeter Avalos0 string FOR1 1379343712SPeter Avalos>8 string BEAM Erlang BEAM file 1479343712SPeter Avalos 1579343712SPeter Avalos# 4.2 version may have a copyright notice! 1679343712SPeter Avalos4 string Tue\ Jan\ 22\ 14:32:44\ MET\ 1991 Erlang JAM file - version 4.2 1779343712SPeter Avalos79 string Tue\ Jan\ 22\ 14:32:44\ MET\ 1991 Erlang JAM file - version 4.2 1879343712SPeter Avalos 1979343712SPeter Avalos4 string 1.0\ Fri\ Feb\ 3\ 09:55:56\ MET\ 1995 Erlang JAM file - version 4.3 20*e4d4ce0cSPeter Avalos 21*e4d4ce0cSPeter Avalos0 bequad 0x0000000000ABCDEF Erlang DETS file 22