/src/lib/librumphijack/ |
hijackdlsym.c | 52 return dlsym(handle, symbol);
|
/src/sys/external/bsd/compiler_rt/dist/lib/interception/ |
interception_linux.cc | 20 #include <dlfcn.h> // for dlsym() and dlvsym() 34 *func_addr = (uptr)dlsym(RTLD_NEXT, func_name); 41 *func_addr = (uptr)dlsym(RTLD_DEFAULT, func_name);
|
/src/sys/external/bsd/compiler_rt/dist/test/profile/Inputs/ |
instrprof-dlopen-main.c | 22 void (*func)(int) = (void (*)(int))dlsym(f1_handle, "func"); 35 void (*func2)(int) = (void (*)(int))dlsym(f2_handle, "func2");
|
/src/tests/libexec/ld.elf_so/ |
t_tls_extern.c | 55 ATF_REQUIRE_DL(fdef = dlsym(def, "fdef")); 58 ATF_REQUIRE_DL(fuse = dlsym(use, "fuse")); 72 lazy: ATF_REQUIRE_DL(fdef = dlsym(def, "fdef")); 73 ATF_REQUIRE_DL(fuse = dlsym(use, "fuse")); 119 ATF_REQUIRE_DL(fdef = dlsym(def, "fdef")); 307 ATF_REQUIRE_DL(fdynamic = dlsym(use_dynamic, "fdynamic")); 327 ATF_REQUIRE_DL(fdynamic = dlsym(use_dynamic, "fdynamic")); 328 ATF_REQUIRE_DL(fstatic = dlsym(use_static, "fstatic")); 351 ATF_REQUIRE_DL(fstatic = dlsym(use_static, "fstatic")); 354 ATF_REQUIRE_DL(fdynamic = dlsym(use_dynamic, "fdynamic")) [all...] |
t_dlerror-false.c | 62 sym = dlsym(handle, "sin");
|
t_ifunc.c | 82 sym = dlsym(handle, "ifunc"); 136 sym = dlsym(handle, "ifunc_plt"); 144 sym2 = dlsym(handle, "ifunc_indirect");
|
h_thread_local_dtor.c | 66 testfunc = dlsym(dso, "testfunc");
|
h_locking.c | 70 tls_callback_sym = dlsym(dso, "tls_callback");
|
/src/sys/external/bsd/compiler_rt/dist/lib/fuzzer/ |
FuzzerExtFunctionsDlsym.cpp | 9 // Implementation for operating systems that support dlsym(). We only use it on 26 void *Fn = dlsym(RTLD_DEFAULT, FnName);
|
/src/tests/lib/libpthread/dlopen/ |
t_dlopen.c | 59 testf_dso_null = dlsym(handle, "testf_dso_null"); 60 ATF_REQUIRE_MSG(testf_dso_null != NULL, "dlsym fails: %s", dlerror()); 87 testf_dso_null = dlsym(handle, "testf_dso_null"); 88 ATF_REQUIRE_MSG(testf_dso_null != NULL, "dlsym fails: %s", dlerror()); 119 testf_dso_mutex_unlock = dlsym(handle, "testf_dso_mutex_unlock"); 121 "dlsym fails: %s", dlerror()); 150 testf_dso_mutex_lock = dlsym(handle, "testf_dso_mutex_lock"); 152 "dlsym fails: %s", dlerror());
|
t_dso_pthread_create.c | 80 testf_dso_pthread_create = dlsym(handle, "testf_dso_pthread_create"); 82 "dlsym fails: %s", dlerror());
|
t_main_pthread_create.c | 89 testf_dso_pthread_create = dlsym(handle, "testf_dso_pthread_create"); 91 "dlsym fails: %s", dlerror());
|
/src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/ |
sanitizer_unwind_linux_libcdep.cc | 65 (acquire_my_map_info_list_func)(uptr)dlsym(p, "acquire_my_map_info_list"); 67 (release_my_map_info_list_func)(uptr)dlsym(p, "release_my_map_info_list"); 68 unwind_backtrace_signal_arch = (unwind_backtrace_signal_arch_func)(uptr)dlsym(
|
/src/libexec/ld.elf_so/ |
compat.c | 76 [(RTLD_OBJ_DLOPEN_OFFSET / sizeof(uintptr_t)) + 1] = (uintptr_t)dlsym,
|
/src/lib/libc/dlfcn/ |
dlfcn_elf.c | 44 #undef dlsym 51 #define dlsym ___dlsym macro 64 __weak_alias(dlsym,___dlsym) 112 dlsym(void *handle, const char *name) function in typeref:typename:void *
|
/src/tests/lib/libc/setjmp/ |
t_sigstack.c | 80 if ((compat13_sigsetjmp = dlsym(RTLD_SELF, "sigsetjmp")) == NULL || 81 (compat13_siglongjmp = dlsym(RTLD_SELF, "siglongjmp")) == NULL || 82 (compat13_setjmp = dlsym(RTLD_SELF, "setjmp")) == NULL || 83 (compat13_longjmp = dlsym(RTLD_SELF, "longjmp")) == NULL)
|
t_setjmp.c | 130 if ((compat13_sigsetjmp = dlsym(RTLD_SELF, "sigsetjmp")) == NULL || 131 (compat13_siglongjmp = dlsym(RTLD_SELF, "siglongjmp")) == NULL || 132 (compat13_setjmp = dlsym(RTLD_SELF, "setjmp")) == NULL || 133 (compat13_longjmp = dlsym(RTLD_SELF, "longjmp")) == NULL)
|
/src/lib/librumpuser/ |
rumpuser_dl.c | 365 mi_start = dlsym(handle, "__start_link_set_modules"); 366 mi_end = dlsym(handle, "__stop_link_set_modules"); 370 rc = dlsym(handle, "__start_link_set_rump_components"); 371 rc_end = dlsym(handle, "__stop_link_set_rump_components"); 379 sfp = dlsym(handle, "__start_link_set_sysctl_funcs"); 380 sfp_end = dlsym(handle, "__stop_link_set_sysctl_funcs"); 388 evp = dlsym(handle, "__start_link_set_evcnts"); 389 evp_end = dlsym(handle, "__stop_link_set_evcnts");
|
/src/sys/external/bsd/compiler_rt/dist/lib/stats/ |
stats_client.cc | 37 return dlsym(RTLD_DEFAULT, name);
|
/src/tests/lib/libc/tls/ |
t_tls_dlopen.c | 94 testf_helper = dlsym(handle, "testf_dso_helper");
|
/src/include/ |
dlfcn.h | 61 void *dlsym(void * __restrict, const char * __restrict); 87 * Special handle arguments for dlsym().
|
/src/tests/rump/rumpkern/ |
t_modcmd.c | 143 mi_start = dlsym(handle, "__start_link_set_modules"); 144 mi_end = dlsym(handle, "__stop_link_set_modules");
|
/src/usr.sbin/npf/npfctl/ |
npf_extmod.c | 62 sym = dlsym(handle, buf); 64 errx(EXIT_FAILURE, "dlsym: %s", dlerror());
|
/src/tests/lib/libc/string/ |
t_strchr.c | 250 strchr_fn = dlsym(dl_handle, "test_strchr");
|
t_strchrnul.c | 249 strchrnul_fn = dlsym(dl_handle, "test_strchrnul");
|