Home
last modified time | relevance | path

Searched refs:soname (Results 1 – 13 of 13) sorted by relevance

/bionic/libc/malloc_debug/
Dbacktrace.cpp153 const char* soname = (entry != nullptr) ? entry->name.c_str() : info.dli_fname; in backtrace_string() local
154 if (soname == nullptr) { in backtrace_string()
155 soname = "<unknown>"; in backtrace_string()
169 frame_num, rel_pc, soname, offset_buf, demangle(symbol).c_str(), in backtrace_string()
173 frame_num, rel_pc, soname, offset_buf); in backtrace_string()
/bionic/tests/libs/
DAndroid.build.versioned_lib.mk71 -Wl,-soname,libtest_versioned_lib.so
84 -Wl,-soname,libtest_versioned_lib.so
109 libtest_versioned_otherlib_empty_ldflags := -Wl,-soname,libtest_versioned_otherlib.so
DAndroid.mk115 libdlext_test_different_soname_ldflags := -Wl,-soname=libdlext_test_soname.so
DAndroid.bp158 // Library with soname which does not match filename
443 ldflags: ["-Wl,-soname=libtest_with_dependency_loop_b.so"],
/bionic/linker/
Dlinker_namespaces.h56 bool is_accessible(const char* soname) const { in is_accessible()
57 if (soname == nullptr) { in is_accessible()
60 return allow_all_shared_libs_ || shared_lib_sonames_.find(soname) != shared_lib_sonames_.end(); in is_accessible()
Dlinker_cfi.cpp135 const char* soname = si->get_soname(); in find_libdl() local
136 if (soname && strcmp(soname, "libdl.so") == 0) { in find_libdl()
Dlinker_soinfo.cpp563 void soinfo::set_soname(const char* soname) { in set_soname() argument
566 soname_ = soname; in set_soname()
570 soname_ = soname; in set_soname()
Dlinker.cpp174 std::string soname = resolve_soname(name); in maybe_accessible_via_namespace_links() local
176 if (ns_link.is_accessible(soname.c_str())) { in maybe_accessible_via_namespace_links()
260 for (const char* soname : kSystemToRuntimeApexLibs) { in translateSystemPathToApexPath() local
261 if (strcmp(base_name, soname) == 0) { in translateSystemPathToApexPath()
1458 const char* soname = si->get_soname(); in find_loaded_library_by_soname() local
1459 if (soname != nullptr && (strcmp(name, soname) == 0)) { in find_loaded_library_by_soname()
1507 std::string soname; in find_library_in_linked_namespace() local
1510 soname = candidate->get_soname(); in find_library_in_linked_namespace()
1512 soname = resolve_soname(task->get_name()); in find_library_in_linked_namespace()
1515 if (!namespace_link.is_accessible(soname.c_str())) { in find_library_in_linked_namespace()
[all …]
Dlinker_soinfo.h279 void set_soname(const char* soname);
DAndroid.bp168 "-Wl,-soname,ld-android.so",
/bionic/tests/
Delftls_dl_test.cpp155 #define LOAD_LIB(soname) ({ \ in TEST() argument
156 auto lib = dlopen(soname, RTLD_LOCAL | RTLD_NOW); \ in TEST()
Ddlfcn_test.cpp235 static const char* soname = "libdlext_test_soname.so"; in TEST() local
238 void* handle = dlopen(soname, RTLD_NOW); in TEST()
246 void* handle_soname = dlopen(soname, RTLD_NOW | RTLD_NOLOAD); in TEST()
1565 void validate_compatibility_of_native_library(const std::string& soname, in validate_compatibility_of_native_library() argument
1594 if (soname != "libdl.so") { in validate_compatibility_of_native_library()
1599 void validate_compatibility_of_native_library(const std::string& soname) { in validate_compatibility_of_native_library() argument
1602 std::string path = std::string(ALTERNATE_PATH_TO_SYSTEM_LIB) + soname; in validate_compatibility_of_native_library()
1605 path = std::string(PATH_TO_SYSTEM_LIB) + soname; in validate_compatibility_of_native_library()
1619 validate_compatibility_of_native_library(soname, path, elf); in validate_compatibility_of_native_library()
/bionic/
Dandroid-changes-for-ndk-developers.md87 ## Correct soname/path handling (Available in API level >= 23)
90 between a library’s soname and its path (public bug
92 is the first release where search by soname is implemented. Earlier
93 releases would assume that the basename of the library was the soname,
320 0x0000000e (SONAME) Library soname: [libWithSoName.so]
331 the -soname linker option).