pub fn audit(db: &Database) -> Vec<Anomaly>Expand description
Audit an opened Database for forensically-notable anomalies.
Covers the header reserved-space field, a non-empty freelist (prior
deletions), an active WAL overlay (uncheckpointed state), and a header/file
page-count mismatch. Deleted-record recovery is offered separately via
carve_deleted_records / audit_carved_findings because it requires the
table’s column count.