Blitz (11/640)

From:Tony Rolfe
Date:11 Aug 99 at 04:28:11
Subject:Re: ASL multi-select (pointers)

On Mon, 09 Aug 1999 21:37:42 -0500 Curt Esser said:
> Hi Tony
>
> On 09-Aug-99, Tony Rolfe wrote:
>
> {pointers}
>
> > OK, here's my attempt to explain.
> >
> > A Pointer is just a longword variable which contains the address of
> > the thing which you actually want to reference. This is essential
> > when referring to system structures and very useful for your own
> > stuff.
>
> To be completely accurate, is the address in RAM of something, (a variable,
> a NewType structure, or simply a block of memory) as opposed to an offset
> within your actual program code.
> >
Of course, you could set up a pointer to point at something in
your program like:

deftype.Alien Fred

*FredPtr = &Fred

or even point at a code section, so you could dynamically modify code
and really make life hard for hackers... now that's a point. Why
not have some realistic-looking code which seems to validate a keyfile
and overwrite it just before executing it (or poiisbly do the third
step of an XOR? Hmmm...



Tony Rolfe
Amiga 2000, 68030/25, 1+4Mb
www.shoalhaven.net.au/edgewater

---------------------------------------------------------------------
To unsubscribe, e-mail: blitz-list-unsubscribe@netsoc.ucd.ie
For additional commands, e-mail: blitz-list-help@netsoc.ucd.ie