>I found a solution using dlsym and procfs. >The problem is that I need an address from inside the module in case >I like to get the name for an arbitrary library handle. Do you believe that it >should always work to try retrieving the address for "_DYNAMIC"?
"_init" and "_fini" are hard to avoid in a shared library. Casper