Solved

C++ Decompiler?

Posted on 2000-03-11
4
352 Views
Last Modified: 2010-04-10
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
Comment
Question by:Noose215
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 4

Accepted Solution

by:
feenix earned 20 total points
ID: 2609871
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
 
LVL 22

Expert Comment

by:nietod
ID: 2610046
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
 

Author Comment

by:Noose215
ID: 2610921
Thank you, feenix, for not just answering, but also explaining.
0
 

Author Comment

by:Noose215
ID: 10950977
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

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article will show you some of the more useful Standard Template Library (STL) algorithms through the use of working examples.  You will learn about how these algorithms fit into the STL architecture, how they work with STL containers, and why t…
Container Orchestration platforms empower organizations to scale their apps at an exceptional rate. This is the reason numerous innovation-driven companies are moving apps to an appropriated datacenter wide platform that empowers them to scale at a …
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question