Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Conversation

kawaii-ghost
Copy link

@kawaii-ghost kawaii-ghost commented Apr 16, 2023

Calling C runtime function must also terminated by C runtime itself (exit). Calling printf and then call ExitProcess without CRT function leads to hang because that does not let the C runtime terminate as gracefully.

First argument also passed in RCX, RAX is used as return value. Did you mean add rsp, 32; pop rbp; xor eax, eax; ret ?

Calling C runtime function must also terminated by C runtime itself (exit).
Calling printf and then call ExitProcess without CRT function leads to hang because that does not let the C runtime terminate as
gracefully.

First argument also passed in `RCX`, `RAX` is used as return value.
Did you mean `add rsp, 40; xor eax, eax; ret` ?
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.

1 participant

Morty Proxy This is a proxified and sanitized view of the page, visit original site.