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

/freebsd-13-stable/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-13-stable/contrib/llvm-project/llvm/lib/Support/Unix/
H A DSignals.inc580 Dl_info dlinfo;
581 dladdr(StackTrace[i], &dlinfo);
582 const char* name = strrchr(dlinfo.dli_fname, '/');
585 if (!name) nwidth = strlen(dlinfo.dli_fname);
592 Dl_info dlinfo;
593 dladdr(StackTrace[i], &dlinfo);
597 const char* name = strrchr(dlinfo.dli_fname, '/');
598 if (!name) OS << format(" %-*s", width, dlinfo.dli_fname);
604 if (dlinfo.dli_sname != nullptr) {
607 char* d = itaniumDemangle(dlinfo
[all...]
/freebsd-13-stable/include/
H A Ddlfcn.h54 * Request arguments for dlinfo().
63 * Special handle arguments for dlsym()/dlinfo().
102 * Structures, returned by the RTLD_DI_SERINFO dlinfo() request.
128 int dlinfo(void * __restrict, int, void * __restrict);
/freebsd-13-stable/lib/libc/gen/
H A Ddlfcn.c150 #pragma weak dlinfo macro
152 dlinfo(void * __restrict handle __unused, int request __unused, function
H A DMakefile.inc217 dlinfo.3 \
/freebsd-13-stable/cddl/contrib/opensolaris/lib/libdtrace/common/
H A Ddrti.c122 if (dlinfo(RTLD_SELF, RTLD_DI_LINKMAP, &lmp) == -1 || lmp == NULL) {
128 if (dlinfo(RTLD_SELF, RTLD_DI_LMID, &lmid) == -1) {
/freebsd-13-stable/contrib/libpcap/
H A Dpcap-libdlpi.c102 dlpi_info_t dlinfo; local
199 if ((retv = dlpi_info(pd->dlpi_hd, &dlinfo, 0)) != DLPI_SUCCESS) {
205 if (pcap_process_mactype(p, dlinfo.di_mactype) != 0) {
/freebsd-13-stable/contrib/llvm-project/libunwind/src/
H A DAddressSpace.hpp77 Dl_info dlinfo; local
78 if (!dladdr(addr, &dlinfo))
81 const struct mach_header_64 *mh = (const struct mach_header_64 *)dlinfo.dli_fbase;
83 const struct mach_header *mh = (const struct mach_header *)dlinfo.dli_fbase;
/freebsd-13-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_netbsd.cpp269 DEFINE__REAL(int, dlinfo, void *a, int b, void *c);
270 return _REAL(dlinfo, handle, request, p);
H A Dsanitizer_linux.cpp746 return dlinfo(handle, request, p);
/freebsd-13-stable/contrib/llvm-project/compiler-rt/lib/msan/
H A Dmsan_interceptors.cpp1428 struct dlinfo { struct
1435 INTERCEPTOR(int, dladdr, void *addr, dlinfo *info) {
/freebsd-13-stable/libexec/rtld-elf/
H A Drtld.c249 int dlinfo(void *, int , void *) __exported;
2666 linkmap_add(obj); /* for GDB & dlinfo() */
3858 dlinfo(void *handle, int request, void *p) function
3895 _rtld_error("Invalid request %d passed to dlinfo()", request);
4016 _rtld_error("Uninitialized Dl_serinfo struct passed to dlinfo()");

Completed in 197 milliseconds