cpu: prove fixed RBP frame anchors #889
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!889
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/889/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?
@R0Y00 on GitHub · 2026-11-23 16:07 UTC · original
R0Y00:codex/cpu-rbp-frame-anchor→main· +88 −23 · 7 files · 2 commits · merged 2026-11-23 16:30 UTCRefs #870 and #317.
Track RBP as a constant offset from entry RSP after a verified frame setup. RSP and RBP accesses use the same bounded frame array. Require incoming paths to agree on the anchor. Address escape and unsupported operands still refuse translation.
The source-built frame fixture checks both paths through a shared slot, including a branch that reconstructs the same anchor. Four negative controls cover a mismatched join, an escaped address, an unwritten slot and an incorrect register restore.
Windows x64, MSVC 19.51, Release:
8/8 passed. Documentation links, bidi controls, and
git diff --checkpassed.@R0Y00 on GitHub · 2026-11-23 16:14 UTC · original · edited 2026-11-23 16:15 UTC
Both Windows builds on
169289bstopped while generatingblast_lifted.cpp.Framecallsstep(ins, rsp, anchor), but the archive adapter still took the old signature. Auto-merge was paused, and the compatibility fix is now on this branch ata1739cb. It passes the anchor through the existing codec paths and uses the shared method for the remaining cases.ctest --preset <dev|release> --no-tests=error -R '^(cpu_native_archive_(blast|reader)|cpu_aot_(stack_frames|direct_calls|call_entries))$'passed 5/5 in each preset on Windows x64. New CI is running.