Skip to main content

Module validation

Module validation 

Source
Expand description

Structural validation of the index TOC and section boundaries.

The reader is already defensive while parsing, but a corrupt TOC can make the sections overlap in ways that only show up much later (a series record decoded from inside the symbol table, for example). These checks run once, before any record is touched, so callers can reject a block cheaply.

Structsยง

IndexLayout
Result of the layout check.