Lines Matching refs:dlsym

58   void* sym = dlsym(self, "DlSymTestFunction");  in TEST()
75 void* symbol = dlsym(RTLD_DEFAULT, "test_dlsym_symbol"); in TEST()
81 reinterpret_cast<fn_t>(dlsym(handle, "lookup_dlsym_symbol_using_RTLD_DEFAULT")); in TEST()
89 reinterpret_cast<fn_t>(dlsym(handle, "lookup_dlsym_symbol2_using_RTLD_DEFAULT")); in TEST()
97 reinterpret_cast<fn_t>(dlsym(handle, "lookup_dlsym_symbol_using_RTLD_NEXT")); in TEST()
115 void* symbol = dlsym(RTLD_DEFAULT, "test_dlsym_symbol"); in TEST()
121 reinterpret_cast<fn_t>(dlsym(handle, "lookup_dlsym_symbol_using_RTLD_DEFAULT")); in TEST()
129 reinterpret_cast<fn_t>(dlsym(handle, "lookup_dlsym_symbol2_using_RTLD_DEFAULT")); in TEST()
137 reinterpret_cast<fn_t>(dlsym(handle, "lookup_dlsym_symbol_using_RTLD_NEXT")); in TEST()
153 void* sym = dlsym(handle, "getRandomNumber"); in TEST()
157 sym = dlsym(handle, "DlSymTestFunction"); in TEST()
168 void* sym = dlsym(handle, "getRandomNumber"); in TEST()
224 fn_ptr foo_ptr = reinterpret_cast<fn_ptr>(dlsym(handle, "foo")); in TEST()
225 fn_ptr foo_library_ptr = reinterpret_cast<fn_ptr>(dlsym(handle, "foo_library")); in TEST()
236 foo_ptr = reinterpret_cast<fn_ptr>(dlsym(handle, "foo")); in TEST()
237 foo_library_ptr = reinterpret_cast<fn_ptr>(dlsym(handle, "foo_library")); in TEST()
250 fn_ptr is_ctor_called = reinterpret_cast<fn_ptr>(dlsym(handle, "is_ctor_called_irelative")); in TEST()
254 is_ctor_called = reinterpret_cast<fn_ptr>(dlsym(handle, "is_ctor_called_jump_slot")); in TEST()
282 fn_t fn = reinterpret_cast<fn_t>(dlsym(handle, "relo_test_get_answer")); in TEST()
311 void* sym = dlsym(RTLD_DEFAULT, "check_order_dlsym_get_answer"); in TEST()
317 fn = reinterpret_cast<fn_t>(dlsym(RTLD_DEFAULT, "check_order_dlsym_get_answer")); in TEST()
319 fn2 = reinterpret_cast<fn_t>(dlsym(RTLD_DEFAULT, "check_order_dlsym_get_answer2")); in TEST()
369 fn_t fn = reinterpret_cast<fn_t>(dlsym(handle, "check_order_reloc_get_answer")); in TEST()
396 fn_t fn = reinterpret_cast<fn_t>(dlsym(handle, "check_order_reloc_get_answer")); in TEST()
434 fn_t fn = reinterpret_cast<fn_t>(dlsym(handle, "check_order_reloc_grandchild_get_answer")); in TEST()
480 fn_t fn = reinterpret_cast<fn_t>(dlsym(handle, "check_order_reloc_nephew_get_answer")); in TEST()
507 fn_t fn = reinterpret_cast<fn_t>(dlsym(handle2, "check_order_reloc_get_answer")); in TEST()
517 fn = reinterpret_cast<fn_t>(dlsym(handle2, "check_order_reloc_get_answer")); in TEST()
555 fn_t fn = reinterpret_cast<fn_t>(dlsym(handle, "check_order_reloc_root_get_answer")); in TEST()
563 void* sym = dlsym(RTLD_DEFAULT, "dlopen_testlib_simple_func"); in TEST()
568 sym = dlsym(RTLD_DEFAULT, "dlopen_testlib_simple_func"); in TEST()
571 sym = dlsym(handle, "dlopen_testlib_simple_func"); in TEST()
578 sym = dlsym(RTLD_DEFAULT, "dlopen_testlib_simple_func"); in TEST()
581 sym = dlsym(handle, "dlopen_testlib_simple_func"); in TEST()
588 void* sym = dlsym(RTLD_DEFAULT, "dlopen_testlib_simple_func"); in TEST()
593 sym = dlsym(RTLD_DEFAULT, "dlopen_testlib_simple_func"); in TEST()
599 void* sym_after_dlclose = dlsym(RTLD_DEFAULT, "dlopen_testlib_simple_func"); in TEST()
606 sym = dlsym(handle_for_main_executable, "dlopen_testlib_simple_func"); in TEST()
618 void* f = dlsym(handle, "dlopen_test_loopy_function"); in TEST()
643 …set_unload_flag_ptr = reinterpret_cast<void (*)(bool*)>(dlsym(handle, "dlopen_nodelete_1_set_unloa… in TEST()
647 …uint32_t* taxicab_number = reinterpret_cast<uint32_t*>(dlsym(handle, "dlopen_nodelete_1_taxicab_nu… in TEST()
655 …uint32_t* taxicab_number_after_dlclose = reinterpret_cast<uint32_t*>(dlsym(handle, "dlopen_nodelet… in TEST()
661 …uint32_t* taxicab_number2 = reinterpret_cast<uint32_t*>(dlsym(handle, "dlopen_nodelete_1_taxicab_n… in TEST()
676 …set_unload_flag_ptr = reinterpret_cast<void (*)(bool*)>(dlsym(handle, "dlopen_nodelete_2_set_unloa… in TEST()
680 …uint32_t* taxicab_number = reinterpret_cast<uint32_t*>(dlsym(handle, "dlopen_nodelete_2_taxicab_nu… in TEST()
703 …set_unload_flag_ptr = reinterpret_cast<void (*)(bool*)>(dlsym(handle, "dlopen_nodelete_dt_flags_1_… in TEST()
715 get_answer = reinterpret_cast<int (*)()>(dlsym(handle, "dl_df_1_global_get_answer")); in TEST()
763 sym = dlsym(nullptr, "test"); in TEST()
769 sym = dlsym(self, "ThisSymbolDoesNotExist"); in TEST()
782 void* sym = dlsym(self, "DlSymTestFunction"); in TEST()
890 void* sym = dlsym(handle, "getRandomNumber"); in TEST()
913 void* sym = dlsym(handle, "getRandomNumber"); in TEST()
949 void* addr = dlsym(RTLD_DEFAULT, "ANY_UNKNOWN_SYMBOL_NAME"); in TEST()
954 void* addr = dlsym(RTLD_DEFAULT, "fopen"); in TEST()
959 void* addr = dlsym(RTLD_NEXT, "ANY_UNKNOWN_SYMBOL_NAME"); in TEST()
964 void* addr = dlsym(RTLD_NEXT, "fopen"); in TEST()
974 weak_func = reinterpret_cast<int (*)()>(dlsym(handle, "weak_func")); in TEST()
984 weak_func = reinterpret_cast<int (*)()>(dlsym(handle, "use_weak_undefined_func")); in TEST()
1018 fn_t fn = reinterpret_cast<fn_t>(dlsym(handle, "get_function_version")); in TEST()
1028 fn_t fn = reinterpret_cast<fn_t>(dlsym(handle, "get_function_version")); in TEST()
1038 fn_t fn = reinterpret_cast<fn_t>(dlsym(handle, "get_function_version")); in TEST()
1048 fn_t fn = reinterpret_cast<fn_t>(dlsym(handle, "get_function_version")); in TEST()
1058 fn_t fn = reinterpret_cast<fn_t>(dlsym(handle, "versioned_function")); in TEST()
1099 dlopen_b_fn fn = (dlopen_b_fn)dlsym(handle, "dlopen_b"); in TEST()
1113 dlopen_b_fn fn = (dlopen_b_fn)dlsym(handle, "dlopen_b"); in TEST()