Recompile the grouped Bink allocation caller and verify payload placement #136
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!136
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/136/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 16:51 UTC · original
Vonsek:codex/bink-allocation-caller→main· +165 −6 · 7 files · 4 commits · merged 2026-11-21 17:55 UTCChange
Trace the grouped allocation caller requested in the README CPU translation row. The null-context path rounds the prefix to 32 bytes and tail-calls the existing heap wrapper. The grouped path adds payload space, fills internal and external pointer slots and clears both counters even when allocation fails.
Verification
At
d603dd6on x64 Windows with MSVC 19.44 and Python 3.12,ctest --preset dev --no-tests=error -R '^cpu_aot_bink_'passed all four registered cases with the local image configured. The group check also passed when invoked directly against the native assembly fixture, its translation and the translation of the local caller. Before the change the check failed at the missing group export.A 33-byte prefix with 48 extra bytes produced a 176-byte request at the heap observer. The internal pointer at offset 8 and the external slot received base + 64 and base + 80 respectively. With an injected allocation failure the external sentinel survived and both counters were zero.
Evidence and follow-up
The public control is new MASM source under the repository MIT license. The tests supply their own lengths, destinations and heap storage. Only the optional local build reads a package DLL. The caller was translated offline and the generated code ran on Windows. Which subsystem constructs the descriptors remains open. The experiment notes include commands and the inspected image fingerprint.
@chatgpt-codex-connector[bot] on GitHub · 2026-11-21 16:51 UTC · original · edited 2026-11-21 16:54 UTC
Codex Review Summary: ✅ Completed
This comment shows the latest Codex review activity on this pull request.
d603dd6ℹ️ 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.
@R0Y00 on GitHub · 2026-11-21 17:18 UTC · original
The grouped allocation caller and failure checks look good. GitHub now reports conflicts with main. Please sync the CPU build/test registrations and README summary with the newly merged jump-table work, then rerun the Bink comparison.
@Vonsek on GitHub · 2026-11-21 17:28 UTC · original
Synced with main at
245b207in087e0ad. The README now includes both jump-table dispatch and the grouped Bink caller, and CMake registers both experiments.On x64 Windows,
ctest --preset dev --no-tests=error -R '^cpu_aot_(bink_.*|jump_tables)$'passed the jump-table test and all four Bink tests, including both local-package comparisons. I also reran the Python group check directly against the native fixture, its translation and the translated package caller. All three passed.