Home
last modified time | relevance | path

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

/bionic/libc/malloc_debug/
Dbacktrace.cpp142 const char* soname = (entry != nullptr) ? entry->name().c_str() : info.dli_fname; in backtrace_string() local
143 if (soname == nullptr) { in backtrace_string()
144 soname = "<unknown>"; in backtrace_string()
166 frame_num, rel_pc, soname, offset_buf, name, in backtrace_string()
171 frame_num, rel_pc, soname, offset_buf); in backtrace_string()
/bionic/benchmarks/linker_relocation/regen/
Dcommon_types.py135 self.soname: str = None
142 result['soname'] = self.soname
145 result['needed'] = [lib.soname for lib in self.needed]
151 result.soname = obj['soname']
160 result['root'] = tree.soname
172 libraries[lib.soname] = lib
Dgen_bench.py175 if d is not None and d.soname in kBionicSonames:
271 all_libs = [x for x in bfs_walk(root) if x is not root and x.soname not in kBionicSonames]
276 self._names = {x : re.sub(r'\.so$', '', x.soname) for x in all_libs}
306 if lib.soname in kBionicSonames: continue
315 needed = ' '.join([lib_dso_name(x) for x in lib.needed if x.soname not in kBionicSonames])
341 if lib.soname in kBionicSonames: continue
348 if lib.soname in kBionicSonames: continue
368 if need.soname in kBionicSonames: continue
Ddump_relocs.py215 lib.soname = get_elf_soname(path)
216 if lib.soname in libraries: sys.exit(f'soname already loaded: {lib.soname}')
217 libraries[lib.soname] = lib
/bionic/tests/libs/
Delftls_dtv_resize_helper.cpp104 auto load_lib = [](const char* soname) { in main() argument
105 void* lib = dlopen(soname, RTLD_LOCAL | RTLD_NOW); in main()
149 auto fill_entry = [&](size_t modid, const char* soname, int tls_var_value) { in main() argument
151 auto func = load_lib(soname); in main()
DAndroid.bp260 // Library with soname which does not match filename
266 ldflags: ["-Wl,-soname=libdlext_test_soname.so"],
666 // | |-> libtest_dt_runpath_a.so (soname)
1108 ldflags: ["-Wl,-soname,libtest_versioned_lib.so"],
1117 ldflags: ["-Wl,-soname,libtest_versioned_lib.so"],
1135 ldflags: ["-Wl,-soname,libtest_versioned_otherlib.so"],
1188 ldflags: ["-Wl,-soname=libtest_with_dependency_loop_b.so"],
/bionic/linker/
Dlinker_namespaces.h58 bool is_accessible(const char* soname) const { in is_accessible()
59 return allow_all_shared_libs_ || shared_lib_sonames_.find(soname) != shared_lib_sonames_.end(); in is_accessible()
Dlinker_soinfo.cpp685 void soinfo::set_soname(const char* soname) { in set_soname() argument
688 soname_ = soname; in set_soname()
692 soname_ = soname; in set_soname()
Dlinker.cpp213 std::string soname = resolve_soname(name); in maybe_accessible_via_namespace_links() local
215 if (ns_link.is_accessible(soname.c_str())) { in maybe_accessible_via_namespace_links()
1427 std::string soname; in find_library_in_linked_namespace() local
1430 soname = candidate->get_soname(); in find_library_in_linked_namespace()
1432 soname = resolve_soname(task->get_name()); in find_library_in_linked_namespace()
1435 if (!namespace_link.is_accessible(soname.c_str())) { in find_library_in_linked_namespace()
1439 ns->get_name(), task->get_name(), soname.c_str()); in find_library_in_linked_namespace()
Dlinker_soinfo.h319 void set_soname(const char* soname);
DAndroid.bp337 "-Wl,-soname,ld-android.so",
/bionic/tests/
Ddlfcn_test.cpp221 static const char* soname = "libdlext_test_soname.so"; in TEST() local
224 void* handle = dlopen(soname, RTLD_NOW); in TEST()
232 void* handle_soname = dlopen(soname, RTLD_NOW | RTLD_NOLOAD); in TEST()
1539 void validate_compatibility_of_native_library(const std::string& soname, const std::string& path) { in validate_compatibility_of_native_library() argument
1554 ASSERT_TRUE(std::regex_search(output, std::regex("\\(RELA?\\)")) || soname == "libdl.so") in validate_compatibility_of_native_library()
1558 void validate_compatibility_of_native_library(const std::string& soname) { in validate_compatibility_of_native_library() argument
1561 std::string path = std::string(ALTERNATE_PATH_TO_SYSTEM_LIB) + soname; in validate_compatibility_of_native_library()
1563 path = std::string(PATH_TO_SYSTEM_LIB) + soname; in validate_compatibility_of_native_library()
1566 validate_compatibility_of_native_library(soname, path); in validate_compatibility_of_native_library()
/bionic/
Dandroid-changes-for-ndk-developers.md108 ## Correct soname/path handling (Available in API level >= 23)
111 between a library’s soname and its path (public bug
113 is the first release where search by soname is implemented. Earlier
114 releases would assume that the basename of the library was the soname,
324 attribute by default, so its absence (or an incorrect soname) indicates
331 0x0000000e (SONAME) Library soname: [libWithSoName.so]
342 the `-soname` linker option).