Is there a way to take a executable file, and turn it into source code you can read and edit?
I looked on my compiler options, and it has nothing like this it seems.
Is there a way to take a executable file, and turn it into source code you can read and edit?
I looked on my compiler options, and it has nothing like this it seems.
Not that I know of. Otherwise people could break down games and steal source.
"When I die I want to pass peacefully in my sleep like my grandfather did, not screaming and yelling like the passengers in his car."
There are programs that do this. Badly.Originally posted by OmnipotentCow
Is there a way to take a executable file, and turn it into source code you can read and edit?
I looked on my compiler options, and it has nothing like this it seems.
Think of it as trying to "unbake a cake".
Ya, now that i really think about it, it's pretty much the same as pirating software or what not.
Oh well, just a thought i had when reading through this book.
Yes and no. Most programs come with data files that have graphics and what not that would be shipped with the executable. So while with most programes, if you could decompile them accurately and get the source code, you still wouldn't have all of the needed data to get a working program (as you would if you "pirated" it).Originally posted by OmnipotentCow
Ya, now that i really think about it, it's pretty much the same as pirating software or what not.
But I admit it would be handy, fun even, to have the source to a few programs to tweak them or just to see how they did things.
Quzah.
Hope is the first step on the road to disappointment.
Isn't that what disassemblers are for?Originally posted by quzah
But I admit it would be handy, fun even, to have the source to a few programs to tweak them or just to see how they did things.
yeah disassemblers output assembly instructions which are different for each system and not the easiest thing to read.
i think there is a program that takes that assembly code, and translates it to c/c++... badly
"I don't suffer from insanity but enjoy every minute of it" - Edgar Allen Poe
http://www.Bloodware.net - Developing free software for the community.
code warrior can do it I think.
They say that if you play a Windows Install CD backwords, you hear satanic messages. That's nothing; play it forward and it installs Windows.
check this file it has a prog to do what u asked for
put the contents of e2c1.zip & e2c2.zip in a folder and run the program