So why isn't there (or maybe there is and I don't know about it) an AI based decompiler that can take almost any machine code, and transform it into highly readable source code (complete with meaningful guesses for variable names and comments)? It seems like it should be even easier when the executable could be run and inspected at runtime by the AI model.
What is the state of the art with AI decompilation, and are there tools I can play with today?
The lost value can never be restored, aka comments, names (these could be lost if debug symbols are not included) etc.
Its not terribly difficult to manually decompile, but it is slow. However the question of WHY this magic number or WHY is it doing that are lost because the comments and context are lost.
Good source code has more of these WHY ANSWERS.