View Single Post
  #1  
Old 09-28-2025, 09:52
chants chants is offline
VIP
 
Join Date: Jul 2016
Posts: 836
Rept. Given: 47
Rept. Rcvd 52 Times in 32 Posts
Thanks Given: 742
Thanks Rcvd at 1,148 Times in 531 Posts
chants Reputation: 52
Cython reversing

Does anyone have info about reversing of Cython code back to Cython like source? This isnt the same as CPython byte code which can be compiled to Python byte code (pyc). It is rather converted to C and compiled though with decent metadata and the CPython API plainly visible. Of course the usual tools like IDA or Ghidra will make disassembling straight forward and decompilation to C possible but it would be fantastic if some plugin or script would translate it to Cython code. Often its just deriving from plain Python code that has been cythonized without the C parts. Perhaps this is a job for AI even.
Reply With Quote