![]() |
|
|
|
#1
|
|||
|
|||
|
Decompilation: On the Technical Infeasability
It is computationally infeasible to decompile arbitrary bytecode output back to C++, except in certain (isolated) special instances, such as targeting a subset of C++, and targeting a specific architecture and compiler. In the case of VMs, such as Java and Flash, it is possible due to the (relatively limited) nature of the output bytecode. In the case of C++, the myriad of possible compilation options, optimization, debugging code, etc. complicates matters enormously; what's more, there is significant data loss through discarded variable names in the interest of size, etc. Decompilation is thus an NP-complete problem that can only be partially solved through the use of O(n^2) algorithms; that this is verifiable has been demonstrated on several occasions in respected computational and information theory journals.
Though many have strived to produce such a result, the room for leeway is slight, and (generally) does not work on arbitrary, but rather specially-constructed programs in a very limited way. The entire methodology is flawed; the most effective way to obtain lost source code is to glean understanding from the underlying assembly code and then recreating it through existing programming knowledge. Sincerely, -archaios |
|
#2
|
|||
|
|||
|
Yes, I know decompilng is impossible...
But check this location: hxxp://www.backerstreet.com/cg/work.htm There are several decompiling projects an infos. Maybe some of them are useful. gypsy |
|
#3
|
|||
|
|||
|
See uncc
you can see uncc,which can decompile to c language, and I am working on it to enhance it's ability.
you can find uncc on the net easily. |
|
#4
|
|||
|
|||
|
It maybe rewrite, but not decompiling.
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Decompiling the mov compiler | chants | General Discussion | 3 | 12-08-2016 21:16 |
| Who are familiar with decompiling? | DMichael | General Discussion | 3 | 08-09-2013 01:04 |
| VB3 decompiling | wasq | General Discussion | 23 | 05-23-2005 02:30 |