Home
last modified time | relevance | path

Searched refs:dlsym (Results 1 – 25 of 39) sorted by relevance

12

/bionic/tests/
Ddlfcn_test.cpp94 void* sym = dlsym(self, "DlSymTestFunction"); in TEST()
111 void* symbol = dlsym(RTLD_DEFAULT, "test_dlsym_symbol"); in TEST()
117 reinterpret_cast<fn_t>(dlsym(handle, "lookup_dlsym_symbol_using_RTLD_DEFAULT")); in TEST()
125 reinterpret_cast<fn_t>(dlsym(handle, "lookup_dlsym_symbol2_using_RTLD_DEFAULT")); in TEST()
133 reinterpret_cast<fn_t>(dlsym(handle, "lookup_dlsym_symbol_using_RTLD_NEXT")); in TEST()
151 void* symbol = dlsym(RTLD_DEFAULT, "test_dlsym_symbol"); in TEST()
157 reinterpret_cast<fn_t>(dlsym(handle, "lookup_dlsym_symbol_using_RTLD_DEFAULT")); in TEST()
165 reinterpret_cast<fn_t>(dlsym(handle, "lookup_dlsym_symbol2_using_RTLD_DEFAULT")); in TEST()
173 reinterpret_cast<fn_t>(dlsym(handle, "lookup_dlsym_symbol_using_RTLD_NEXT")); in TEST()
189 void* sym = dlsym(handle, "getRandomNumber"); in TEST()
[all …]
Delftls_dl_test.cpp56 auto bump_shared_var = reinterpret_cast<int(*)()>(dlsym(lib, "bump_shared_var")); in TEST()
94 auto bump_shared_var = reinterpret_cast<int(*)()>(dlsym(lib, "bump_shared_var")); in TEST()
110 auto bump_local_vars = reinterpret_cast<int(*)()>(dlsym(lib, "bump_local_vars")); in TEST()
142 …auto missing_weak_dyn_tls_addr = reinterpret_cast<int*(*)()>(dlsym(lib, "missing_weak_dyn_tls_addr… in TEST()
159 reinterpret_cast<int(*)()>(dlsym(lib, "bump")); \ in TEST()
230 auto bump_local_vars = reinterpret_cast<int(*)()>(dlsym(lib, "bump_local_vars")); in TEST()
256 auto bump_local_vars = reinterpret_cast<int(*)()>(dlsym(lib, "bump_local_vars")); in TEST()
280 int* var_addr = static_cast<int*>(dlsym(lib, "elftls_shared_var")); in TEST()
284 int* var_addr = static_cast<int*>(dlsym(lib, "elftls_shared_var")); in TEST()
294 auto get_var_addr = reinterpret_cast<int*(*)()>(dlsym(lib, "get_large_tls_var_addr")); in TEST()
[all …]
Ddlext_test.cpp93 fn f = reinterpret_cast<fn>(dlsym(handle_, "getRandomNumber")); in TEST_F()
103 fn f = reinterpret_cast<fn>(dlsym(handle_, "getRandomNumber")); in TEST_F()
117 fn f = reinterpret_cast<fn>(dlsym(handle_, "getRandomNumber")); in TEST_F()
121 …uint32_t* taxicab_number = reinterpret_cast<uint32_t*>(dlsym(handle_, "dlopen_testlib_taxicab_numb… in TEST_F()
144 …uint32_t* taxicab_number = reinterpret_cast<uint32_t*>(dlsym(handle_, "dlopen_testlib_taxicab_numb… in TEST_F()
179 void* sym = dlsym(RTLD_DEFAULT, "this_symbol_does_not_exist___"); in TEST_F()
265 …uint32_t* taxicab_number = reinterpret_cast<uint32_t*>(dlsym(handle, "dlopen_testlib_taxicab_numbe… in TEST()
281 dlopen_b_fn fn = (dlopen_b_fn)dlsym(handle, "dlopen_b"); in TEST()
297 reinterpret_cast<fn_t>(dlsym(RTLD_DEFAULT, "android_update_LD_LIBRARY_PATH")); in TEST()
310 fn = reinterpret_cast<int (*)(void)>(dlsym(handle, "getRandomNumber")); in TEST()
[all …]
Datexit_test.cpp37 get_cxx_ctor_called = reinterpret_cast<int_fn>(dlsym(handle, "get_cxx_ctor_called")); in TEST()
38 get_attr_ctor_called = reinterpret_cast<int_fn>(dlsym(handle, "get_attr_ctor_called")); in TEST()
45 void* sym = dlsym(handle, "register_atexit"); in TEST()
Dpthread_dlfcn_test.cpp51 fn_t fn = reinterpret_cast<fn_t>(dlsym(handle, "proxy_pthread_atfork")); in TEST()
96 fn_t fn = reinterpret_cast<fn_t>(dlsym(g_atfork_test_handle, "proxy_pthread_atfork")); in TEST()
/bionic/tests/libs/
Ddlsym_from_this_functions.cpp25 int* result = static_cast<int*>(dlsym(RTLD_DEFAULT, "test_dlsym_symbol")); in lookup_dlsym_symbol_using_RTLD_DEFAULT()
35 int* result = static_cast<int*>(dlsym(RTLD_DEFAULT, "test_dlsym_symbol2")); in lookup_dlsym_symbol2_using_RTLD_DEFAULT()
45 int* result = static_cast<int*>(dlsym(RTLD_NEXT, "test_dlsym_symbol")); in lookup_dlsym_symbol_using_RTLD_NEXT()
Dcheck_rtld_next_from_library.cpp24 g_libc_fclose_ptr = dlsym(RTLD_NEXT, "fclose"); in __libc_fclose_lookup()
Dsegment_gap_outer.cpp23 return dlsym(handle, "inner"); in get_inner()
Dnamespaces_root.cpp59 const char** result = static_cast<const char**>(dlsym(handle, "g_private_dlopened_string")); in ns_get_dlopened_string()
Ddlopen_testlib_ifunc_variable_impl.cpp25 g_flag = reinterpret_cast<uintptr_t>(dlsym(RTLD_DEFAULT, "dlsym")); in init_flag()
Ddlopen_testlib_ifunc.cpp25 g_flag = reinterpret_cast<uintptr_t>(dlsym(RTLD_DEFAULT, "dlsym")); in init_flag()
Dns_hidden_child_helper.cpp77 auto app_function = reinterpret_cast<void(*)()>(dlsym(app_lib, "app_function")); in main()
/bionic/libdl/
Dlibdl_static.cpp29 void* dlsym(void* /*handle*/, const char* /*symbol*/) { in dlsym() function
Dlibdl.map.txt26 dlsym;
Dlibdl.cpp93 void* dlsym(void* handle, const char* symbol) { in dlsym() function
/bionic/tests/headers/posix/
Ddlfcn_h.c42 FUNCTION(dlsym, void* (*f)(void*, const char*)); in dlfcn_h()
/bionic/libc/bionic/
Dicu.cpp60 void* symbol = dlsym(g_libicuuc_handle, versioned_symbol_name); in __find_icu_symbol()
DNetdClient.cpp33 InitFunctionType initFunction = reinterpret_cast<InitFunctionType>(dlsym(handle, symbol)); in netdClientInitFunction()
Dmalloc_common_dynamic.cpp129 *func = reinterpret_cast<FunctionType>(dlsym(malloc_impl_handler, symbol)); in InitMallocFunction()
265 gFunctions[i] = dlsym(impl_handle, symbol); in InitSharedLibrary()
/bionic/libc/include/
Ddlfcn.h51 void* dlsym(void* __handle, const char* __symbol);
/bionic/benchmarks/linker_relocation/gen/
Dliblinker_reloc_bench_009.S21 CALL(dlsym)
Dliblinker_reloc_bench_094.S53 CALL(dlsym)
Dliblinker_reloc_bench_093.S118 CALL(dlsym)
Dliblinker_reloc_bench_167.S99 CALL(dlsym)
/bionic/libfdtrack/
Dfdtrack_test.cpp54 dlsym(libfdtrack, "fdtrack_iterate")); in RunFdtrack()

12