Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix VM_Call/syscall argument expansion on 64-bit #99

Merged
merged 1 commit into from
Jul 22, 2024

Conversation

Aciz
Copy link
Collaborator

@Aciz Aciz commented Jul 22, 2024

Every argument needs to be cast to intptr_t to ensure the memory is correctly aligned for va_arg as it reads everything as intptr_t to support both x86 and x64 correctly.

Every argument needs to be cast to intptr_t to ensure the memory is correctly aligned for va_arg as it reads everything as intptr_t to support both x86 and x64 correctly.
@ensiform ensiform merged commit 191fd55 into etfdevs:master Jul 22, 2024
6 checks passed
@ensiform
Copy link
Member

Calling this good for now, can open new PR/issue if things are a problem

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