O
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.
COFF Object Preview.
At a glance
| Purpose | A COFF object file (.o): the Common Object File Format of compilers on Windows and older Unix systems. |
| Extensions | .o |
| Poka parser | poka-coff |
| Viewer | poka-metadata-card-viewer |
| Depth tier | Metadata card (see Depth tiers) |
| Breadth tier | B4 Summary (see Breadth tiers) |
How much Poka reads
B4 Summary. The container and metadata are read and summarised (counts, properties, structure), but the main content is not rendered.
Confidence: medium (the reviewer read the code). Basis: Reviewed 2026-10-26: read parsers/poka-coff/src/main.rs (243 lines) and plugin.json. No unit tests or tests/samples.rs; the corpus has no .o and .o-coff sample. Covers .o and .o-coff. The card decodes the COFF header: machine, sections declared and walked, symbol count, symbol table offset, optional header size, characteristics and timestamp. Judgement: B4: the header is decoded, but sections and symbols are not listed.
What Poka does not read
- Sections are counted, not listed
- The symbol table and string table are not read
- Relocations and code are not decoded
- ELF and Mach-O objects, which also use .o, are refused or misread as COFF (judgement from the code)
Libraries
Libraries Poka uses or has assessed for this format, with the status, licence and language the registry records.
- object (candidate; Apache-2.0 OR MIT; Rust; https://github.com/gimli-rs/object) — Unified reader for ELF, Mach-O, PE/COFF, XCOFF and archives; README says it is intended for trusted input.
- goblin (candidate; MIT; Rust; https://github.com/m4b/goblin) — ELF, Mach-O, PE and archive parser; docs.rs shows pe::Coff parsing a COFF object from a byte slice.
- LIEF (candidate; Apache-2.0; C++; https://github.com/lief-project/LIEF) — Parses ELF, PE, Mach-O and COFF with C++, Python and Rust bindings; COFF docs show parsing an .obj file.
Sources
- parsers/poka-coff/src/main.rs
- parsers/poka-coff/plugin.json