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

Source of the thunk code #19

Open
bclothier opened this issue Apr 27, 2022 · 1 comment
Open

Source of the thunk code #19

bclothier opened this issue Apr 27, 2022 · 1 comment

Comments

@bclothier
Copy link

This seem to use thunking to enable some of the functionality. I am assuming this is only going to work on 32-bit and a different thunking code (if even possible?) would be needed to run on 64-bit? If so , how was that derived?

@wqweto
Copy link
Owner

wqweto commented Apr 28, 2022

There is build.bat in lib/sshzlib and lib/codegen project which extracts the thunk to string.

x64 is possible as the thunk source is not in ASM but in C but will need testing and I'm not that familiar with x64 ASM (at all) calling conventions and everything else that needs to match.

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

No branches or pull requests

2 participants