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 #11437 - syscall calling conventions for x86-64 #11549

Merged
merged 3 commits into from Sep 17, 2018
Merged

Fix #11437 - syscall calling conventions for x86-64 #11549

merged 3 commits into from Sep 17, 2018

Conversation

radare
Copy link
Collaborator

@radare radare commented Sep 17, 2018

No description provided.

@radare radare added this to the 3.0 milestone Sep 17, 2018
Copy link
Contributor

@ret2libc ret2libc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM apart from some spaces

"=A2 rcx\n"
"=A3 rdx\n"
"=RV rax\n"
"=A0 rdi\n"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

spaces

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

@radare
Copy link
Collaborator Author

radare commented Sep 17, 2018

we are not using the =R0 anywhere, and will be good to check if we are missing any other place. will review before merging.

@radare
Copy link
Collaborator Author

radare commented Sep 17, 2018

windows, mac/linux follow different conventions for fastcall, so using A0,... probably requires more tests and feedback from different OS users. so i would stop tweaking the profiles for now

@XVilka
Copy link
Contributor

XVilka commented Sep 17, 2018

@sivaramaaa please also check this

@radare radare merged commit f85ebe3 into master Sep 17, 2018
@Maijin Maijin deleted the fix-11437 branch September 17, 2018 14:41
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.

None yet

3 participants