I'd lik开发者_运维技巧e to know if there's any way to generate the C code of a x86 PE binary. I don't really need this, I just want to learn how some closed-source software are working.
From my common sense, I think the process is:
- Converting the x86 binary to Assembly, which can be done with a disassembler like OllyDbg.
- Converting this Assembly to C. I don't know any tools for that, any that's my question actually.
If you use IDA Pro with the HexRay decompiler you can get a somewhat readable C source code. (But prepare for a bunch of goto
-s and unnecessary variables).
精彩评论