liokaiser
- 4
- 0
anyone knows how to obtain the source code from the execute file itself?
That's not entirely true. There are "underground" programs that can decompile programs to the exact source code (I know of 2 that work for sure). However; these programs are illegal and cannot be obtained. Also, you need to remember, fully decompiling software is against the law. There was a supreme court ruling about this issue awhile back. So your only hope of seeing the unfinished source code of a program, is by using reverse engineering.chroot said:It's not possible to obtain the exact same source code that the original authors wrote. Variable names, for example, are generally lost during the compilation. All you can do is use a decompiler to generate one of the possible source codes that could have been compiled to the given code.
- Warren
I'm not going to name any here for obvious reasons. Contact me on AIM one day and I'll link you to a few sites with the programs. And yes, you do lose comments and the format, but you never lose variable and constant names. Sometimes, however, they are "hidden" and harder to come across.chroot said:Cod,
Please name some of these mythical underground programs. When you compile a program in C, for example, you lose comments, formatting, and often variable and constant names. There is no way to recreate this lost information, even in principle.
- Warren
Cod said:I'm not going to name any here for obvious reasons. Contact me on AIM one day and I'll link you to a few sites with the programs. And yes, you do lose comments and the format, but you never lose variable and constant names. Sometimes, however, they are "hidden" and harder to come across.
chroot said:master_coda,
I was just waiting to hear about these "elite hacker decompilers" that are capable of decompiling Windows into source before making those statements.
- Warren
Too ambitious. I'll be happy when I finish the one that just identifies infinite loops.Originally posted by master_coda:
But these discussions distract me from writing my program that automatically finds and fixes all the bugs in a program.
chroot said:gnome,
Look into the so-called "Cleanroom Software Engineering" techniques. A good book is Stavely's "Toward Zero Defect Programming." If you learn to use consistent and verifiable structures in your code, you'll be much less likely to introduce bugs of that kind.
- Warren
gnome said:Too ambitious. I'll be happy when I finish the one that just identifies infinite loops.![]()
chronon said:No problem. Say your computer can access at most N bits of storage. Then it can have at most 2^N distinct states. You just run the program for 2^N steps. :zzz: If it hasn't finished by then, its stuck in an infinite loop.
Concord said:Sooo, where are the *relations* of your posts to the OP ?
Is this some sort of secret code?originally posted by Concord:
Sooo, where are the *relations* of your posts to the OP ?
gnome said:Is this some sort of secret code?