Obtains information about the symbol that is most closely defined by the specified address.
#include <dlfcn.h> int dladdr ( const void *addr, Dl_info *info );
(IN) Points to the address to use for searching for a symbol.
(OUT) Points to the symbol information associated with the address.
If successful, returns a non-zero value. Otherwise, returns 0 and the structure contains invalid values.
The dladdr function searches for the nearest symbol whose address is equal to, or closest to but less than, the specified address.