Home
last modified time | relevance | path

Searched refs:dlopen (Results 1 – 25 of 41) sorted by relevance

12

/bionic/tests/
Ddlfcn_test.cpp90 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 …]
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.cpp51 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()
Ddlext_test.cpp73 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 …]
Dpthread_dlfcn_test.cpp43 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()
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()
/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()
Dld_config_test_helper.cpp40 void* handle = dlopen(vdso_name, RTLD_NOW); in main()
Dnamespaces_root.cpp54 void* handle = dlopen("libnstest_dlopened.so", RTLD_NOW | RTLD_GLOBAL); in ns_get_dlopened_string()
/bionic/libdl/
Dlibdl_static.cpp21 void* dlopen(const char* /*filename*/, int /*flag*/) { in dlopen() function
Dlibdl.map.txt25 dlopen;
Dlibdl.cpp82 void* dlopen(const char* filename, int flag) { in dlopen() function
/bionic/
Dandroid-changes-for-ndk-developers.md41 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/
Ddlfcn_h.c41 FUNCTION(dlopen, void* (*f)(const char*, int)); in dlfcn_h()
/bionic/libc/bionic/
Dicu.cpp42 g_libicuuc_handle = dlopen("libandroidicu.so", RTLD_LOCAL); in __find_icu()
DNetdClient.cpp48 void* handle = dlopen("libnetd_client.so", RTLD_NOW); in netdClientInitImpl()
/bionic/libc/include/
Ddlfcn.h48 void* dlopen(const char* __filename, int __flag);
/bionic/benchmarks/linker_relocation/gen/
Dliblinker_reloc_bench_106.S27 CALL(dlopen)
Dliblinker_reloc_bench_009.S24 CALL(dlopen)
Dliblinker_reloc_bench_094.S55 CALL(dlopen)
/bionic/libfdtrack/
Dfdtrack_test.cpp46 void* libfdtrack = dlopen("libfdtrack.so", RTLD_NOW); in RunFdtrack()

12