erlang 709 B

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