poka.sh

Docs

KO

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.

Linux Kernel Module Preview.

At a glance

Purpose A Linux kernel module (.ko): a relocatable ELF object with a .modinfo section.
Extensions .ko
Poka parser poka-ko
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-ko/src/main.rs (363 lines) and plugin.json. No unit tests or tests/samples.rs; the corpus has no .ko sample. Covers .ko. The card shows the ELF architecture, machine and section count, and from .modinfo the name, licence, author, description, srcversion, vermagic, in-tree and retpoline flags, dependencies, alias, firmware and parameter counts, with code, data and BSS sizes and the symbol count. Judgement: B4: the module's metadata is decoded, but its sections and symbols are summarised, not listed.

What Poka does not read

  • Aliases, firmware references and parameters are counted, not listed
  • Symbols, relocations and the module signature are not shown
  • Code is not disassembled

Libraries

Libraries Poka uses or has assessed for this format, with the status, licence and language the registry records.

  • modinfo (candidate; Apache-2.0 OR MIT; Rust; https://lib.rs/modinfo) — Reads the modinfo section of a .ko file. Only two releases (Nov 2022); Rust 2015 edition. Does not parse the rest of the ELF.

Sources

  • parsers/poka-ko/src/main.rs
  • parsers/poka-ko/plugin.json