x86 instructions to C? #3441
-
I have nexe file (x86 instructions). I want to decompile the file to C/C++. Is that possible? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
It's possible but very tricky and error prone in general. Some commercial packages like HexRays can do it, albeit not to anything very human-readable without a lot of user help. See https://stackoverflow.com/questions/14308610/how-hard-is-it-really-to-decompile-assembly-code for example. It's not something Compiler Explorer does (nor any time likely) - we have a bug open for Ghidra support but I don't think Ghidra supports automated decompilation in the same way as HexRays. |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
It's possible but very tricky and error prone in general. Some commercial packages like HexRays can do it, albeit not to anything very human-readable without a lot of user help. See https://stackoverflow.com/questions/14308610/how-hard-is-it-really-to-decompile-assembly-code for example.
It's not something Compiler Explorer does (nor any time likely) - we have a bug open for Ghidra support but I don't think Ghidra supports automated decompilation in the same way as HexRays.