Commit Graph
3 Commits
Author SHA1 Message Date
aiongg ff290551bd feat: parse object chunks and add a dump command
Objects are sequences of (u32 ID, u32 length, data) chunks. Add a cursor
for chunk data with the text segment encoding (single-byte and UTF-16
runs) and the in-object string format. `indd dump` prints an object's
chunks.
2026-10-06 16:07:27 +00:00
aiongg 1d96bb61ae feat: read the class and unclassed-UID trees
The master page holds three tree roots and counts: objects, the class of
each UID, and UIDs without a class. Database::class_of returns an
object's class ID, and `indd objects` prints it.
2026-10-06 16:01:30 +00:00
aiongg 326a851346 feat: read the object database
Decode the database pages: page trailers and types, the logical page
table, the object B+ tree keyed by (UID, segment), data pages, slotted
pages and continued records. Database::object returns any object's byte
stream. Add `indd objects` and `indd object` commands.

Every object of all 351 little-endian corpus files reads without an
inconsistency. Big-endian databases report Unsupported for now.

Add a project CLAUDE.md with the clean-room rules.
2026-10-06 15:57:48 +00:00