Home
last modified time | relevance | path

Searched refs:RTLD_NOW (Results 1 – 24 of 24) sorted by relevance

/bionic/tests/
Ddlfcn_test.cpp90 void* self = dlopen(nullptr, RTLD_NOW); in TEST()
144 void* preload = dlopen("libtest_dlsym_from_this_grandchild.so", RTLD_NOW | RTLD_LOCAL); in TEST()
147 void* handle = dlopen("libtest_dlsym_from_this.so", RTLD_NOW | RTLD_LOCAL); in TEST()
187 void* handle = dlopen("libtest_empty.so", RTLD_NOW); in TEST()
188 dlopen("libtest_with_dependency.so", RTLD_NOW | RTLD_GLOBAL); in TEST()
201 void* handle = dlopen("libtest_dlsym_from_this.so", RTLD_NOW); in TEST()
210 void* handle = dlopen("libtest_with_dependency.so", RTLD_NOW); in TEST()
223 void* handle = dlopen("libtest_simple.so", RTLD_NOW | RTLD_NOLOAD); in TEST()
225 handle = dlopen("libtest_simple.so", RTLD_NOW); in TEST()
226 void* handle2 = dlopen("libtest_simple.so", RTLD_NOW | RTLD_NOLOAD); in TEST()
[all …]
Ddlext_test.cpp73 void* h = dlopen(kLibName, RTLD_NOW | RTLD_NOLOAD); in SetUp()
75 h = dlopen(kLibNameNoRelro, RTLD_NOW | RTLD_NOLOAD); in SetUp()
91 handle_ = android_dlopen_ext(kLibName, RTLD_NOW, nullptr); in TEST_F()
101 handle_ = android_dlopen_ext(kLibName, RTLD_NOW, &extinfo); in TEST_F()
115 handle_ = android_dlopen_ext(lib_path.c_str(), RTLD_NOW, &extinfo); in TEST_F()
141 handle_ = android_dlopen_ext(lib_path.c_str(), RTLD_NOW, &extinfo); in TEST_F()
157 handle_ = android_dlopen_ext("libname_placeholder", RTLD_NOW, &extinfo); in TEST_F()
163 handle_ = android_dlopen_ext("libname_placeholder", RTLD_NOW, &extinfo); in TEST_F()
168 handle_ = android_dlopen_ext("libname_placeholder", RTLD_NOW, &extinfo); in TEST_F()
173 handle_ = android_dlopen_ext("libname_ignored", RTLD_NOW, &extinfo); in TEST_F()
[all …]
Delftls_dl_test.cpp53 void* lib = dlopen("libtest_elftls_shared_var_ie.so", RTLD_LOCAL | RTLD_NOW); in TEST()
91 void* lib = dlopen("libtest_elftls_dynamic.so", RTLD_LOCAL | RTLD_NOW); in TEST()
107 void* lib = dlopen("libtest_elftls_dynamic.so", RTLD_LOCAL | RTLD_NOW); in TEST()
139 void* lib = dlopen("libtest_elftls_dynamic.so", RTLD_LOCAL | RTLD_NOW); in TEST()
157 auto lib = dlopen(soname, RTLD_LOCAL | RTLD_NOW); \ in TEST()
227 void* lib = dlopen("libtest_elftls_dynamic.so", RTLD_LOCAL | RTLD_NOW); in TEST()
253 void* lib = dlopen("libtest_elftls_dynamic.so", RTLD_LOCAL | RTLD_NOW); in TEST()
277 void* lib = dlopen("libtest_elftls_shared_var.so", RTLD_LOCAL | RTLD_NOW); in TEST()
292 void* lib = dlopen("libtest_elftls_dynamic.so", RTLD_LOCAL | RTLD_NOW); in TEST()
314 void* lib = dlopen("libtest_elftls_dynamic.so", RTLD_LOCAL | RTLD_NOW); in TEST()
[all …]
Dcfi_test.cpp54 handle = dlopen("libcfi-test.so", RTLD_NOW | RTLD_LOCAL); in TEST_F()
116 void* handle2 = dlopen("libcfi-test.so", RTLD_NOW | RTLD_LOCAL); in TEST_F()
138 handle = dlopen("libcfi-test-bad.so", RTLD_NOW | RTLD_LOCAL); in TEST()
141 handle = dlopen("libcfi-test-bad.so", RTLD_NOW | RTLD_LOCAL); in TEST()
Dpthread_dlfcn_test.cpp43 …_test_handle); g_atfork_test_handle = dlopen("libtest_pthread_atfork.so", RTLD_NOW | RTLD_LOCAL); } in AtForkChild()
48 void* handle = dlopen("libtest_pthread_atfork.so", RTLD_NOW | RTLD_LOCAL); in TEST()
93 g_atfork_test_handle = dlopen("libtest_pthread_atfork.so", RTLD_NOW | RTLD_LOCAL); in TEST()
Ddlfcn_symlink_support.cpp57 void* handle = dlopen(source_file_name, RTLD_NOW); in create_dlfcn_test_symlink()
Datexit_test.cpp32 void* handle = dlopen("libtest_atexit.so", RTLD_NOW); in TEST()
Dlink_test.cpp116 void* const handle = dlopen("libtest_empty.so", RTLD_NOW); in TEST()
Ddl_test.cpp393 void* handle = dlopen(lib, RTLD_NOW); in RelocationsTest()
/bionic/libc/include/
Ddlfcn.h57 #define RTLD_NOW 0x00002 macro
64 #undef RTLD_NOW
65 #define RTLD_NOW 0x00000 macro
/bionic/tests/libs/
Ddlopen_testlib_dlopen_from_ctor.cpp20 void* handle = dlopen("libc.so", RTLD_NOW); in call_dlopen_from_ctor()
Delftls_dlopen_ie_error_helper.cpp38 void* lib = dlopen("libtest_elftls_shared_var_ie.so", RTLD_LOCAL | RTLD_NOW); in main()
Ddlopen_b.cpp9 void *handle = dlopen("libtest_dt_runpath_x.so", RTLD_NOW); in dlopen_b()
Dcfi_test_helper2.cpp25 handle = dlopen("libcfi-test.so", RTLD_NOW | RTLD_NOLOAD); in main()
Dsegment_gap_outer.cpp18 void *handle = android_dlopen_ext("libsegment_gap_inner.so", RTLD_NOW, &info); in get_inner()
Dnamespaces_root.cpp54 void* handle = dlopen("libnstest_dlopened.so", RTLD_NOW | RTLD_GLOBAL); in ns_get_dlopened_string()
Dld_config_test_helper.cpp42 void* handle = dlopen(vdso_name, RTLD_NOW); in main()
Dns_hidden_child_helper.cpp71 void* app_lib = android_dlopen_ext("libns_hidden_child_app.so", RTLD_NOW | RTLD_LOCAL, &ext); in main()
Dtls_properties_helper.cpp77 void* lib = dlopen("libtest_elftls_dynamic.so", RTLD_LOCAL | RTLD_NOW); in test_iter_tls()
/bionic/tests/headers/posix/
Ddlfcn_h.c35 MACRO(RTLD_NOW); in dlfcn_h()
/bionic/libc/bionic/
DNetdClient.cpp48 void* handle = dlopen("libnetd_client.so", RTLD_NOW); in netdClientInitImpl()
Dmalloc_common_dynamic.cpp302 impl_handle = android_dlopen_ext(shared_lib, RTLD_NOW | RTLD_LOCAL, &dlextinfo); in LoadSharedLibrary()
306 impl_handle = dlopen(shared_lib, RTLD_NOW | RTLD_LOCAL); in LoadSharedLibrary()
/bionic/libfdtrack/
Dfdtrack_test.cpp46 void* libfdtrack = dlopen("libfdtrack.so", RTLD_NOW); in RunFdtrack()
/bionic/
Dandroid-changes-for-ndk-developers.md115 `dlopen("/this/directory/does/not/exist/libc.so", RTLD_NOW)` would