Skip to main content



      Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Code obfuscation for plugins
Code obfuscation for plugins [message #459193] Tue, 28 November 2006 20:34 Go to next message
Eclipse UserFriend
Originally posted by: devals9.hotmail.com

Hello,
I have developed an RCP application which contains many plugins. Before we ship it to the client I would like to obfuscate the code. I have been trying to do this since many days now but I am finding it difficult for multiple plugins. It works fine for 1 plugin. Any ideas on this?

Thank you in advance
Deval
Re: Code obfuscation for plugins [message #459197 is a reply to message #459193] Tue, 28 November 2006 21:42 Go to previous messageGo to next message
Eclipse UserFriend
Why? The source is not included in your RCP unless you explicitly include
it. I am asking for my own education, not as a criticism. Thanks.


On 11/28/06 6:34 PM, in article
10526874.1164764128369.JavaMail.root@cp1.javalobby.org, "Deval"
<devals9@hotmail.com> wrote:

> Hello,
> I have developed an RCP application which contains many plugins. Before we
> ship it to the client I would like to obfuscate the code. I have been trying
> to do this since many days now but I am finding it difficult for multiple
> plugins. It works fine for 1 plugin. Any ideas on this?
>
> Thank you in advance
> Deval
Re: Code obfuscation for plugins [message #459198 is a reply to message #459197] Tue, 28 November 2006 21:56 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: remy.suen.gmail.com

J Michael Dean wrote:
> Why? The source is not included in your RCP unless you explicitly include
> it. I am asking for my own education, not as a criticism. Thanks.

I'm guessing Deval is asking for some form of classfile obfuscation to
protect against decompilation?

Regards,
Rem
Re: Code obfuscation for plugins [message #459368 is a reply to message #459193] Thu, 30 November 2006 12:30 Go to previous messageGo to next message
Eclipse UserFriend
Hi Deval,

Yes, it is possible to obfuscate RCP applications. The trick is to use an
obfuscator that will load all of your plugin jars into memory at the same
time. I currently use Zelix Klassmaster, and this works fine. I've also
heard that ProGuard can do this, but I haven't tried.

I've been meaning to post the process I use on my blog, but I've been
swamped lately. Hopefully, I'll get to it in the next few days, and I'll
update this thread when it's there.

--- Patrick
patrick@rcpquickstart.com
www.rcpquickstart.com

Deval wrote:

> Hello,
> I have developed an RCP application which contains many plugins. Before we
ship it to the client I would like to obfuscate the code. I have been trying
to do this since many days now but I am finding it difficult for multiple
plugins. It works fine for 1 plugin. Any ideas on this?

> Thank you in advance
> Deval
Re: Code obfuscation for plugins [message #459420 is a reply to message #459368] Thu, 30 November 2006 19:00 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: devals9.hotmail.com

Hello,
Yes I read that it will be possible to obfuscate with Zelix. I am in the process of doing that. Will let your'll know when I am done.
Re: Code obfuscation for plugins [message #459521 is a reply to message #459368] Mon, 04 December 2006 10:16 Go to previous message
Eclipse UserFriend
Just following up to mention that I've posted a description of my
obfuscation process. You can read it at:

http://www.rcpquickstart.com/obfuscating_an_rcp_application

--- Patrick Paulin
patrick@rcpquickstart.com
www.rcpquickstart.com


Patrick Paulin wrote:

> I've been meaning to post the process I use on my blog, but I've been
> swamped lately. Hopefully, I'll get to it in the next few days, and I'll
> update this thread when it's there.
Previous Topic:NoClassDefFoundError
Next Topic:PartInitException instead of editor opened - Newbie question
Goto Forum:
  


Current Time: Thu Mar 27 01:15:15 EDT 2025

Powered by FUDForum. Page generated in 0.02795 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top