Get shared library name from handle

2019-09-04 12:08发布

问题:

I'm calling a library function that takes a parameter, loads an appropriate shared library and returns a handle to the so. The library calls calls dlopen to open a reference to the shared library. Is there a way I can get the name/path of the shared library from the handle returned?