Question:
How to get the source code of an exe file ?
baibav
2010-12-23 18:19:48 UTC
how can i convert an exe file into its programing
Four answers:
Subhanker
2010-12-23 19:21:30 UTC
sorry but its not possible
SomeGuy
2010-12-24 02:37:51 UTC
Sadly you can't.

An .exe file is made up of binary numbers which consist of 1's and 0's.

Operating systems use binary languages to operate, this is what we call machine code.



Whenever you right code. It's just a simplified version so we can understand it better.

Once the program is compiled it changes the code to binary (which the computer understands) and then it runs the code.



So there's no way to reverse this process. If there was a way to do so then anybody could alter with professional programs and operating systems.



If you learned the assembly language then you could probably learn to alter some things in the code but there's absolutely no way to change from binary to source code.



Also since binary consists of ones and zeros it doesn't remember the syntax. What a compiler does it take that languages format and changes it to what it would be if you were to write in binary.

So there's no way to detect which language you typed the .exe file in and that's one major reason why you cannot bring back up the source code.



So I Hope This Helped.

If you want the source code then you have to ask the people yourself, otherwise you won't be able to obtain the info.
The Phlebob
2010-12-24 03:24:31 UTC
You generally can't. Most exe files contain far more than just the code that runs the application. The may also contain support code from many source.



Second, there's no easy way to change the code on the exe file back into source code. It's kind of like taking a cake and separating it back into eggs, flour, milk, yeast, oil, ...



Sorry.
2010-12-24 02:29:44 UTC
you can't.



unless the creator of the program released the source code (which you would find on their site), there is no way to view how they wrote it. if there was, people would've rewritten Windows' source a LONG time ago!



there IS a way to look at the details of a program for troubleshooting, though. using a hex editor, one can see the "jumps" and other binary and such datas, and turn functions on&off, although knowing how to do this takes some learning as well.



also, if you are dealing with an MSI file, you can use Orca to view or edit the file's settings and setup features.


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...