poka.sh

Docs

DYLIB

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.

Mach-O Preview.

At a glance

Purpose A Mach-O dynamic library (.dylib): a header card for Apple's binary format.
Extensions .dylib
Poka parser poka-mach-o
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-mach-o/src/main.rs (368 lines) and plugin.json. No unit tests or tests/samples.rs; the corpus has no .dylib, .dylib-machO and .bundle-machO sample. Covers .dylib, .dylib-machO and .bundle-machO. The card reads the Mach-O header or universal header and shows the variant, architectures, CPU, file type, load-command count and distinct IDs, segment count, build platform, minimum and SDK OS versions and flags. Judgement: B4: the header is decoded, but segments, libraries and symbols are not listed (the .macho module lists segments and libraries).

What Poka does not read

  • Segments, sections and linked libraries are not listed
  • Symbols, exports and the code signature are not read
  • Code is not disassembled

Libraries

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

  • goblin (candidate; MIT; Rust; https://github.com/m4b/goblin) — Zero-copy 32/64-bit Mach-O parser alongside ELF/PE; repo page does not mention dylib or fat binaries explicitly.
  • object (candidate; Apache-2.0 OR MIT; Rust; https://github.com/gimli-rs/object) — Reads Mach-O, ELF, PE/COFF, Wasm, XCOFF and archives; dylib not named on the repo page.
  • LIEF (candidate; Apache-2.0; C++, Python, Rust; https://github.com/lief-project/LIEF) — Parses Mach-O including FatBinary (universal) objects; standalone dylib parsing not stated on the page.

Sources

  • parsers/poka-mach-o/src/main.rs
  • parsers/poka-mach-o/plugin.json