beam_lib

beam_lib

Module

beam_lib

Module summary

An Interface To the BEAM File Format

Description

beam_lib provides an interface to files created by the BEAM compiler ("BEAM files"). The format used, a variant of "EA IFF 1985" Standard for Interchange Format Files, divides data into chunks.

Chunk data can be returned as binaries or as compound terms. Compound terms are returned when chunks are referenced by names (atoms) rather than identifiers (strings). The names recognized and the corresponding identifiers are:

  • abstract_code ("Abst")
  • attributes ("Attr")
  • compile_info ("CInf")
  • exports ("ExpT")
  • labeled_exports ("ExpT")
  • imports ("ImpT")
  • 登录查看完整内容