ZipArchive icon indicating copy to clipboard operation
ZipArchive copied to clipboard

Source of the thunk code

Open bclothier opened this issue 2 years ago • 1 comments

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?

bclothier avatar Apr 27 '22 18:04 bclothier

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.

wqweto avatar Apr 28 '22 09:04 wqweto