0 Replies - 16987 Views - Last Post: 21 March 2009 - 07:14 PM Rate Topic: -----

#78 no2pencil   User is offline

  • Professor Snuggly Pants
  • member icon

Reputation: 6968
  • View blog
  • Posts: 31,958
  • Joined: 10-May 07

Re: Converting exe's to C/C++ source code!

Posted 21 March 2009 - 07:14 PM

*
POPULAR

I've seen this question asked about a hundred times, so I'm going to answer this once & for all.

How to convert exe's to C/C++ Source Code?!

It isn't converting... 1st of all. Which is probably why you are reading this, & not having much luck finding any results else where. You see, program code is ran through a compiler. The compiler will transform your source code into what is called machine language. This is in the form of a binary executable file (your exe).

Because C & C++ compilers are independent & unique by whom released them, there is no universal decompiler. While you do have a set of standards for C programming, each compiler has it's own idea of optimization & standards of coding.

What you can do, however, is disassemble the exe into assembler code. However, if you are expecting it to come out in a human readable format, you are dreaming. The functionality will be as the decompiler understands best, without proper naming standards for the functions, variables, & so on. Without knowing both assembler & C/C++ to the degree of being able to reverse engineer software, it will be impossible to get a binary executable file into C/C++ source code.

Hopefully this answers your question!
Was This Post Helpful? 6

Page 1 of 1