View Single Post
  #1  
Old 09-28-2025, 09:52
chants chants is offline
VIP
 
Join Date: Jul 2016
Posts: 856
Rept. Given: 48
Rept. Rcvd 53 Times in 32 Posts
Thanks Given: 748
Thanks Rcvd at 1,169 Times in 540 Posts
chants Reputation: 53
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