Home
last modified time | relevance | path

Searched refs:soname (Results 1 – 14 of 14) 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])
335 if lib.soname in kBionicSonames: continue
342 if lib.soname in kBionicSonames: continue
362 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 if (soname == nullptr) { in is_accessible()
62 return allow_all_shared_libs_ || shared_lib_sonames_.find(soname) != shared_lib_sonames_.end(); in is_accessible()
Dlinker_cfi.cpp136 const char* soname = si->get_soname(); in find_libdl() local
137 if (soname && strcmp(soname, "libdl.so") == 0) { in find_libdl()
Dlinker_soinfo.cpp693 void soinfo::set_soname(const char* soname) { in set_soname() argument
696 soname_ = soname; in set_soname()
700 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()
1342 const char* soname = si->get_soname(); in find_loaded_library_by_soname() local
1343 if (soname != nullptr && (strcmp(name, soname) == 0)) { in find_loaded_library_by_soname()
1391 std::string soname; in find_library_in_linked_namespace() local
1394 soname = candidate->get_soname(); in find_library_in_linked_namespace()
1396 soname = resolve_soname(task->get_name()); in find_library_in_linked_namespace()
1399 if (!namespace_link.is_accessible(soname.c_str())) { in find_library_in_linked_namespace()
1403 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.bp253 "-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.bp199 // Library with soname which does not match filename
205 ldflags: ["-Wl,-soname=libdlext_test_soname.so"],
518 // | |-> libtest_dt_runpath_a.so (soname)
961 ldflags: ["-Wl,-soname,libtest_versioned_lib.so"],
970 ldflags: ["-Wl,-soname,libtest_versioned_lib.so"],
988 ldflags: ["-Wl,-soname,libtest_versioned_otherlib.so"],
1041 ldflags: ["-Wl,-soname=libtest_with_dependency_loop_b.so"],
/bionic/
Dandroid-changes-for-ndk-developers.md102 ## Correct soname/path handling (Available in API level >= 23)
105 between a library’s soname and its path (public bug
107 is the first release where search by soname is implemented. Earlier
108 releases would assume that the basename of the library was the soname,
335 0x0000000e (SONAME) Library soname: [libWithSoName.so]
346 the -soname linker option).