xref: /illumos-gate/usr/src/man/man3lib/librtld_db.3lib (revision a386cc11a86ecb60f5a48078d22c1500e2ad003e)
te
Copyright (c) 2007, Sun Microsystems, Inc. All Rights Reserved.
The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
LIBRTLD_DB 3LIB "Oct 12, 2007"
NAME
librtld_db - runtime linker debugging library
SYNOPSIS

cc [ flag ... ] file ... -lrtld_db [ library ... ]
#include <proc_service.h>
#include <rtld_db.h>
DESCRIPTION

Functions is this library are useful for building debuggers for dynamically linked programs. For a full description of these interfaces refer to the Linker and Libraries Guide.

To use librtld_db, applications need to implement the interfaces documented in ps_pread(3PROC) and proc_service(3PROC).

INTERFACES

The shared object librtld_db.so.1 provides the public interfaces defined below. See Intro(3) for additional information on shared object interfaces.

rd_delete rd_errstr
rd_event_addr rd_event_enable
rd_event_getmsg rd_init
rd_loadobj_iter rd_log
rd_new rd_objpad_enable
rd_plt_resolution rd_reset
FILES
/lib/librtld_db.so.1

shared object

/lib/64/librtld_db.so.1

64-bit shared object

ATTRIBUTES

See attributes(5) for description of the following attributes:

ATTRIBUTE TYPE ATTRIBUTE VALUE
MT-Level Safe
SEE ALSO

ld.so.1(1), pvs(1), Intro(3), proc_service(3PROC), ps_pread(3PROC), rtld_db(3EXT), attributes(5)

Linker and Libraries Guide