1832489 Members
4479 Online
110043 Solutions
New Discussion

Uncompile

 
Marcelo De Florio
Frequent Advisor

Uncompile

Any body know any tool for uncompile executable C, to obtain source code.

MDF
4 REPLIES 4
Edward Sedgemore
Trusted Contributor

Re: Uncompile


Not possible, not to mention illegal (if the binary was written by an external company)

Although I have heard that Microsoft wrote earlier versions of Exchange in Cobol then used a decompiler to convert the compiled Cobol to C source then compiled that for performance reasons as the finished article. Dont know if they still do it, I suspect so. So I guess its technically feasible to write a decompiler.

John Bolene
Honored Contributor

Re: Uncompile

I had to decompile Fortran to assembler on the mainframe and it was a really ugly process. I had to do this since the current source was lost and all I had was the last generation of code. You do not get all the symbolic info, just register and memory references.

You might be looking for a symbolic debugger, maybe Q4 would work.

What are you trying to do? More information would help us help you.
It is always a good day when you are launching rockets! http://tripolioklahoma.org, Mostly Missiles http://mostlymissiles.com
f. halili
Trusted Contributor

Re: Uncompile

A source file would require a listing of variable names, procedure or paragraph names, comments which were initially in the source file, and the original language itself.

Those information are not contained in compiled code, so we cannot re-create the source file.


derekh
Rajeev Tyagi
Valued Contributor

Re: Uncompile

You can use strings command on binary file to trace what system calls are used by the compiled program.


Eg. #strings ypcat.