| Obfuscation pitfalls [message #550408] |
Fri, 30 July 2010 05:42  |
Andrei Lissovski Messages: 13 Registered: July 2009 |
Junior Member |
|
|
Hi,
We're looking to obfuscate several "crown jewel" plug-ins in our RCP application and want to avoid possible breakages, especially with automatic updates to the application features/plug-ins. We have experimented with Obfuscate4e/ProGuard and have been generally pleased with the results. We did, however, encounter and resolve several breakages with the default ProGuard configs generated by Obfuscate4e. These are of course not due to a fault of their own but rather because in some cases they have no way of figuring out what should not be obfuscated. Specifically, we had to exclude:
- Classes we're serializing with XStream
- Classes that are contributed via our own extensions points
What other potential pitfalls should we be on the lookout for? Are there any best practices that you have identified for obfuscating your RCP applications?
Thanks a lot!
-Andrei
photogoodness.com
|
|
|
|
| Re: Obfuscation pitfalls [message #550576 is a reply to message #550408] |
Fri, 30 July 2010 17:23   |
Alan Messages: 5 Registered: July 2009 |
Junior Member |
|
|
Hello Andrei,
I have successfully used KlassMaster to obfuscate my plugin. It even handled the plugin.xml files and changed the names of my classes referenced under the extension points. So I did not have to exclude them from obfuscation.
As to best practices, I can only suggest keeping the obfuscation logs for shipped releases in a safe place so that stack traces in bug reports can be interpreted. But that's pretty obvious :)
Cheers
Alan
Cheers
Alan
|
|
|
|
| Re: Obfuscation pitfalls [message #735785 is a reply to message #550413] |
Wed, 12 October 2011 13:29  |
chalksb Messages: 1 Registered: October 2011 |
Junior Member |
|
|
Hi Tom,
Would you please point me to the direction of your published blog about Proguard in conjunction with Hibernate?
I find myself hopelessly stuck with trying to obfuscate my war file with hibernate and stripes.
Thank you very much!
Chalk
|
|
|
Powered by
FUDForum. Page generated in 0.01834 seconds