cpu: translate nested direct calls from EXE entry #253
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!253
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/253/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?
@RonLogic on GitHub · 2026-11-21 19:23 UTC · original
RonLogic:cpu/exe-nested-direct-calls→main· +121 −21 · 7 files · 1 commits · merged 2026-11-22 11:33 UTCExtends the source-built EXE translator to follow nested direct calls by RVA and emit each callee before its callers. The public diff contains only this change on top of main, with #247 and #256 already merged. The traversal reuses the existing named-provider validation and preserves the returning entry and native termination wrapper from #394. Recursive call graphs are rejected.
The fixture adjusts one argument before calling the existing
mix_argswrapper. The control bypasses that wrapper and calls the DLL directly. For both selector bytes, bypassing changes the import arguments, output bytes, and process exit code. Each translated process matches its native Windows counterpart.Verified at
9bd9062ona0c5b7b: all 107 CPU tests passed locally on Windows x64 with no skips. This includes the nested-call control, two direct targets, two named providers, framed and mapped EXE cases, and native termination. The Markdown link check also passed. A trial merge with0a9f4b4completed without conflicts.