Home
last modified time | relevance | path

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

12

/bionic/tests/
Ddlfcn_test.cpp76 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 …]
Delftls_dl_test.cpp55 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 …]
Dcfi_test.cpp78 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()
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()
Ddlext_test.cpp74 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 …]
Dhwasan_test.cpp69 void* handle = dlopen(path.c_str(), RTLD_NOW); 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.cpp10 void *handle = dlopen("libtest_dt_runpath_x.so", RTLD_NOW); in dlopen_b()
Dcfi_test_helper2.cpp24 handle = dlopen("libcfi-test.so", RTLD_NOW | RTLD_NOLOAD); in main()
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()
Dtls_properties_helper.cpp77 void* lib = dlopen("libtest_elftls_dynamic.so", RTLD_LOCAL | RTLD_NOW); in test_iter_tls()
/bionic/libdl/
Dlibdl_static.cpp21 void* dlopen(const char* /*filename*/, int /*flag*/) { in dlopen() function
Dlibdl.map.txt25 dlopen;
/bionic/tests/headers/posix/
Ddlfcn_h.c41 FUNCTION(dlopen, void* (*f)(const char*, int)); in dlfcn_h()
/bionic/libc/bionic/
Dicu.cpp42 g_libicu_handle = dlopen("libicu.so", RTLD_LOCAL); in __find_icu()
DNetdClient.cpp48 void* handle = dlopen("libnetd_client.so", RTLD_NOW); in netdClientInitImpl()
/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/
Dandroid-changes-for-ndk-developers.md44 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/
Ddlfcn.h58 void* _Nullable dlopen(const char* _Nullable __filename, int __flag);

12