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

/freebsd-11-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-11-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-11-stable/include/
H A Ddlfcn.h52 * Request arguments for dlinfo().
61 * Special handle arguments for dlsym()/dlinfo().
100 * Structures, returned by the RTLD_DI_SERINFO dlinfo() request.
126 int dlinfo(void * __restrict, int, void * __restrict);
/freebsd-11-stable/cddl/contrib/opensolaris/lib/libdtrace/common/
H A Ddrti.c121 if (dlinfo(RTLD_SELF, RTLD_DI_LINKMAP, &lmp) == -1 || lmp == NULL) {
127 if (dlinfo(RTLD_SELF, RTLD_DI_LMID, &lmid) == -1) {
/freebsd-11-stable/lib/libc/gen/
H A Ddlfcn.c145 #pragma weak dlinfo macro
147 dlinfo(void * __restrict handle __unused, int request __unused, function
H A DMakefile.inc191 dlinfo.3 \
/freebsd-11-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-11-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-11-stable/contrib/llvm-project/compiler-rt/lib/msan/
H A Dmsan_interceptors.cpp1437 struct dlinfo { struct
1444 INTERCEPTOR(int, dladdr, void *addr, dlinfo *info) {
/freebsd-11-stable/libexec/rtld-elf/
H A Drtld.c234 int dlinfo(void *, int , void *) __exported;
2596 linkmap_add(obj); /* for GDB & dlinfo() */
3783 dlinfo(void *handle, int request, void *p) function
3820 _rtld_error("Invalid request %d passed to dlinfo()", request);
3938 _rtld_error("Uninitialized Dl_serinfo struct passed to dlinfo()");

Completed in 219 milliseconds