P
pater
Following a book, i read that the address of the environment variables
depends on the program name... and it won't change until u change it.
Making some tries, on my ubuntu, i found out that it changes every
time i execute the program. So, there's no way to predict what
addresses the env vars would take?
I need these infos cuz i need to put datas in the stack to be easily
picked up by the program itself, without using getenv, only with an
address.
depends on the program name... and it won't change until u change it.
Making some tries, on my ubuntu, i found out that it changes every
time i execute the program. So, there's no way to predict what
addresses the env vars would take?
I need these infos cuz i need to put datas in the stack to be easily
picked up by the program itself, without using getenv, only with an
address.