Dl_info

Contains information about a symbol.

Service:Library

Structure

  #include <dlfcn.h>
  
  typedef struct
  {
     void   *dli_fbase;
     char    dli_fname[PATH_MAX+1];
     void   *dli_saddr;
     char    dli_sname[MAX_SYMNAME_LEN+1];
  } Dl_info;
  

Fields

dli_fbase

Points to base address of the mapped object containing the specified address.

dli_fname

Specifies the name of the file of the mapped object containing the specified address.

dli_saddr

Points to the address of the nearest symbol.

dli_sname

Specifies the name of the nearest symbol. This symbol has either the same address or is the nearest symbol with a lower address.