PS_PGLOBAL_LOOKUP(3PROC) | Process Control Library Functions | PS_PGLOBAL_LOOKUP(3PROC) |
ps_pglobal_lookup, ps_pglobal_sym - look up a symbol in the symbol table of the load object in the target process
#include <proc_service.h> ps_err_e ps_pglobal_lookup(struct ps_prochandle *ph,
const char *object_name, const char *sym_name,
psaddr_t *sym_addr);
ps_err_e ps_pglobal_sym(struct ps_prochandle *ph,
const char *object_name, const char *sym_name,
ps_sym_t *sym);
ps_pglobal_lookup() looks up the symbol sym_name in the symbol table of the load object object_name in the target process identified by ph. It returns the symbol's value as an address in the target process in *sym_addr.
ps_pglobal_sym() looks up the symbol sym_name in the symbol table of the load object object_name in the target process identified by ph. It returns the symbol table entry in *sym. The value in the symbol table entry is the symbol's value as an address in the target process.
PS_OK
PS_NOSYM
PS_ERR
See attributes(7) for description of the following attributes:
ATTRIBUTE TYPE | ATTRIBUTE VALUE |
MT Level | Safe |
kill(2), libc_db(3LIB), proc_service(3PROC), attributes(7), threads(7)
January 16, 1998 | OmniOS |