English 中文(简体)
Decompiling x86 PE binary to C?
原标题:

I d like 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).

问题回答

暂无回答




相关问题
Installing scripts on IDA Pro

Around the net I ve seen reference to "scripts" for IDA Pro, but can t work out how to load or install them for IDA Pro 4.9 Freeware Version. How do I do this? In particular I wish to use PE Scripts.

Disassembling with python - no easy solution?

I m trying to create a python script that will disassemble a binary (a Windows exe to be precise) and analyze its code. I need the ability to take a certain buffer, and extract some sort of struct ...

Decompiling x86 PE binary to C?

I d like 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 ...

Best/Easiest Language To Work With Disassembling

I m now thinking to develop a disassembler, but as I know that it s very hard to build a disassembler I want to know the best/easiest language to turn my dream into a reality, also, a tutorial ...

Making a simple assembly emulator

I am working on project that is detecting unknown Viruses, so I am going to build my small emulator that emulates the assembly code of the executable so I can detect whether it is a virus or not by ...

tell gdb to disassemble "unknown" code

is it possible to configure gdb in order to debug assembly code when there are no debug symbols or no sources available ? I mean showing assembly instruction by assembly instruction when performing a ...

热门标签