You are here:

C++/source code

Advertisement


Question
I have a .exe file that I have lost the source code for. Ive tried decompiling it with a number of different programs, with the end result being a long list of assembly code. Is there any way to convert the assembly code into something more readable like C++?

Answer
Hi, Michael.

As far as I know, there is no such thing as an assembly to C++ converter.  It would be extraordinarily difficult to go from very low-level code such as ASM to high-level code such as C++.  There are a lot of tricks and optimizations that compilers will make when converting from C++ to ASM that can make the code seem very different than the original.  Determining the original C++ from ASM would be next to impossible.

C++

All Answers


Answers by Expert:


Ask Experts

Volunteer


Joseph Moore

Expertise

I've been programming in one form or another since my brother taught me BASIC when I was 6. I've been programing professionally since I was 20, first web development with HTML, JS, DHTML, CSS, etc., then I became a video game developer, writing code in C, C++, C#, SQL, assembly, and various scripting languages. I've even written my own scripting languages, custom designed for the games I was making. I also dabble in Java, PHP, and Perl. I've worked on pretty much every aspect of game development, including graphics, audio, gameplay, tool, UI, input, animation, and physics.

Experience

I've been writing C++ code for 12 years, both on my own in my spare time and professionally.

Organizations
IGDA

Education/Credentials
Bachelor of Science in Game Design and Development, Full Sail University, Winter Park, FL

Awards and Honors
Salutatorian and Advanced Achiever Awards at Full Sail; Independent Games Festival Student Showcase winner, 2004; Featured article on Gamasutra about an experimental game developed in 2004

©2016 About.com. All rights reserved.