Olympus: probe large RPF9 archives safely #12

Merged
bmjask merged 1 commit from upstream-pr/13 into main 2026-11-21 17:27:33 +00:00
bmjask commented 2026-11-21 17:14:57 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by bmjask on 2026-11-21T17:14:57Z.


Summary

  • add a bounded-memory streaming header probe for RPF9 archives
  • select probe mode automatically above 1 GiB, with explicit probe/full overrides
  • distinguish repeated nonzero TOC-prefix indicators from unknown or unclassified evidence
  • reject implicit detailed find/extract on large archives unless full scanning is explicitly requested
  • cap retained/displayed header summaries and handle truncated input safely

Validation

  • focused probe tests: 4 passed
  • xcl library tests: 204 passed, 13 ignored, 0 failed
  • verified bounded-memory operation on a multi-gigabyte local archive

This adds structural inspection only. It contains no keys, decryption, or protection bypass.

<!-- greyfinch-sync:ivall/xcl:issue:6531955666 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/13). Originally posted by [bmjask](https://github.com/bmjask) on 2026-11-21T17:14:57Z. --- ## Summary - add a bounded-memory streaming header probe for RPF9 archives - select probe mode automatically above 1 GiB, with explicit probe/full overrides - distinguish repeated nonzero TOC-prefix indicators from unknown or unclassified evidence - reject implicit detailed find/extract on large archives unless full scanning is explicitly requested - cap retained/displayed header summaries and handle truncated input safely ## Validation - focused probe tests: 4 passed - xcl library tests: 204 passed, 13 ignored, 0 failed - verified bounded-memory operation on a multi-gigabyte local archive This adds structural inspection only. It contains no keys, decryption, or protection bypass.
upstream-sync closed this pull request 2026-11-24 06:56:44 +00:00
ivall commented 2026-11-24 07:00:17 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by ivall on 2026-11-21T17:27:34Z.


Thanks – merged. Checked on the real 27 GB audio archive: 104 RPF9 headers in ~7 s with flat memory, nice.

<!-- greyfinch-sync:ivall/xcl:comment:7066497353 --> Imported from [ivall/xcl](https://github.com/ivall/xcl/pull/13#issuecomment-7066497353). Originally posted by [ivall](https://github.com/ivall) on 2026-11-21T17:27:34Z. --- Thanks – merged. Checked on the real 27 GB audio archive: 104 RPF9 headers in ~7 s with flat memory, nice.
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
xcl-dev/xcl!12
No description provided.