BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 05-08-2009, 07:58 AM   #1 (permalink)
New Member
 
Join Date: May 2009
Model: 9000
PIN: N/A
Carrier: att
Posts: 1
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Decompiling a COD file

Please Login to Remove!

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?
Offline  
Old 05-09-2009, 06:52 AM   #2 (permalink)
New Member
 
Join Date: May 2009
Model: 8830
PIN: N/A
Carrier: Cingular
Posts: 3
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

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.
Offline  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On





Copyright © 2004-2014 BlackBerryForums.com.
The names RIM © and BlackBerry © are registered Trademarks of BlackBerry Inc.