Skip to content

Conversation

@Sonicadvance1
Copy link
Member

@Sonicadvance1 Sonicadvance1 commented Dec 22, 2025

The final audit step. Goes through all instances of Constant(...) usage and determines if any of these need padding or not.
The main takeaway is that all RIP relative accesses tend to do _EntryPointOffset plus some immediate which never changes, and the _EntryPointOffset is always using a FEX relocation. Additionally if the frontend informs if anything is a guest side relocation, those literal get fully relocated as well.

Nothing too scary in here, but that wraps up the audit and now all constant generation is explicit about needing padding or not.

@Sonicadvance1 Sonicadvance1 merged commit fd2ee4e into FEX-Emu:main Dec 29, 2025
13 checks passed
@Sonicadvance1 Sonicadvance1 deleted the 27 branch December 29, 2025 19:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants