Re: Extracting Source code from Binary Files(.dll,.exe.,class)

From: Date: Fri, 14 Nov 2003 01:31:47 +0000
Subject: Re: Extracting Source code from Binary Files(.dll,.exe.,class)
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-169482@lists.php.net to get a copy of this message
Dear Christophe My Point is like this :::: .c source code/file/s --------- .obj file/s is done by the C compiler .obj file/s ------ .exe binary file is done by the Linker(Assembly Language) In the same way can we do the following steps to extract the .c source code/files as follows Step 1 : .exe binary file ------ Linker (assembly language) .......... .obj file/s Step 2 : .obj file/s -------- .c (Compiler) source code file/s Is it Right or i am going somewhere illogical? Awaiting Your Prompt Reply, Thanks & Regards, Prashant A ----- Original Message ----- From: Christophe Chisogne <christophe@publicityweb.com> To: <php-general@lists.php.net> Sent: Thursday, November 13, 2003 6:46 PM Subject: Re: [PHP] Extracting Source code from Binary Files(.dll,.exe.,class) > Prashant Akerkar wrote: > > Is it Possible to extract the source code from .exe, ... .class(java) files. > > [ I think you're way off-topic but... ] > > Nope. But you can try to decompile binaries or java class files. > Try googling for decompilation tools > > Note that decompiling softs can be prohibited by law enforcements > (not in Europe for interoperability reasons, but well in the US). > > Result from decompilation is not source code of course, can be made > very difficult, and result is very different from src code. > In particular case of java class files, decompilation can lead to > really good results (with bad-looking variable names tough) > > Christophe > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > >

« previous php.general (#169482) next »