cpu: exercise a framed call to a bound leaf in the three-way EXE comparison #441
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!441
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/441/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-22 03:26 UTC · original
R0Y00:codex/exe-bound-frame-chain→main· +1622 −40 · 18 files · 15 commits · merged 2026-11-22 03:32 UTCRefs #317, #165. Integration after #420, #425 and #430. The EXE entry calls an exported, fixed-frame caller which saves RBX and directly calls a non-exported leaf without unwind data. The leaf range comes from the same EXE's linker map, bound to its image hash. The original and mapped processes run the same PE. The AOT executable links the actual generated entry, caller and leaf.
Local Windows x64, MSVC 19.51.36244, commit
e88d4e7:Both tests passed. For selectors 0 and 1, all three runners matched on the 16 import argument bytes, eight output bytes and process exit (0x57 and 0x60d). The control runs the unmodified EXE with the same selector and requires a difference in each field. The test retains missing-provider diagnostics.
7fb6a9aframe lifetime) into cpu/switch-direct-calls-420 a09457668dd470872' into HEAD 6916d9a473def9858' into HEAD 490a419e16490a419e16' into codex/exe-bound-frame-chain 30a2dcfa71@grahamster2 on GitHub · 2026-11-22 03:33 UTC · original
Independent run on a second MSVC version: Windows 11 Pro build 26200, VS Build Tools 2026 18.3 (MSVC 19.50.35725, ML64), Windows SDK 10.0.26100, head
e88d4e7.cpu_native_exe_chainpassed: selector 0 arguments0303000001000000fdffffff00000000, output1103000000000000, exit 0x60d; selector 1 arguments30000000000000000600000000000000, output3500000000000000, exit 0x57. Original, mapped and AOT runners matched.cpu_native_exe_frame_chainpassed with the same values, selectors swapped by the nested leaf (0 -> exit 0x57, 1 -> exit 0x60d). The bypass control differed in every field.-E '^(conditional_import_paths|static_exe_intake|bundled_export_forwarders)$'): 160 passed, 0 failed, 3 capability skips of 163 (bvh_wave64_hardware,bvh_wave64_warp,wave_shuffle_warp).cpu_switch_aot.py, seeds 100-119: 644 exports, 534 translated (314 with calls or tails), 110 refused as expected, 0 mismatches.