Home
last modified time | relevance | path

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

/bionic/libc/malloc_debug/
Dbacktrace.cpp151 const char* soname = (entry != nullptr) ? entry->name.c_str() : info.dli_fname; in backtrace_string() local
152 if (soname == nullptr) { in backtrace_string()
153 soname = "<unknown>"; in backtrace_string()
174 frame_num, rel_pc, soname, offset_buf, name, in backtrace_string()
179 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.py171 if d is not None and d.soname in kBionicSonames:
266 all_libs = [x for x in bfs_walk(root) if x is not root and x.soname not in kBionicSonames]
271 self._names = {x : re.sub(r'\.so$', '', x.soname) for x in all_libs}
301 if lib.soname in kBionicSonames: continue
310 needed = ' '.join([lib_dso_name(x) for x in lib.needed if x.soname not in kBionicSonames])
336 if lib.soname in kBionicSonames: continue
343 if lib.soname in kBionicSonames: continue
363 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/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.cpp690 void soinfo::set_soname(const char* soname) { in set_soname() argument
693 soname_ = soname; in set_soname()
697 soname_ = soname; in set_soname()
Dlinker.cpp179 std::string soname = resolve_soname(name); in maybe_accessible_via_namespace_links() local
181 if (ns_link.is_accessible(soname.c_str())) { in maybe_accessible_via_namespace_links()
1394 std::string soname; in find_library_in_linked_namespace() local
1397 soname = candidate->get_soname(); in find_library_in_linked_namespace()
1399 soname = resolve_soname(task->get_name()); in find_library_in_linked_namespace()
1402 if (!namespace_link.is_accessible(soname.c_str())) { in find_library_in_linked_namespace()
1406 ns->get_name(), task->get_name(), soname.c_str()); in find_library_in_linked_namespace()
Dlinker_soinfo.h317 void set_soname(const char* soname);
DAndroid.bp273 "-Wl,-soname,ld-android.so",
/bionic/tests/
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()
1554 void validate_compatibility_of_native_library(const std::string& soname, in validate_compatibility_of_native_library() argument
1583 if (soname != "libdl.so") { in validate_compatibility_of_native_library()
1588 void validate_compatibility_of_native_library(const std::string& soname) { in validate_compatibility_of_native_library() argument
1591 std::string path = std::string(ALTERNATE_PATH_TO_SYSTEM_LIB) + soname; in validate_compatibility_of_native_library()
1594 path = std::string(PATH_TO_SYSTEM_LIB) + soname; in validate_compatibility_of_native_library()
1608 validate_compatibility_of_native_library(soname, path, elf); in validate_compatibility_of_native_library()
Delftls_dl_test.cpp156 #define LOAD_LIB(soname) ({ \ in TEST() argument
157 auto lib = dlopen(soname, RTLD_LOCAL | RTLD_NOW); \ in TEST()
/bionic/tests/libs/
DAndroid.bp219 // Library with soname which does not match filename
225 ldflags: ["-Wl,-soname=libdlext_test_soname.so"],
538 // | |-> libtest_dt_runpath_a.so (soname)
981 ldflags: ["-Wl,-soname,libtest_versioned_lib.so"],
990 ldflags: ["-Wl,-soname,libtest_versioned_lib.so"],
1008 ldflags: ["-Wl,-soname,libtest_versioned_otherlib.so"],
1061 ldflags: ["-Wl,-soname=libtest_with_dependency_loop_b.so"],
/bionic/
Dandroid-changes-for-ndk-developers.md107 ## Correct soname/path handling (Available in API level >= 23)
110 between a library’s soname and its path (public bug
112 is the first release where search by soname is implemented. Earlier
113 releases would assume that the basename of the library was the soname,
338 0x0000000e (SONAME) Library soname: [libWithSoName.so]
349 the -soname linker option).