Searched refs:dlvsym (Results 1 - 25 of 25) sorted by relevance

/netbsd-current/sys/external/bsd/compiler_rt/dist/lib/interception/
H A Dinterception_linux.cc20 #include <dlfcn.h> // for dlsym() and dlvsym()
46 // Android and Solaris do not have dlvsym
49 return dlvsym(RTLD_NEXT, func_name, ver);
/netbsd-current/external/gpl3/gcc.old/dist/libsanitizer/interception/
H A Dinterception_linux.cc18 #include <dlfcn.h> // for dlsym() and dlvsym()
43 // Android and Solaris do not have dlvsym
46 return dlvsym(RTLD_NEXT, func_name, ver);
/netbsd-current/external/gpl3/binutils.old/dist/gprofng/libcollector/
H A Dsynctrace.c400 ptr = dlvsym (dlflag, "pthread_mutex_lock", "GLIBC_2.0");
407 ptr = dlvsym (dlflag, "pthread_mutex_lock", "GLIBC_2.0");
422 ptr = dlvsym (dlflag, "pthread_mutex_unlock", "GLIBC_2.0");
430 ptr = dlvsym (dlflag, "pthread_cond_wait", "GLIBC_2.3.2");
438 ptr = dlvsym (dlflag, "pthread_cond_timedwait", "GLIBC_2.3.2");
446 ptr = dlvsym (dlflag, "pthread_join", "GLIBC_2.0");
454 ptr = dlvsym (dlflag, "sem_wait", "GLIBC_2.1");
466 ptr = dlvsym (dlflag, "sem_wait", "GLIBC_2.0");
474 ptr = dlvsym (dlflag, "pthread_cond_wait", "GLIBC_2.0");
482 ptr = dlvsym (dlfla
[all...]
H A Ddispatcher.c690 __real_pthread_create = dlvsym (dlflag, "pthread_create", SYS_PTHREAD_CREATE_VERSION);
696 __real_pthread_create = dlvsym (dlflag, "pthread_create", SYS_PTHREAD_CREATE_VERSION);
698 __real_timer_create = dlvsym (dlflag, "timer_create", SYS_TIMER_X_VERSION);
700 __real_timer_settime = dlvsym (dlflag, "timer_settime", SYS_TIMER_X_VERSION);
702 __real_timer_delete = dlvsym (dlflag, "timer_delete", SYS_TIMER_X_VERSION);
704 __real_timer_gettime = dlvsym (dlflag, "timer_gettime", SYS_TIMER_X_VERSION);
710 __real_pthread_create_2_0 = dlvsym (dlflag, "pthread_create", "GLIBC_2.0");
713 __real_timer_create_2_2_5 = dlvsym (dlflag, "timer_create", "GLIBC_2.2.5");
716 __real_timer_create_2_2 = dlvsym (dlflag, "timer_create", "GLIBC_2.2");
H A Diotrace.c448 __real_fopen = (FILE * (*)(const char*, const char*))dlvsym (dlflag, "fopen", SYS_FOPEN_X_VERSION);
454 __real_fopen = (FILE * (*)(const char*, const char*))dlvsym (RTLD_DEFAULT, "fopen", SYS_FOPEN_X_VERSION);
467 __real_fclose = (int (*)(FILE*))dlvsym (dlflag, "fclose", SYS_FOPEN_X_VERSION);
474 __real_fdopen = (FILE * (*)(int, const char*))dlvsym (dlflag, "fdopen", SYS_FOPEN_X_VERSION);
481 __real_fgetpos = (int (*)(FILE*, fpos_t*))dlvsym (dlflag, "fgetpos", SYS_FGETPOS_X_VERSION);
488 __real_fsetpos = (int (*)(FILE*, const fpos_t*))dlvsym (dlflag, "fsetpos", SYS_FGETPOS_X_VERSION);
503 __real_fopen_2_0 = (FILE * (*)(const char*, const char*))dlvsym (dlflag, "fopen", "GLIBC_2.0");
510 __real_fclose_2_0 = (int (*)(FILE*))dlvsym (dlflag, "fclose", "GLIBC_2.0");
517 __real_fdopen_2_0 = (FILE * (*)(int, const char*))dlvsym (dlflag, "fdopen", "GLIBC_2.0");
524 __real_fgetpos_2_0 = (int (*)(FILE*, fpos_t*))dlvsym (dlfla
[all...]
H A Dlibcol_util.c1151 ptr = dlvsym (libc, "open64", "GLIBC_2.2"); // it is in /lib/libpthread.so.0
1156 Tprintf (DBG_LT0, "libcol_util: WARNING: dlvsym for %s@%s failed. Using dlsym() instead.", "open64", "GLIBC_2.2");
1195 ptr = dlvsym (libc, "pwrite", "GLIBC_2.2"); // it is in /lib/libpthread.so.0
1200 Tprintf (DBG_LT0, "libcol_util: WARNING: dlvsym for %s@%s failed. Using dlsym() instead.", "pwrite", "GLIBC_2.2");
1215 ptr = dlvsym (libc, "pwrite64", "GLIBC_2.2"); // it is in /lib/libpthread.so.0
1220 Tprintf (DBG_LT0, "libcol_util: WARNING: dlvsym for %s@%s failed. Using dlsym() instead.", "pwrite64", "GLIBC_2.2");
1451 ptr = dlvsym (libc, "fopen", "GLIBC_2.1");
1456 Tprintf (DBG_LT0, "libcol_util: WARNING: dlvsym for %s@%s failed. Using dlsym() instead.", "fopen", "GLIBC_2.1");
1480 ptr = dlvsym (libc, "fclose", "GLIBC_2.1");
1485 Tprintf (DBG_LT0, "libcol_util: WARNING: dlvsym fo
[all...]
H A Dlinetrace.c680 __real_popen = dlvsym (dlflag, "popen", SYS_POPEN_VERSION);
684 __real_posix_spawn_2_15 = dlvsym (dlflag, "posix_spawn", SYS_POSIX_SPAWN_VERSION);
685 __real_posix_spawnp_2_15 = dlvsym (dlflag, "posix_spawnp", SYS_POSIX_SPAWN_VERSION);
688 __real_popen_2_0 = dlvsym (dlflag, "popen", "GLIBC_2.0");
689 __real_posix_spawn_2_2 = dlvsym (dlflag, "posix_spawn", "GLIBC_2.2");
690 __real_posix_spawnp_2_2 = dlvsym (dlflag, "posix_spawnp", "GLIBC_2.2");
692 __real_posix_spawn_2_2_5 = dlvsym (dlflag, "posix_spawn", "GLIBC_2.2.5");
693 __real_posix_spawnp_2_2_5 = dlvsym (dlflag, "posix_spawnp", "GLIBC_2.2.5");
H A Dmmaptrace.c1466 dlvsym (dlflag, SYS_DLOPEN_NAME, SYS_DLOPEN_VERSION);
1472 dlvsym (dlflag, SYS_DLOPEN_NAME, "GLIBC_2.0");
/netbsd-current/tests/libexec/ld.elf_so/
H A Dt_dlvsym.c41 atf_tc_set_md_var(tc, "descr", "Check dlvsym() function (V_1)");
58 sym = dlvsym(handle, "testfunc", "V_1");
73 atf_tc_set_md_var(tc, "descr", "Check dlvsym() function (V_3)");
90 sym = dlvsym(handle, "testfunc", "V_3");
106 "Check dlvsym() function (symbol is nonexistent)");
122 sym = dlvsym(handle, "symbol_nonexistent", "V_3");
136 "Check dlvsym() function (version is nonexistent)");
152 sym = dlvsym(handle, "testfunc", "");
166 "Check dlvsym() function (version is NULL)");
183 sym = dlvsym(handl
[all...]
/netbsd-current/external/gpl3/binutils/dist/gprofng/libcollector/
H A Ddispatcher.c694 __real_pthread_sigmask_2_32 = dlvsym (dlflag, "pthread_sigmask", "GLIBC_2.32");
695 __real_pthread_sigmask_2_17 = dlvsym (dlflag, "pthread_sigmask", "GLIBC_2.17");
696 __real_pthread_sigmask_2_2_5 = dlvsym (dlflag, "pthread_sigmask", "GLIBC_2.2.5");
697 __real_pthread_sigmask_2_0 = dlvsym (dlflag, "pthread_sigmask", "GLIBC_2.0");
709 __real_pthread_create_2_34 = dlvsym (dlflag, "pthread_create", "GLIBC_2.34");
710 __real_pthread_create_2_17 = dlvsym (dlflag, "pthread_create", "GLIBC_2.17");
711 __real_pthread_create_2_2_5 = dlvsym (dlflag, "pthread_create", "GLIBC_2.2.5");
712 __real_pthread_create_2_1 = dlvsym (dlflag, "pthread_create", "GLIBC_2.1");
713 __real_pthread_create_2_0 = dlvsym (dlflag, "pthread_create", "GLIBC_2.0");
727 __real_timer_create_2_34 = dlvsym (dlfla
[all...]
H A Dsynctrace.c370 __real_pthread_mutex_lock_2_17 = dlvsym (dlflag, "pthread_mutex_lock", "GLIBC_2.17");
371 __real_pthread_mutex_lock_2_2_5 = dlvsym (dlflag, "pthread_mutex_lock", "GLIBC_2.2.5");
372 __real_pthread_mutex_lock_2_0 = dlvsym (dlflag, "pthread_mutex_lock", "GLIBC_2.0");
434 if ((ptr = dlvsym (dlflag, "pthread_mutex_unlock", "GLIBC_2.17")) != NULL)
436 else if ((ptr = dlvsym (dlflag, "pthread_mutex_unlock", "GLIBC_2.2.5")) != NULL)
438 else if ((ptr = dlvsym (dlflag, "pthread_mutex_unlock", "GLIBC_2.0")) != NULL)
448 __real_pthread_cond_wait_2_17 = dlvsym (dlflag, "pthread_cond_wait", "GLIBC_2.17");
449 __real_pthread_cond_wait_2_3_2 = dlvsym (dlflag, "pthread_cond_wait", "GLIBC_2.3.2");
450 __real_pthread_cond_wait_2_2_5 = dlvsym (dlflag, "pthread_cond_wait", "GLIBC_2.2.5");
451 __real_pthread_cond_wait_2_0 = dlvsym (dlfla
[all...]
H A Dlibcol_util.c1145 ptr = dlvsym (libc, "open64", "GLIBC_2.2"); // it is in /lib/libpthread.so.0
1150 Tprintf (DBG_LT0, "libcol_util: WARNING: dlvsym for %s@%s failed. Using dlsym() instead.", "open64", "GLIBC_2.2");
1189 ptr = dlvsym (libc, "pwrite", "GLIBC_2.2"); // it is in /lib/libpthread.so.0
1194 Tprintf (DBG_LT0, "libcol_util: WARNING: dlvsym for %s@%s failed. Using dlsym() instead.", "pwrite", "GLIBC_2.2");
1209 ptr = dlvsym (libc, "pwrite64", "GLIBC_2.2"); // it is in /lib/libpthread.so.0
1214 Tprintf (DBG_LT0, "libcol_util: WARNING: dlvsym for %s@%s failed. Using dlsym() instead.", "pwrite64", "GLIBC_2.2");
1453 if ((ptr = dlvsym (libc, "fopen", "GLIBC_2.17")) != NULL)
1455 else if ((ptr = dlvsym (libc, "fopen", "GLIBC_2.2.5")) != NULL)
1457 else if ((ptr = dlvsym (libc, "fopen", "GLIBC_2.1")) != NULL)
1459 else if ((ptr = dlvsym (lib
[all...]
H A Diotrace.c398 __real_fopen_2_17 = dlvsym (dlflag, "fopen", "GLIBC_2.17");
399 __real_fopen_2_2_5 = dlvsym (dlflag, "fopen", "GLIBC_2.2.5");
400 __real_fopen_2_1 = dlvsym (dlflag, "fopen", "GLIBC_2.1");
401 __real_fopen_2_0 = dlvsym (dlflag, "fopen", "GLIBC_2.0");
449 __real_fgetpos64_2_17 = dlvsym (dlflag, "fgetpos64", "GLIBC_2.17");
450 __real_fgetpos64_2_2_5 = dlvsym (dlflag, "fgetpos64", "GLIBC_2.2.5");
451 __real_fgetpos64_2_2 = dlvsym (dlflag, "fgetpos64", "GLIBC_2.2");
452 __real_fgetpos64_2_1 = dlvsym (dlflag, "fgetpos64", "GLIBC_2.1");
464 __real_fsetpos64_2_17 = dlvsym (dlflag, "fsetpos64", "GLIBC_2.17");
465 __real_fsetpos64_2_2_5 = dlvsym (dlfla
[all...]
H A Dlinetrace.c686 __real_popen_2_17 = dlvsym (dlflag, "popen", "GLIBC_2.17");
687 __real_popen_2_2_5 = dlvsym (dlflag, "popen", "GLIBC_2.2.5");
688 __real_popen_2_1 = dlvsym (dlflag, "popen", "GLIBC_2.1");
689 __real_popen_2_0 = dlvsym (dlflag, "popen", "GLIBC_2.0");
701 __real_posix_spawn_2_17 = dlvsym (dlflag, "posix_spawn", "GLIBC_2.17");
702 __real_posix_spawn_2_15 = dlvsym (dlflag, "posix_spawn", "GLIBC_2.15");
703 __real_posix_spawn_2_2_5 = dlvsym (dlflag, "posix_spawn", "GLIBC_2.2.5");
704 __real_posix_spawn_2_2 = dlvsym (dlflag, "posix_spawn", "GLIBC_2.2");
716 __real_posix_spawnp_2_17 = dlvsym (dlflag, "posix_spawnp", "GLIBC_2.17");
717 __real_posix_spawnp_2_15 = dlvsym (dlfla
[all...]
H A Dcollector.h47 #define dlvsym(f, nm, v) dlsym (f, nm) macro
H A Dmmaptrace.c1433 __real_dlopen_2_34 = dlvsym (dlflag, "dlopen", "GLIBC_2.34");
1434 __real_dlopen_2_17 = dlvsym (dlflag, "dlopen", "GLIBC_2.17");
1435 __real_dlopen_2_2_5 = dlvsym (dlflag, "dlopen", "GLIBC_2.2.5");
1436 __real_dlopen_2_1 = dlvsym (dlflag, "dlopen", "GLIBC_2.1");
1437 __real_dlopen_2_0 = dlvsym (dlflag, "dlopen", "GLIBC_2.0");
1451 __real_dlclose_2_34 = dlvsym (dlflag, "dlclose", "GLIBC_2.34");
1452 __real_dlclose_2_17 = dlvsym (dlflag, "dlclose", "GLIBC_2.17");
1453 __real_dlclose_2_2_5 = dlvsym (dlflag, "dlclose", "GLIBC_2.2.5");
1454 __real_dlclose_2_0 = dlvsym (dlflag, "dlclose", "GLIBC_2.0");
/netbsd-current/external/gpl3/gcc/dist/libphobos/libdruntime/core/sys/dragonflybsd/
H A Ddlfcn.d80 void* dlvsym(void*, const(char)*, const(char)*);
/netbsd-current/external/gpl3/gcc/dist/libphobos/libdruntime/core/sys/netbsd/
H A Ddlfcn.d80 void* dlvsym(void*, const(char)*, const(char)*);
/netbsd-current/lib/libc/dlfcn/
H A Ddlfcn_elf.c52 #define dlvsym ___dlvsym macro
65 __weak_alias(dlvsym,___dlvsym)
120 dlvsym(void *handle, const char *name, const char *version) function
/netbsd-current/external/gpl3/gcc/dist/libphobos/libdruntime/core/sys/freebsd/
H A Ddlfcn.d87 void* dlvsym(void*, const(char)*, const(char)*);
/netbsd-current/include/
H A Ddlfcn.h66 void *dlvsym(void * __restrict, const char * __restrict,
/netbsd-current/external/gpl3/gcc/dist/libsanitizer/interception/
H A Dinterception_linux.cpp19 #include <dlfcn.h> // for dlsym() and dlvsym()
66 // dlvsym is a GNU extension supported by some other platforms.
69 return dlvsym(RTLD_NEXT, name, ver);
/netbsd-current/external/gpl3/gcc/dist/libphobos/libdruntime/core/sys/linux/
H A Ddlfcn.d167 void* dlvsym(void* __handle, const scope char* __name, const scope char* __version);
/netbsd-current/share/man/man3/
H A DMakefile248 dlfcn.3 dlerror.3 dlfcn.3 dladdr.3 dlfcn.3 dlvsym.3
/netbsd-current/libexec/ld.elf_so/
H A Drtld.c1311 __strong_alias(__dlvsym,dlvsym)
1313 dlvsym(void *handle, const char *name, const char *version)
1319 dbg(("dlvsym of %s@%s in %p", name, version ? version : NULL, handle));

Completed in 331 milliseconds