Back to index

glibc  2.9
dladdr1.c File Reference
#include <dlfcn.h>
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


int __dladdr1 (const void *address, Dl_info *info, void **extra, int flags)

Function Documentation

int __dladdr1 ( const void *  address,
Dl_info *  info,
void **  extra,
int  flags 

Definition at line 33 of file dladdr1.c.

# ifdef SHARED
  if (__builtin_expect (_dlfcn_hook != NULL, 0))
    return _dlfcn_hook->dladdr1 (address, info, extra, flags);
# endif

  switch (flags)
    default:                /* Make this an error?  */
    case 0:
      return _dl_addr (address, info, NULL, NULL);
    case RTLD_DL_SYMENT:
      return _dl_addr (address, info, NULL, (const ElfW(Sym) **) extra);
      return _dl_addr (address, info, (struct link_map **) extra, NULL);

Here is the call graph for this function: