Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 362
  • Last Modified:

C++ Decompiler?

Some of my software has recently been corrupted by an unknown cause, and I would like to know if there are any C++ decompilers out there, so I can fix the code.
0
Noose215
Asked:
Noose215
  • 2
1 Solution
 
feenixCommented:
The short answer: no, there isn't.
The longer: it is quite impossible to transform a binary executable into C++, because there is not necessarily any information about the actual variables etc. There might be some programs that try to do that, but I've yet to see a working one.
0
 
nietodCommented:
There certainly are decompilers that will prodiuce C code.  Horrible C code, but C code none-the-less.  There may be some that produce C++ too.  Depending on the C++ implimentation, then may be able to tell when functions are member functions and may be able to detect exception information (to some extent).  They probably won't recreate templates, but instead seperate functions/classes.   But you can be pretty sure that the ouput is going to be nearly incomprehensible.
0
 
Noose215Author Commented:
Thank you, feenix, for not just answering, but also explaining.
0
 
Noose215Author Commented:
Just as a follow up, there are actually a few C++ decompilers that have worked quite well for me. Lesson of the day to the "expert" who said there isn't: what can be done can ALWAYS be undone.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now