Paulo J. Matos wrote:
If you are using glibc, you could try the dladdr() function. Otherwise you can try addr2line as you suggested.Hello all, Is there a way to access the symbol table during runtime to know which function belongs to a given address. The problem is to print the function name if I am instrumenting functions. I get the address, can I during runtime print the function name? (or the solution is get it through addr2line after program as run)?
David Daney.