Recover chained x64 unwind ranges and recompile shared early returns #30

Merged
R0Y00 merged 1 commit from upstream-pr/30 into main 2026-11-21 10:17:12 +00:00
R0Y00 commented 2026-11-21 10:15:09 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-21T10:15:09Z.


Fixes #28. Resolve the unwind parent triples, decode each owned interval and validate reached branch boundaries and restored state. The Windows fixture includes a neighboring function and a two-level unwind chain. Tests cover two shared early exits, non-null controls, physical RBX/RSI, invalid edges, invalid chains and explicit indirect-call stops.

The local loader yielded four owned intervals. Its generated Windows code returned guest value 6 on both null cases and stopped on the non-null indirect call without writing a return. Native differential tests use the repository fixture. Only source-owned fixtures and aggregate observations are included. Refs #29 for the object callback ABI.

Local: all four CPU CTests passed; the chained range test also passed after adding strict/partial call controls.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:issue:6527516393 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/30). Originally posted by [R0Y00](https://github.com/R0Y00) on 2026-11-21T10:15:09Z. --- Fixes #28. Resolve the unwind parent triples, decode each owned interval and validate reached branch boundaries and restored state. The Windows fixture includes a neighboring function and a two-level unwind chain. Tests cover two shared early exits, non-null controls, physical RBX/RSI, invalid edges, invalid chains and explicit indirect-call stops. The local loader yielded four owned intervals. Its generated Windows code returned guest value 6 on both null cases and stopped on the non-null indirect call without writing a return. Native differential tests use the repository fixture. Only source-owned fixtures and aggregate observations are included. Refs #29 for the object callback ABI. Local: all four CPU CTests passed; the chained range test also passed after adding strict/partial call controls.
upstream-sync closed this pull request 2026-11-24 06:41:03 +00:00
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
R0Y00/Xbox2Windows!30
No description provided.