/bionic/tests/ |
D | dlfcn_test.cpp | 90 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 …]
|
D | dlext_test.cpp | 73 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 …]
|
D | elftls_dl_test.cpp | 53 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 …]
|
D | cfi_test.cpp | 54 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()
|
D | pthread_dlfcn_test.cpp | 43 …_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()
|
D | dlfcn_symlink_support.cpp | 57 void* handle = dlopen(source_file_name, RTLD_NOW); in create_dlfcn_test_symlink()
|
D | atexit_test.cpp | 32 void* handle = dlopen("libtest_atexit.so", RTLD_NOW); in TEST()
|
D | link_test.cpp | 116 void* const handle = dlopen("libtest_empty.so", RTLD_NOW); in TEST()
|
D | dl_test.cpp | 393 void* handle = dlopen(lib, RTLD_NOW); in RelocationsTest()
|
/bionic/libc/include/ |
D | dlfcn.h | 57 #define RTLD_NOW 0x00002 macro 64 #undef RTLD_NOW 65 #define RTLD_NOW 0x00000 macro
|
/bionic/tests/libs/ |
D | dlopen_testlib_dlopen_from_ctor.cpp | 20 void* handle = dlopen("libc.so", RTLD_NOW); in call_dlopen_from_ctor()
|
D | elftls_dlopen_ie_error_helper.cpp | 38 void* lib = dlopen("libtest_elftls_shared_var_ie.so", RTLD_LOCAL | RTLD_NOW); in main()
|
D | dlopen_b.cpp | 9 void *handle = dlopen("libtest_dt_runpath_x.so", RTLD_NOW); in dlopen_b()
|
D | cfi_test_helper2.cpp | 25 handle = dlopen("libcfi-test.so", RTLD_NOW | RTLD_NOLOAD); in main()
|
D | segment_gap_outer.cpp | 18 void *handle = android_dlopen_ext("libsegment_gap_inner.so", RTLD_NOW, &info); in get_inner()
|
D | namespaces_root.cpp | 54 void* handle = dlopen("libnstest_dlopened.so", RTLD_NOW | RTLD_GLOBAL); in ns_get_dlopened_string()
|
D | ld_config_test_helper.cpp | 42 void* handle = dlopen(vdso_name, RTLD_NOW); in main()
|
D | ns_hidden_child_helper.cpp | 71 void* app_lib = android_dlopen_ext("libns_hidden_child_app.so", RTLD_NOW | RTLD_LOCAL, &ext); in main()
|
D | tls_properties_helper.cpp | 77 void* lib = dlopen("libtest_elftls_dynamic.so", RTLD_LOCAL | RTLD_NOW); in test_iter_tls()
|
/bionic/tests/headers/posix/ |
D | dlfcn_h.c | 35 MACRO(RTLD_NOW); in dlfcn_h()
|
/bionic/libc/bionic/ |
D | NetdClient.cpp | 48 void* handle = dlopen("libnetd_client.so", RTLD_NOW); in netdClientInitImpl()
|
D | malloc_common_dynamic.cpp | 302 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/ |
D | fdtrack_test.cpp | 46 void* libfdtrack = dlopen("libfdtrack.so", RTLD_NOW); in RunFdtrack()
|
/bionic/ |
D | android-changes-for-ndk-developers.md | 115 `dlopen("/this/directory/does/not/exist/libc.so", RTLD_NOW)` would
|