I created an app in 2018 with python and then used Cython and pyinstaller v 3.6.

I am wondering how to decompile it. I have tried uncompyle6 + pyinstxtractor however this only works for python files, not cython. There is also no known cython decompiler. I have had a try with Ghidra and IDA but no luck although I am new to it.

1 Answer 1


The .pyx file is not embedded in the .dll, Cython generates C code from it then compiles that into a .dll. You would need to treat the .pyd as a standard PE DLL and disassemble it, then recreate the python from what you understand of the assembly.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.