public inbox for java-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* modify gcj for encrypt class-Files
@ 2006-03-08 15:38 kobefan
  2006-03-08 17:51 ` Tom Tromey
  0 siblings, 1 reply; 2+ messages in thread
From: kobefan @ 2006-03-08 15:38 UTC (permalink / raw)
  To: java-patches

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="us-ascii", Size: 445 bytes --]

Hello,

I'm looking for a solution of modifying the GCJ. I want to encrypt java
source files while compiling so it results in encrypted .class files. The
Decryption should take place on-the-fly while execute the .class Files.

Could someone help me? What do I have to do or are there any good
information sources available???


regards
Toni

-- 
Echte DSL-Flatrate dauerhaft für 0,- Euro*!
"Feel free" mit GMX DSL! http://www.gmx.net/de/go/dsl

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: modify gcj for encrypt class-Files
  2006-03-08 15:38 modify gcj for encrypt class-Files kobefan
@ 2006-03-08 17:51 ` Tom Tromey
  0 siblings, 0 replies; 2+ messages in thread
From: Tom Tromey @ 2006-03-08 17:51 UTC (permalink / raw)
  To: kobefan; +Cc: java-patches

>>>>> "Toni" == kobefan  <kobefan@gmx.net> writes:

Toni> I'm looking for a solution of modifying the GCJ. I want to encrypt java
Toni> source files while compiling so it results in encrypted .class files. The
Toni> Decryption should take place on-the-fly while execute the .class Files.

Toni> Could someone help me? What do I have to do or are there any good
Toni> information sources available???

When generating class files, you could encrypt them in a separate
step.

Reading a .class file at runtime is done in libjava/defineclass.cc.
That is one place you could decrypt.

Tom

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-03-08 17:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-03-08 15:38 modify gcj for encrypt class-Files kobefan
2006-03-08 17:51 ` Tom Tromey

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).