cpu: verify the grouped Bink allocation descriptor builders #157
No reviewers
Labels
No labels
accessibility
awaiting author
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
priority: P0
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/R0Y00--Xbox2Windows!157
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/157/head"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@Vonsek on GitHub · 2026-11-21 17:45 UTC · original
Vonsek:codex/bink-group-descriptors→main· +173 −1 · 7 files · 1 commits · merged 2026-11-21 17:48 UTCChange
Trace the two Bink leaf functions that build the arrays consumed by the grouped allocator in #136. Initialization places two arrays after the header. Each append saves a destination, selects a padded stride, advances the byte total and increments the entry count.
Verification
At
dc08688on Windows x64, MSVC 19.44 and Python 3.12, both tests passed after buildingcpu_bink_descriptors_liftedandcpu_bink_package_descriptors:From the build directory the Python check also exited zero:
Before implementing the breakpoint binding the local translation stopped at the append helper's capacity check. With a full table, the desktop binding reports this stop and the full storage snapshot stays unchanged. A separate public-only configure and build passed
ctest --test-dir out/build/public --no-tests=error -R '^cpu_bink_descriptors$'.Evidence and follow-up
The public control is independently written MASM covered by the repository's MIT license. All inputs, destinations and buffers belong to the test. The optional local comparison uses a fingerprint-checked DLL and the same inputs. Insertion of five entries produced strides of 32, 64, 128, 1280 and 512 bytes. The test does not trace the producer of odd tagged entries. Experiment and build instructions.
Checklist
AI-assisted.
@chatgpt-codex-connector[bot] on GitHub · 2026-11-21 17:45 UTC · original · edited 2026-11-21 17:48 UTC
Codex Review Summary: ✅ Completed
This comment shows the latest Codex review activity on this pull request.
dc08688ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.