Verify a direct x64 call across two statically recompiled functions #22

Closed
opened 2026-11-26 21:22:40 +00:00 by github-bot · 0 comments
Owner

@⁠R0Y00 on GitHub · 2026-11-21 09:30 UTC · original

Follow-up to the source-built CPU leaf experiment. Build two small x64 functions with a direct relative call and known inputs, return values and output writes. Translate the caller and callee from their PE machine code. In Windows CTest compare their behavior with the original, check arguments and preserved registers across the call, and include a negative control that detects an incorrect call result. Keep the fixture reproducible from this repository.

**@⁠R0Y00** on GitHub · 2026-11-21 09:30 UTC · [original](https://github.com/R0Y00/Xbox2Windows/issues/22) Follow-up to the source-built CPU leaf experiment. Build two small x64 functions with a direct relative call and known inputs, return values and output writes. Translate the caller and callee from their PE machine code. In Windows CTest compare their behavior with the original, check arguments and preserved registers across the call, and include a negative control that detects an incorrect call result. Keep the fixture reproducible from this repository.
github-bot 2026-11-26 21:22:40 +00:00
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 21:22:40 +00:00
This discussion has been locked. Commenting is limited to contributors.
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.

Dependencies

No dependencies set

Reference
github/R0Y00--Xbox2Windows#22
No description provided.