Electric_Pulse
New Member
When a program is compiled all the variable names get turned into memory pointers right?
How come I can attach to any process (I have tried the root process and the user bash shell) and print the __environ variable - how does gdb know at what address this variable will be? Is this what "stripping" gets rid off?
How come I can attach to any process (I have tried the root process and the user bash shell) and print the __environ variable - how does gdb know at what address this variable will be? Is this what "stripping" gets rid off?