Home
last modified time | relevance | path

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

12

/bionic/tests/
Ddlfcn_test.cpp78 void* self = dlopen(nullptr, RTLD_NOW); in TEST()
95 void* handle = dlopen("libtest_dlsym_from_this.so", RTLD_LAZY | RTLD_LOCAL); in TEST()
132 void* preload = dlopen("libtest_dlsym_from_this_grandchild.so", RTLD_NOW | RTLD_LOCAL); in TEST()
135 void* handle = dlopen("libtest_dlsym_from_this.so", RTLD_NOW | RTLD_LOCAL); in TEST()
175 void* handle = dlopen("libtest_empty.so", RTLD_NOW); in TEST()
176 dlopen("libtest_with_dependency.so", RTLD_NOW | RTLD_GLOBAL); in TEST()
189 void* handle = dlopen("libtest_dlsym_from_this.so", RTLD_NOW); in TEST()
198 void* handle = dlopen("libtest_with_dependency.so", RTLD_NOW); in TEST()
211 void* handle = dlopen("libtest_simple.so", RTLD_NOW | RTLD_NOLOAD); in TEST()
213 handle = dlopen("libtest_simple.so", RTLD_NOW); in TEST()
[all …]
Dcfi_test.cpp36 handle = dlopen("libcfi-test.so", RTLD_NOW | RTLD_LOCAL); in TEST()
89 void* handle2 = dlopen("libcfi-test.so", RTLD_NOW | RTLD_LOCAL); in TEST()
111 handle = dlopen("libcfi-test-bad.so", RTLD_NOW | RTLD_LOCAL); in TEST()
114 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.cpp70 void* h = dlopen(kLibName, RTLD_NOW | RTLD_NOLOAD); in SetUp()
72 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()
238 void* handle = dlopen((lib_path + "!/libdir/libatest_simple_zip.so").c_str(), RTLD_NOW); in TEST()
252 void* handle = dlopen((lib_path + "!/libdir/libtest_dt_runpath_d_zip.so").c_str(), RTLD_NOW); in TEST()
277 void* handle = dlopen("libdlext_test_zip.so", RTLD_NOW); in TEST()
282 handle = dlopen("libdlext_test_zip.so", RTLD_NOW); in TEST()
586 handle = dlopen(lib, RTLD_NOW); in SpawnChildrenAndMeasurePss()
650 void* handle_public = dlopen(lib_public_path.c_str(), RTLD_NOW); in TEST()
[all …]
Ddlfcn_symlink_support.cpp57 void* handle = dlopen(source_file_name, RTLD_NOW); in create_dlfcn_test_symlink()
Datexit_test.cpp42 void* handle = dlopen("libtest_atexit.so", RTLD_NOW); in TEST()
Dwctype_test.cpp33 return (dlopen("libc.so", 0) != nullptr); in have_dl()
/bionic/tests/libs/
Ddlopen_testlib_dlopen_from_ctor.cpp20 void* handle = dlopen("libc.so", RTLD_NOW); in call_dlopen_from_ctor()
Ddlopen_b.cpp10 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()
Dnamespaces_root.cpp54 void* handle = dlopen("libnstest_dlopened.so", RTLD_NOW | RTLD_GLOBAL); in ns_get_dlopened_string()
DAndroid.bp434 // Library with constructor that calls dlopen() b/7941716
487 // Library that depends on the library with constructor that calls dlopen() b/7941716
/bionic/libc/bionic/
DNetdClient.cpp37 void* netdClientHandle = dlopen("libnetd_client.so", RTLD_NOW); in netdClientInitImpl()
Dicu.cpp77 g_libicuuc_handle = dlopen("libicuuc.so", RTLD_LOCAL); in __find_icu()
Dmalloc_common.cpp342 void* malloc_impl_handle = dlopen(DEBUG_SHARED_LIB, RTLD_NOW | RTLD_LOCAL); in malloc_init_impl()
/bionic/libc/include/
Ddlfcn.h53 void* dlopen(const char* filename, int flag);
/bionic/
Dandroid-changes-for-ndk-developers.md56 The dlopen(3) RTLD_LOCAL flag used to be ignored but is implemented
58 so even calls to dlopen(3) that didn’t explicitly use RTLD_LOCAL will
61 to dlopen(3) (as opposed to being referenced by DT_NEEDED entries).
80 `dlopen("/this/directory/does/not/exist/libc.so", RTLD_NOW)` would
114 Note that in API level 23 and above dlopen(3) will open a library from
115 any zip file, not just your APK. Just give dlopen(3) a path of the form
127 System.loadLibrary, DT_NEEDED entries, and direct calls to dlopen(3)
344 dlopen failed: "/data/data/com.example.bad/lib.so" has unsupported e_shentsize: 0x0 (expected 0x28)
351 ## Enable logging of dlopen/dlsym and library loading errors for apps (Available in Android O)
353 Starting with Android O it is possible to enable logging of all dlsym/dlopen calls
[all …]
/bionic/libdl/
Dlibdl.map.txt25 dlopen;
Dlibdl.mips.map25 dlopen;
Dlibdl.x86_64.map25 dlopen;
Dlibdl.arm.map26 dlopen;
Dlibdl.arm64.map25 dlopen;
Dlibdl.mips64.map25 dlopen;
Dlibdl.x86.map25 dlopen;
Dlibdl.c101 void* dlopen(const char* filename, int flag) { in dlopen() function

12