/bionic/tests/ |
D | dlfcn_test.cpp | 76 void* self = dlopen(nullptr, RTLD_NOW); in TEST() 93 void* handle = dlopen("libtest_dlsym_from_this.so", RTLD_LAZY | RTLD_LOCAL); in TEST() 130 void* preload = dlopen("libtest_dlsym_from_this_grandchild.so", RTLD_NOW | RTLD_LOCAL); in TEST() 133 void* handle = dlopen("libtest_dlsym_from_this.so", RTLD_NOW | RTLD_LOCAL); in TEST() 173 void* handle = dlopen("libtest_empty.so", RTLD_NOW); in TEST() 174 dlopen("libtest_with_dependency.so", RTLD_NOW | RTLD_GLOBAL); in TEST() 187 void* handle = dlopen("libtest_dlsym_from_this.so", RTLD_NOW); in TEST() 196 void* handle = dlopen("libtest_with_dependency.so", RTLD_NOW); in TEST() 209 void* handle = dlopen("libtest_simple.so", RTLD_NOW | RTLD_NOLOAD); in TEST() 211 handle = dlopen("libtest_simple.so", RTLD_NOW); in TEST() [all …]
|
D | elftls_dl_test.cpp | 55 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() 155 void* lib = dlopen("libtest_elftls_dynamic.so", RTLD_LOCAL | RTLD_NOW); in TEST() 185 void* lib = dlopen("libtest_elftls_dynamic.so", RTLD_LOCAL | RTLD_NOW); in TEST() 211 void* lib = dlopen("libtest_elftls_dynamic.so", RTLD_LOCAL | RTLD_NOW); in TEST() 235 void* lib = dlopen("libtest_elftls_shared_var.so", RTLD_LOCAL | RTLD_NOW); in TEST() 250 void* lib = dlopen("libtest_elftls_dynamic.so", RTLD_LOCAL | RTLD_NOW); in TEST() 272 void* lib = dlopen("libtest_elftls_dynamic.so", RTLD_LOCAL | RTLD_NOW); in TEST() 281 void* lib = dlopen("libtest_elftls_dynamic.so", RTLD_LOCAL | RTLD_NOW); in TEST() [all …]
|
D | cfi_test.cpp | 78 handle = dlopen("libcfi-test.so", RTLD_NOW | RTLD_LOCAL); in TEST_F() 134 void* handle2 = dlopen("libcfi-test.so", RTLD_NOW | RTLD_LOCAL); in TEST_F() 152 handle = dlopen("libcfi-test-bad.so", RTLD_NOW | RTLD_LOCAL); in TEST() 155 handle = dlopen("libcfi-test-bad.so", RTLD_NOW | RTLD_LOCAL); in TEST()
|
D | pthread_dlfcn_test.cpp | 43 static void AtForkChild() { dlclose(g_atfork_test_handle); g_atfork_test_handle = dlopen("libtest_p… 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 | dlext_test.cpp | 74 void* h = dlopen(kLibName, RTLD_NOW | RTLD_NOLOAD); in SetUp() 76 h = dlopen(kLibNameNoRelro, RTLD_NOW | RTLD_NOLOAD); in SetUp() 202 void* handle = dlopen("libdlext_test.so", RTLD_NOW); in TEST() 220 void* handle = dlopen(symlink_name.c_str(), RTLD_NOW); in TEST() 239 ASSERT_TRUE(dlopen(nullptr, RTLD_NOW) != nullptr); in TEST() 245 ASSERT_TRUE(dlopen(PATH_TO_SYSTEM_LIB "libicuuc.so", RTLD_NOW) != nullptr); in TEST() 246 ASSERT_TRUE(dlopen(PATH_TO_SYSTEM_LIB "libicui18n.so", RTLD_NOW) != nullptr); in TEST() 251 ASSERT_TRUE(dlopen(PATH_TO_SYSTEM_LIB "libicuuc.so", RTLD_NOW) == nullptr); in TEST() 252 ASSERT_TRUE(dlopen(PATH_TO_SYSTEM_LIB "libicui18n.so", RTLD_NOW) == nullptr); in TEST() 256 ASSERT_TRUE(dlopen(PATH_TO_SYSTEM_LIB "libicuuc.so", RTLD_NOW) == nullptr); in TEST() [all …]
|
D | hwasan_test.cpp | 69 void* handle = dlopen(path.c_str(), RTLD_NOW); 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()
|
/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 | 10 void *handle = dlopen("libtest_dt_runpath_x.so", RTLD_NOW); in dlopen_b()
|
D | cfi_test_helper2.cpp | 24 handle = dlopen("libcfi-test.so", RTLD_NOW | RTLD_NOLOAD); in main()
|
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 | tls_properties_helper.cpp | 77 void* lib = dlopen("libtest_elftls_dynamic.so", RTLD_LOCAL | RTLD_NOW); in test_iter_tls()
|
/bionic/libdl/ |
D | libdl_static.cpp | 21 void* dlopen(const char* /*filename*/, int /*flag*/) { in dlopen() function
|
D | libdl.map.txt | 25 dlopen;
|
/bionic/tests/headers/posix/ |
D | dlfcn_h.c | 41 FUNCTION(dlopen, void* (*f)(const char*, int)); in dlfcn_h()
|
/bionic/libc/bionic/ |
D | icu.cpp | 42 g_libicu_handle = dlopen("libicu.so", RTLD_LOCAL); in __find_icu()
|
D | NetdClient.cpp | 48 void* handle = dlopen("libnetd_client.so", RTLD_NOW); in netdClientInitImpl()
|
/bionic/benchmarks/linker_relocation/gen/ |
D | liblinker_reloc_bench_106.S | 27 CALL(dlopen)
|
D | liblinker_reloc_bench_009.S | 24 CALL(dlopen)
|
D | liblinker_reloc_bench_094.S | 55 CALL(dlopen)
|
/bionic/ |
D | android-changes-for-ndk-developers.md | 44 had to call `dlopen` or `System.loadLibrary` on all transitive 90 The dlopen(3) RTLD_LOCAL flag used to be ignored but is implemented 92 so even calls to dlopen(3) that didn’t explicitly use RTLD_LOCAL will 95 to dlopen(3) (as opposed to being referenced by DT_NEEDED entries). 116 `dlopen("/this/directory/does/not/exist/libc.so", RTLD_NOW)` would 150 Note that in API level 23 and above dlopen(3) can open a library from 151 any zip file, not just an APK. Just give dlopen(3) a path of the form 167 System.loadLibrary(), DT_NEEDED entries, and direct calls to dlopen(3) 393 dlopen failed: "/data/data/com.example.bad/lib.so" has unsupported e_shentsize: 0x0 (expected 0x28) 401 ## Enable logging of dlopen/dlsym and library loading errors for apps (Available for API level >= 2… [all …]
|
/bionic/libc/include/ |
D | dlfcn.h | 58 void* _Nullable dlopen(const char* _Nullable __filename, int __flag);
|