Thursday, July 30, 2009

Is there any program that can open a encrypted dll file and show the original c++ source code?

You would have to know which software and its version compiled the code to come close to the actual source code.

Is there any program that can open a encrypted dll file and show the original c++ source code?
DLL files, like all programs are actually in machine code which can easily be converted to assembly code (think of it as human readable code but just barely)....any attempts to convert that to a higher-level language such as C/C++ is possible but any attempts are virtually always met with "estimates" which dont end up compiling the same way ever again. So, in a nut-shell, to get the "oringal C++ source code" is impossible, but to get a guestimate on a C++ source that represents what it could have been is potentially possible, but more than likely but you would then have to do some major work cleaning things up to make it work the same again.





Howeve,r if the DLL file was done in .Net (using one of the languages: VB.Net, C#, or Managed C++, etc) then YES you can get back the original source code quite easily (with comments)....But if the code you are looking for was originalyl done in C++ then pray it was done in Managed C++ otherwise you are out of luck (for the most part). This is not to say it is impossbile but things just got more difficult....and comments wont be apart too
Reply:Rain is right... the reverse compiling process produces a rough result of the original source code...There's more than one way to skin a cat... so that the skincat() function may have different variations - In most cases, a reverse compiler can not figure out which skincat() function was actually utilized. Although the recent recipients of the Turing award may have figured out a way...


No comments:

Post a Comment