I would like to be able to get the addresses of the local static variables that I use in a c program, during the compilation. Could anyone help me on the way to get them?
Thank you for your help;
ben
All variables will be allocated memory space with reference to some base location. All this information will be stored in a symbolic table. Until the exe is loaded into the main memory, there is no way of telling the address of any variable.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.