BlackBerry Forums Support Community

BlackBerry Forums Support Community (http://www.blackberryforums.com/)
-   Developer Forum (http://www.blackberryforums.com/developer-forum/)
-   -   Decompiling a COD file (http://www.blackberryforums.com/developer-forum/189216-decompiling-cod-file.html)

polarbear1400 05-08-2009 06:58 AM

Decompiling a COD file
 
A had a project where the hard drive crashed and I only have the remaining COD file, is there anyway to retrieve the source code from this?

I would be VERY greatful for any help?

SergGr 05-09-2009 05:52 AM

Unfortunately there is almost no chances. Besides the fact the cod-files is proprietary and non-documented format, code is also obfuscated there. Here is a quote from official RIM's doc:
Quote:

Obfuscate applications

Unlike traditional compilers, the compiler for the BlackBerry platform is optimized for a constrained wireless environment where the goal is to minimize the size of the application. The resulting .cod file provides a significant amount of obfuscation-like services similar to other true obfuscation packages in an effort to reduce the size of the .cod file itself. For example, the following information is removed from a .cod file:
•all debug information
•local variable names
•source Line Numbers
•private method and member names
As such, RIM does not believe it is necessary to provide obfuscation for applications in addition to the existing obfuscation provided by default for all applications compiled for the BlackBerry platform. In fact, RIM does not perform any additional obfuscation of its own products.


All times are GMT -5. The time now is 06:36 PM.

Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.