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

Fastcall argument passing convention #23

Closed
anirudhrata opened this issue Jul 2, 2020 · 0 comments
Closed

Fastcall argument passing convention #23

anirudhrata opened this issue Jul 2, 2020 · 0 comments
Labels
bug Something isn't working (including software I made)

Comments

@anirudhrata
Copy link

In Section 3.5,

This space is going to be 32 bytes, 8 bytes for each of the 4 registers. Because of that, accessing parameters beyond the 4th parameter is done starting with the offset of 0x20. In other words, the fourth parameter is accessed via RSP+0x20, the third RSP+0x28, etc.

You say that fourth is at 0x20 and third at 0x28, is it not fifth at 0x20 and sixth at 0x28 and so on..?

@0xZ0F 0xZ0F added the bug Something isn't working (including software I made) label Aug 27, 2020
@0xZ0F 0xZ0F closed this as completed Aug 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working (including software I made)
Projects
None yet
Development

No branches or pull requests

2 participants