View Single Post
  #1  
Old 09-28-2025, 09:52
chants chants is offline
VIP
 
Join Date: Jul 2016
Posts: 826
Rept. Given: 47
Rept. Rcvd 50 Times in 31 Posts
Thanks Given: 737
Thanks Rcvd at 1,140 Times in 529 Posts
chants Reputation: 51
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