I doubt it's possible, but...
Author |
Message |
Travveh
|
Posted: Tue Jul 17, 2007 5:11 pm Post subject: I doubt it's possible, but... |
|
|
Is it possible to convert an .exe file back into its original programming language?
~Noobie Trav |
|
|
|
|
|
Sponsor Sponsor
|
|
|
Aziz
|
Posted: Tue Jul 17, 2007 5:33 pm Post subject: RE:I doubt it\'s possible, but... |
|
|
Well, theoretically I guess it is possible, however (especially depending on the language), this could be difficult and/or non-productive. Many compilers optimize code, and the code will be messy and non-imformative (no names for variables, methods, etc).
I've used one to reverse-engineer Java .class files before, and it wasn't pretty.
But best wait until one of the gurus get here.
Btw, what is it you're wanting to use this for? |
|
|
|
|
|
rizzix
|
Posted: Tue Jul 17, 2007 6:18 pm Post subject: RE:I doubt it\'s possible, but... |
|
|
There are a few good disassemblers out there, but most of them disassemble to some assembly language.
You should search for a assembly -> higher level language compiler. Such compiler would generate code in the language you desire.
I heard for windows IDA Pro is a good disassembler/debugger. It's not free though.
There might be some good opensourced ones too. I don't know much about the assembly -> higher level language compilers though. Java has some, but they do a direct bytecode -> java compilation.
But keep in mind, like Aziz said, compilers do quite a bit of optimization. So the resulting code may look a lot different form the original. |
|
|
|
|
|
Aziz
|
Posted: Tue Jul 17, 2007 6:21 pm Post subject: RE:I doubt it\'s possible, but... |
|
|
rizzix, by bytecode -> java compilation, do you mean .class -> .java? |
|
|
|
|
|
rizzix
|
Posted: Tue Jul 17, 2007 6:22 pm Post subject: RE:I doubt it\'s possible, but... |
|
|
yep |
|
|
|
|
|
|
|