Ah, I was not aware that ctypes.cdll.LoadLibrary was platform independent. I assumed it would be Windows specific and require a dll that matches the cpu architecture of your Python binary (x86 or x64). From what you are saying, it seems that first assumption is wrong? On Windows you still need to make sure you get a x86 or x64 dll, depending on your Python binary. But one could just try to load both and use whichever succeeds.
It seems my platform dependency problem doesn't actually exist, as long as I get dll/shared libraries for all platforms and cpu architectures I want to target.
It would still be nice to have a pure Python implementation to be able to play with compression in my fuzzer.
Berend-Jan Wever (
SkyL...@google.com) | Security Software Engineer
Google Netherlands B.V. | Reg: Claude Debussylaan 34, 15th floor 1082 MD Amsterdam
34198589 | NETHERLANDS | VAT / Tax ID:- 812788515 B01