Searched refs:dlinfo (Results 1 - 10 of 10) sorted by relevance

/freebsd-10.3-release/contrib/netbsd-tests/libexec/ld.elf_so/
H A Dt_dlinfo.c41 atf_tc_set_md_var(tc, "descr", "dlinfo with RTLD_SELF handle works");
48 rv = dlinfo(RTLD_SELF, RTLD_DI_LINKMAP, &map);
56 atf_tc_set_md_var(tc, "descr", "dlinfo with invalid handle fails");
63 rv = dlinfo(NULL, RTLD_DI_LINKMAP, &v);
70 atf_tc_set_md_var(tc, "descr", "dlinfo dlopen'd handle works");
81 rv = dlinfo(handle, RTLD_DI_LINKMAP, &map);
100 RZ(dlinfo(RTLD_SELF, RTLD_DI_LINKMAP, &map));
/freebsd-10.3-release/contrib/llvm/lib/Support/Unix/
H A DSignals.inc277 Dl_info dlinfo;
278 dladdr(StackTrace[i], &dlinfo);
279 const char* name = strrchr(dlinfo.dli_fname, '/');
282 if (name == NULL) nwidth = strlen(dlinfo.dli_fname);
289 Dl_info dlinfo;
290 dladdr(StackTrace[i], &dlinfo);
294 const char* name = strrchr(dlinfo.dli_fname, '/');
295 if (name == NULL) fprintf(FD, " %-*s", width, dlinfo.dli_fname);
301 if (dlinfo.dli_sname != NULL) {
305 char* d = abi::__cxa_demangle(dlinfo
[all...]
/freebsd-10.3-release/lib/libthr/thread/
H A Dthr_exit.c73 Dl_info dlinfo; local
81 if (dladdr(forcedunwind, &dlinfo)) {
86 if ((handle = dlopen(dlinfo.dli_fname, RTLD_LAZY)) != NULL) {
/freebsd-10.3-release/include/
H A Ddlfcn.h50 * Request arguments for dlinfo().
59 * Special handle arguments for dlsym()/dlinfo().
98 * Structures, returned by the RTLD_DI_SERINFO dlinfo() request.
124 int dlinfo(void * __restrict, int, void * __restrict);
/freebsd-10.3-release/lib/libc/gen/
H A Ddlfcn.c130 #pragma weak dlinfo macro
132 dlinfo(void * __restrict handle, int request, void * __restrict p) function
H A DMakefile.inc187 dlinfo.3 \
/freebsd-10.3-release/contrib/libpcap/
H A Dpcap-libdlpi.c106 dlpi_info_t dlinfo; local
184 if ((retv = dlpi_info(p->dlpi_hd, &dlinfo, 0)) != DLPI_SUCCESS) {
189 if (pcap_process_mactype(p, dlinfo.di_mactype) != 0)
/freebsd-10.3-release/cddl/contrib/opensolaris/lib/libdtrace/common/
H A Ddrti.c175 if (dlinfo(RTLD_SELF, RTLD_DI_LINKMAP, &lmp) == -1 || lmp == NULL) {
181 if (dlinfo(RTLD_SELF, RTLD_DI_LMID, &lmid) == -1) {
/freebsd-10.3-release/contrib/ofed/libsdp/src/
H A Dport.c2579 if (NULL != dlinfo(RTLD_SELF, RTLD_DI_ARGSINFO, &args_info)) {
/freebsd-10.3-release/libexec/rtld-elf/
H A Drtld.c217 int dlinfo(void *, int , void *) __exported;
2246 linkmap_add(obj); /* for GDB & dlinfo() */
3301 dlinfo(void *handle, int request, void *p) function
3338 _rtld_error("Invalid request %d passed to dlinfo()", request);
3440 _rtld_error("Uninitialized Dl_serinfo struct passed to dlinfo()");

Completed in 181 milliseconds