开发者

Decompiling x86 PE binary to C?

开发者 https://www.devze.com 2022-12-17 06:22 出处:网络
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.

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).

0

精彩评论

暂无评论...
验证码 换一张
取 消