> > In other words, how can i determine the starting address.
>
> More generally, what are you really trying to accomplish?
the best you can do is get a pointer reference to the start()
function that is built into the program loader using code like
this:
extern ULong start();
{
BytePtr startAddress = (BytePtr)&start;
}
if you want to use this to perform 'check sum' checks, then
you will have to insert a piece of data at the END of the
program (maybe a "NULL") - and then search for it. you should
be able to work right through your programs address space :)
cheers
az.
--
Aaron Ardiri
Java Certified Programmer http://www.hig.se/~ardiri/
University-College i G�vle mailto:[EMAIL PROTECTED]
SE 801 76 G�vle SWEDEN
Tel: +46 26 64 87 38 Fax: +46 26 64 87 88
Mob: +46 70 656 1143 A/H: +46 26 10 16 11