CodeTracer Trace Format Specification

May 14, 2026 ยท View on GitHub

This repository is the source-of-truth specification for the CodeTracer trace format. It documents the binary layouts, encoding schemes, and file conventions used by CodeTracer to record and replay program execution traces.

Documents

DocumentContents
ctfs-container.mdCTFS binary container format: magic, headers, file entries, block mapping, Base40 encoding
trace-events.mdTraceLowLevelEvent enum, split-binary encoding, CBOR legacy encoding
seekable-zstd.mdZstd seekable compression format as used by CodeTracer
internal-files.mdConventions for files stored inside a CTFS container
Trace-Filters.mdCross-language trace filter contract: schema, hot-path requirement, provenance

Implementations