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

Make compatible with Windows 10 > 15002 #433

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jdmansour
Copy link

This is a fix for issue #431. It seems like in more recent builds of windows, a function that clink patches starts with a different instruction. I just added that instruction to the ones clink recognizes. My assembly is rusty, but it seems "mov rax,QWORD PTR [rsp]" just loads a value into rax in preparation of a function call, and it can be safely moved to the trampoline.

It works for me, but somebody who understands this stuff better should double check this :-).

@chris-morgan
Copy link

It’d be nice to get this released.

@bgold09
Copy link

bgold09 commented Apr 6, 2017

@mridgers if in fact this resolves the issue, would it be possible to get this merged and release a new version?

@chris-morgan
Copy link

I strongly doubt that this will fix the issue any more—this was to do with Clink not loading at all, and dumping a relevant line to its log saying why it wasn’t willing to hook the function. Now, it hooks successfully, it’s just doskey macros aren’t working.

I think this can be closed.

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.

3 participants