🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #18155

Re: Is secret code impossible with VM & Bytecodes?

#18155
From: Will Dickson
Date: Fri, 31 Jul 1998 00:00
27 lines
2004 bytes
Cem Redif <c.redif@btinternet.com> wrote:

>Hi All,
>
>In languages like C++, you could make your code secret, since it's
>compiled to a machine code of a specific operating system.  However,
>with Java, if you compile your program to bytecodes, there are good
>decompilers out there, that can reproduce your code in neat format
>(without the comments of course).  Hence, my question is: what can you
>do to make you code secret, so that if your competitors get hold of it
>they can't have a peek !?  For example, if a company called
>AccountSoftware developed a package called AccountWizard in Java.  What
>stops a competitor company from purchasing AccountWizard and view the
>code via a decompiler?
>
>Any info. would be greatly appreciated.

An obfuscator (such as JBuilder's) makes reverse-engineering more
difficult. However, it can still be done given enough time and effort.
The same is true of native-compiled code as produced by C++ et al. -
although analysing decompiled C++ is like pushing a dead whale along a
beach (unpleasant and slow), it can be done. Presumably it would also
be possible for a Java compiler to employ similar "armoured code"
(techniques to make reverse-engineering more difficult) to that which
can be produced in assembler.

Will Dickson.
Technical Details
Message-ID: <35c1918c.304819296@news.demon.co.uk>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <35C18427.1295AF56@btinternet.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,de80117c7920bcef
X-Google-Attributes: gidf74b3,public
From: wrd@glaurung.demon.co.uk (Will Dickson)
Subject: Re: Is secret code impossible with VM & Bytecodes?
Date: 1998/07/31
Message-ID: <35c1918c.304819296@news.demon.co.uk>
X-Deja-AN: 376626542
Content-Transfer-Encoding: 7bit
X-NNTP-Posting-Host: glaurung.demon.co.uk:158.152.178.66
References: <35C18427.1295AF56@btinternet.com>
Content-Type: text/plain; charset=us-ascii
X-Complaints-To: abuse@demon.net
X-Trace: news.demon.co.uk 901878543 nnrp-02:12528 NO-IDENT glaurung.demon.co.uk:158.152.178.66
MIME-Version: 1.0
Newsgroups: borland.public.jbuilder.java.language