BEAM
Generated by scripts/gen-format-pages.py from docs/data/format-metadata/, FILE_FORMATS.csv and docs/formats-master.csv. Do not edit by hand: change the source, then run the script.
Erlang BEAM Preview.
At a glance
| Purpose | An Erlang BEAM file: a compiled module in an IFF container with atom, export, import, function and code chunks. |
| Extensions | .beam |
| Poka parser | poka-beam |
| Viewer | poka-tree-viewer |
| Depth tier | Parser with a shared viewer (see Depth tiers) |
| Breadth tier | B3 Core (see Breadth tiers) |
How much Poka reads
B3 Core. Only the main content type or types are decoded (for example geometry but not materials, layers or annotations, or only one version family). The list of gaps is substantial.
Confidence: medium (the reviewer read the code). Basis: Reviewed 2026-10-26: read parsers/poka-beam/src/main.rs (361 lines) and plugin.json. No unit tests or tests/samples.rs; the corpus has otp-bootstrap_queue.beam, read by no test. Covers .beam and .beam-erlang. The tree reads the FOR1 container and shows the module name, the atom, export, import and function counts, the instruction-set version and size, the exports and imports with arity, and the chunk list. Judgement: B3: the module's interface is decoded, but its code and literals are not.
What Poka does not read
- Code is not disassembled
- Literal, attribute, compile-info, line and debug chunks are listed, not decoded
- Lambdas (FunT) are counted, not listed
- Only the first 500 exports and imports are listed; files over 64 MiB are cut (flagged)
Libraries
Libraries Poka uses or has assessed for this format, with the status, licence and language the registry records.
- beam_lib (Erlang/OTP stdlib) (candidate; Apache-2.0; Erlang; https://www.erlang.org/docs/23/man/beam_lib.html) — Reference reader for BEAM chunks; licence from the erlang/otp GitHub README
- pybeam (candidate; MIT; Python; https://github.com/matwey/pybeam) — Parses BEAM files (imports, exports, atoms shown in README); full chunk coverage not confirmed
Sources
- parsers/poka-beam/src/main.rs
- parsers/poka-beam/plugin.json