/bionic/tests/ |
D | dlfcn_test.cpp | 90 void* self = dlopen(nullptr, RTLD_NOW); in TEST() 107 void* handle = dlopen("libtest_dlsym_from_this.so", RTLD_LAZY | RTLD_LOCAL); 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() [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 | 51 handle = dlopen("libcfi-test.so", RTLD_NOW | RTLD_LOCAL); in TEST() 113 void* handle2 = dlopen("libcfi-test.so", RTLD_NOW | RTLD_LOCAL); in TEST() 135 handle = dlopen("libcfi-test-bad.so", RTLD_NOW | RTLD_LOCAL); in TEST() 138 handle = dlopen("libcfi-test-bad.so", RTLD_NOW | RTLD_LOCAL); in TEST()
|
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() 200 void* handle = dlopen("libdlext_test.so", RTLD_NOW); in TEST() 218 void* handle = dlopen(symlink_name.c_str(), RTLD_NOW); in TEST() 237 ASSERT_TRUE(dlopen(nullptr, RTLD_NOW) != nullptr); in TEST() 243 ASSERT_TRUE(dlopen(PATH_TO_SYSTEM_LIB "libicuuc.so", RTLD_NOW) != nullptr); in TEST() 244 ASSERT_TRUE(dlopen(PATH_TO_SYSTEM_LIB "libicui18n.so", RTLD_NOW) != nullptr); in TEST() 249 ASSERT_TRUE(dlopen(PATH_TO_SYSTEM_LIB "libicuuc.so", RTLD_NOW) == nullptr); in TEST() 250 ASSERT_TRUE(dlopen(PATH_TO_SYSTEM_LIB "libicui18n.so", RTLD_NOW) == nullptr); in TEST() 254 ASSERT_TRUE(dlopen(PATH_TO_SYSTEM_LIB "libicuuc.so", RTLD_NOW) == nullptr); in TEST() [all …]
|
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 | 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 | 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 | ld_config_test_helper.cpp | 40 void* handle = dlopen(vdso_name, RTLD_NOW); in main()
|
D | namespaces_root.cpp | 54 void* handle = dlopen("libnstest_dlopened.so", RTLD_NOW | RTLD_GLOBAL); in ns_get_dlopened_string()
|
/bionic/libdl/ |
D | libdl_static.cpp | 21 void* dlopen(const char* /*filename*/, int /*flag*/) { in dlopen() function
|
D | libdl.map.txt | 25 dlopen;
|
D | libdl.cpp | 82 void* dlopen(const char* filename, int flag) { in dlopen() function
|
/bionic/ |
D | android-changes-for-ndk-developers.md | 41 had to call `dlopen` or `System.loadLibrary` on all transitive 86 The dlopen(3) RTLD_LOCAL flag used to be ignored but is implemented 88 so even calls to dlopen(3) that didn’t explicitly use RTLD_LOCAL will 91 to dlopen(3) (as opposed to being referenced by DT_NEEDED entries). 110 `dlopen("/this/directory/does/not/exist/libc.so", RTLD_NOW)` would 144 Note that in API level 23 and above dlopen(3) will open a library from 145 any zip file, not just your APK. Just give dlopen(3) a path of the form 157 System.loadLibrary, DT_NEEDED entries, and direct calls to dlopen(3) 394 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 in Android O) [all …]
|
/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_libicuuc_handle = dlopen("libandroidicu.so", RTLD_LOCAL); in __find_icu()
|
D | NetdClient.cpp | 48 void* handle = dlopen("libnetd_client.so", RTLD_NOW); in netdClientInitImpl()
|
/bionic/libc/include/ |
D | dlfcn.h | 48 void* dlopen(const char* __filename, int __flag);
|
/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/libfdtrack/ |
D | fdtrack_test.cpp | 46 void* libfdtrack = dlopen("libfdtrack.so", RTLD_NOW); in RunFdtrack()
|