1 PPLTDEST(3PROC)        Process Control Library Functions       PPLTDEST(3PROC)
   2 
   3 NAME
   4      Ppltdest - determine PLT destination symbol
   5 
   6 LIBRARY
   7      Process Control Library (libproc, -lproc)
   8 
   9 SYNOPSIS
  10      #include <libproc.h>
  11 
  12      const char *
  13      Ppltdest(struct ps_prochandle *P, uintptr_t addr);
  14 
  15 DESCRIPTION
  16      The Ppltdest() function determines if the address at addr in the process
  17      handle P corresponds to an entry in the procedure linkage table (PLT) and
  18      if so, returns a pointer to a null-terminated character string that
  19      contains the symbol's name.  The returned pointer is not valid after any
  20      other calls to function in libproc(3LIB).  The Ppltdest() is also a
  21      useful way to determine if addr corresponds to an address in the PLT.
  22 
  23 RETURN VALUES
  24      Upon successful completion, the Ppltdest() returns a pointer to a
  25      character string with the name.  Otherwise, NULL is returned.
  26 
  27 INTERFACE STABILITY
  28      Uncommitted
  29 
  30 MT-LEVEL
  31      See LOCKING in libproc(3LIB).
  32 
  33 SEE ALSO
  34      libproc(3LIB)
  35 
  36      Linkers and Libraries Guide.
  37 
  38 illumos                          May 11, 2016                          illumos