1996-01-24 - Re: Hack Java

Header Data

From: Matthew Sheppard <Matthew.Sheppard@Comp.VUW.AC.NZ>
To: cypherpunks@toad.com
Message Hash: 71f536405244aba6358ed5960f54484ae6dd42a4a00830c0f32ed193d5da3996
Message ID: <199601240433.RAA30064@bats.comp.vuw.ac.nz>
Reply To: <9601231630.AA07540@sulphur.osf.org>
UTC Datetime: 1996-01-24 06:05:38 UTC
Raw Date: Wed, 24 Jan 1996 14:05:38 +0800

Raw message

From: Matthew Sheppard <Matthew.Sheppard@Comp.VUW.AC.NZ>
Date: Wed, 24 Jan 1996 14:05:38 +0800
To: cypherpunks@toad.com
Subject: Re: Hack Java
In-Reply-To: <9601231630.AA07540@sulphur.osf.org>
Message-ID: <199601240433.RAA30064@bats.comp.vuw.ac.nz>
MIME-Version: 1.0
Content-Type: text/plain


The shadowy figure took form and announced "I am Rich Salz and I say ...
> Then if I have the code
> 
> 	tricky_pointer = 10000;
> 	for (; tricky_pointer < 50000 ;) {
> 		dumptofile(trick.data)
> 		tricky_pointer += 16;
> 	}

Aside from memory management in java being internal to the virtual
machine as covered in other posts  Java is a strongly typed language.
There is no notion of void * (pointers that point to anything) and the
current implementation ensures the pointer is either null or valid.

Even if you could the current implementation disallows any pointer
arithmetic at all! i.e no pointer++;

Also if the object your pointing at is destroyed your pointer will be
updated to null or you will generate an exception when you next use it
as per the bargabe collection policy.

--Matt





Thread