dlsym
m->gm_mech.gm_ ## name = dlsym(so, "gss_" #name); \
m->gm_mech.gm_ ## name = dlsym(so, "gss_" #name); \
m->gm_mech.gm_ ## name = dlsym(so, "gssspi_" #name); \
m->gm_mech.gm_compat->gmc_ ## name = dlsym(so, "gss_" #name); \
m->gm_mech.gm_compat->gmc_ ## name = dlsym(so, "gssspi_" #name);\
mi = dlsym(so, "gss_mo_init");
mso = (struct hdb_so_method *) dlsym(dl, symbol);
getFuncs = (CK_C_GetFunctionList) dlsym(p->dl_handle, "C_GetFunctionList");
version = (int *) dlsym(handle, "version");
sym = dlsym(handle, check_function);
v = (struct kadm5_pw_policy_verifier *) dlsym(handle, "kadm5_password_verifier");
Setpag = (int (*)(void))dlsym(ptr, "aix_setpag");
struct ViceIoctl*, int))dlsym(ptr, "aix_pioctl");
init_func = (cc_initialize_func)dlsym(cc_handle, "cc_initialize");
dlsym(cc_handle, "krb5_ipc_client_set_target_uid");
dlsym(cc_handle, "krb5_ipc_client_clear_target");
sym = dlsym(e->u.dso.dsohandle, name);
cpm = pl->dataptr = dlsym(p->dsohandle, s->name);
*sym_out = dlsym(h->dlhandle, csymname);
if ((getfunctionlist = dlsym(handle, "C_GetFunctionList")) == NULL)
if ((ret->sk_api_version = dlsym(ret->dlhandle,
if ((ret->sk_enroll = dlsym(ret->dlhandle, "sk_enroll")) == NULL) {
if ((ret->sk_sign = dlsym(ret->dlhandle, "sk_sign")) == NULL) {
if ((ret->sk_load_resident_keys = dlsym(ret->dlhandle,
u.dlret = dlsym(ptr, symname);
ret = dlsym(handle, name);
get_entropy_address = dlsym(dlopen(PUBLIC_VECTORS, 0), GET_ENTROPY);
*sym = dlsym(lib, symname);
void *dlsym(void * __restrict, const char * __restrict);
if (!(ossl_provider_unload = (int (*)(OSSL_PROVIDER*)) dlsym(crypto_lib_handle, "OSSL_PROVIDER_unload"))) {
if (!(ossl_provider_load = (OSSL_PROVIDER * (*)(OSSL_LIB_CTX*, const char *)) dlsym(crypto_lib_handle, "OSSL_PROVIDER_load"))) {
r = dlsym(RTLD_DEFAULT, "dl_iterate_phdr");
p = dlsym((void *)handle, name);
nss_cache_cycle_prevention_func = dlsym(handle,
if (orig == NULL && (orig = dlsym(RTLD_NEXT, "fopen")) == NULL)
if (orig == NULL && (orig = dlsym(RTLD_NEXT, "send")) == NULL)
set_fatal_atexit = dlsym(hdl, "set_fatal_atexit");
set_exit_code = dlsym(hdl, "set_exit_code");
tz_change_interval_p = dlsym(RTLD_SELF, tz_change_interval_sym);
memccpy_fn = dlsym(dl_handle, "test_memccpy");
memcmp_fn = dlsym(dl_handle, "test_" __XSTRING(MEMCMP));
memrchr_fn = dlsym(dl_handle, "test_memrchr");
stpncpy_fn = dlsym(dl_handle, "test_stpncpy");
strcmp_fn = dlsym(dl_handle, "test_strcmp");
strlcpy_fn = dlsym(dl_handle, "test_strlcpy");
strncmp_fn = dlsym(dl_handle, "test_strncmp");
strrchr_fn = dlsym(dl_handle, "test_strrchr");
m->gm_ ## name = dlsym(so, buf); \
m->gm_ ## name = dlsym(so, buf); \
dlsym(so, "_gss_name_prefix");
my_iconv_open = dlsym(iconv_lib, "iconv_open");
my_iconv = dlsym(iconv_lib, "iconv");
my_iconv_close = dlsym(iconv_lib, "iconv_close");
if ((forcedunwind = dlsym(handle, "_Unwind_ForcedUnwind")) != NULL) {
forcedunwind = dlsym(handle, "_Unwind_ForcedUnwind");
getcfa = dlsym(handle, "_Unwind_GetCFA");
void *dlsym(void *, const char *) __exported;
sym = dlsym(hdl, "pthread_create");
sym = dlsym(hdl, "pthread_create");
proxy_set_value = dlsym(hdl, "proxy_set_value");
proxy_get_value = dlsym(hdl, "proxy_get_value");
lib_version = dlsym(dlh, "lib_version");
version = dlsym(dlh, "version");
class_commands = dlsym(dlh, "class_commands");
is->ims_destroy = (ims_destroy_func_t)dlsym(isi->imsi_handle, nbuf);
is->ims_match = (ims_match_func_t)dlsym(isi->imsi_handle, nbuf);
is->ims_parse = (ims_parse_func_t)dlsym(isi->imsi_handle, nbuf);
is->ims_print = (ims_print_func_t)dlsym(isi->imsi_handle, nbuf);
is->ims_store = (ims_store_func_t)dlsym(isi->imsi_handle, nbuf);
is->ims_dup = (ims_dup_func_t)dlsym(isi->imsi_handle, nbuf);
func = dlsym(h, "loader_main");
p = dlsym(handle, "alias_mod");
m = dlsym(t->handle, "handlers");
void *(*dlsym)(void *, const char *); /* NONE */
socheckstack = dlsym(fh, "checkstack");
__gl_tls_test = dlsym(handle, "__gl_tls_test");
sym##_p = (sym##_p_t)dlsym(handle, #sym); \
func = dlsym(loader_hdl, "loader_main");
if ((bt_receive_f = dlsym(hdl, "bt_receive")) == NULL)
if ((avdtpACPHandlePacket_f = dlsym(hdl, "avdtpACPHandlePacket")) ==
if ((avdtpACPFree_f = dlsym(hdl, "avdtpACPFree")) == NULL)
if ((backend = dlsym(hdl, bsym)) == NULL) {