Home
last modified time | relevance | path

Searched refs:symbols (Results 1 – 23 of 23) sorted by relevance

/bionic/libc/tools/
Dndk_missing_symbols.py21 import symbols
35 current = symbols.GetFromAndroidSo(['libc.so', 'libm.so'])
36 device = (symbols.GetFromElf(os.path.join(tmp_dir, 'libc.so')) |
37 symbols.GetFromElf(os.path.join(tmp_dir, 'libm.so')))
38 compat_lib = symbols.GetFromAndroidStaticLib(['libc_ndk.a'])
Dsymbols.py23 symbols = set()
26 symbols.add(line)
28 return symbols
42 symbols = set()
53 symbols.add(symbol)
55 return symbols
Dcheck-symbols-glibc.py23 import symbols
56 glibc = symbols.GetFromSystemSo([
65 bionic = symbols.GetFromAndroidSo(['libc.so', 'libm.so'])
67 posix = symbols.GetFromTxt(os.path.join(this_dir, 'posix-2013.txt'))
/bionic/tools/versioner/src/
DSymbolDatabase.cpp79 std::optional<SymbolMap> symbols = parseSymbolFile(path, type); in parsePlatform() local
80 if (!symbols) { in parsePlatform()
87 for (auto&& [symbol_name, symbol_type] : *symbols) { in parsePlatform()
109 std::map<std::string, NdkSymbolType> symbols = parsePlatform(type, platform_dir); in parsePlatforms() local
110 for (const auto& it : symbols) { in parsePlatforms()
DSymbolFileParser.cpp47 SymbolList symbols; member
76 for (auto&& [name, tags] : version->symbols) { in parse()
129 SymbolList symbols; in parseVersion() local
150 std::move(symbols), std::move(tags)}); in parseVersion()
194 symbols.push_back(SymbolEnt{std::move(symbol_name), in parseVersion()
DDeclarationDatabase.h202 std::map<std::string, Symbol> symbols;
207 fprintf(out, "HeaderDatabase contains %zu symbols:\n", symbols.size());
208 for (const auto& pair : symbols) {
DDeclarationDatabase.cpp191 auto symbol_it = database.symbols.find(declaration_name); in VisitDeclaratorDecl()
192 if (symbol_it == database.symbols.end()) { in VisitDeclaratorDecl()
195 std::tie(symbol_it, unused) = database.symbols.insert({declaration_name, symbol}); in VisitDeclaratorDecl()
Dversioner.cpp341 for (const auto& symbol_it : database->symbols) { in validityCheck()
366 for (const auto& symbol_it : header_database->symbols) { in checkVersions()
442 if (auto symbol_it = header_database->symbols.find(symbol_name); in checkVersions()
443 symbol_it != header_database->symbols.end()) { in checkVersions()
DPreprocessor.cpp422 for (const auto& symbol_it : database->symbols) { in preprocessHeaders()
/bionic/build/
Dcoverage.sh56 $OUT/symbols/apex/com.android.runtime/lib64/bionic/libc.so \
57 --object=$OUT/symbols/apex/com.android.runtime/lib64/bionic/libm.so \
58 --object=$OUT/symbols/data/nativetest64/bionic-unit-tests/bionic-unit-tests \
59 --object=$OUT/symbols/apex/com.android.runtime/lib/bionic/libc.so \
60 --object=$OUT/symbols/apex/com.android.runtime/lib/bionic/libm.so \
61 --object=$OUT/symbols/data/nativetest/bionic-unit-tests/bionic-unit-tests \
/bionic/tests/
Dexecinfo_test.cpp174 char** symbols = backtrace_symbols(frames.data(), static_cast<int>(frames.size())); in TEST() local
175 ASSERT_TRUE(symbols != nullptr); in TEST()
178 VerifyLineFormat(symbols[i], strlen(symbols[i])); in TEST()
186 ASSERT_MATCH(symbols[call_one_idx - 1], "\\(CallOne+"); in TEST()
187 ASSERT_MATCH(symbols[call_two_idx - 1], "\\(CallTwo+"); in TEST()
188 free(symbols); in TEST()
/bionic/libdl/
DAndroid.bp65 // NOTE: --exclude-libs=libgcc.a makes sure that any symbols libdl.so pulls from
67 // a) pull symbols from libgcc.a and b) depend on libdl.so will not rely on libdl.so
68 // to provide those symbols, but will instead pull them from libgcc.a. Specifically,
165 // NOTE: --exclude-libs=libgcc.a makes sure that any symbols libdl.so pulls from
167 // a) pull symbols from libgcc.a and b) depend on libdl.so will not rely on libdl.so
168 // to provide those symbols, but will instead pull them from libgcc.a. Specifically,
/bionic/linker/
DAndroid.bp11 // extract_linker), and defines the extern symbols used in this file.
295 // Leave the symbols in the shared library so that stack unwinders can produce
304 // Leave the symbols in the shared library so that stack unwinders can produce
313 // Leave the symbols in the shared library so that stack unwinders can produce
322 // Leave the symbols in the shared library so that stack unwinders can produce
359 // Insert an extra objcopy step to add prefix to symbols. This is needed to prevent gdb
360 // looking up symbols in the linker by mistake.
481 // NOTE: --exclude-libs=libgcc.a makes sure that any symbols ld-android.so pulls from
483 // a) pull symbols from libgcc.a and b) depend on ld-android.so will not rely on ld-android.so
484 // to provide those symbols, but will instead pull them from libgcc.a. Specifically,
/bionic/benchmarks/linker_relocation/
DREADME.md4 of shared objects with many symbols and relocations. It mimics the work involved
/bionic/libc/dns/resolv/
Dres_debug.c647 const struct res_sym *symbols; in p_section() local
651 symbols = __p_update_section_syms; in p_section()
654 symbols = __p_default_section_syms; in p_section()
657 return (sym_ntos(symbols, section, (int *)0)); in p_section()
/bionic/docs/
Dstatus.md51 Run `./libc/tools/check-symbols-glibc.py` in bionic/ for the current
56 Current libc symbols: https://android.googlesource.com/platform/bionic/+/main/libc/libc.map.txt
106 * Non-inline symbols for `ffsl`, `ffsll`.
306 Current libm symbols: https://android.googlesource.com/platform/bionic/+/main/libm/libm.map.txt
Delf-tls.md378 gdb provides APIs for looking up symbols, reading or writing memory, and retrieving the current
407 > expose the structure of the DTV via metadata exported as symbols from the .so itself, designed
421 The metadata variables are local symbols in glibc's `libpthread.so` symbol table (but not its
480 * Android P [added compatibility checks] for TLS symbols and `DT_TLSDESC_{GOT|PLT}` entries.
847 * It looks like glibc's ld.so re-relocates itself after loading a program, so a program's symbols
/bionic/libc/
DAndroid.bp92 // lld complains about duplicate symbols in libcrt and libgcc. Suppress the
1571 // LOCAL_LDFLAGS for those libraries. This ensures that symbols that are pulled into
1573 // then libc would not pull those symbols from libgcc.a as it should, instead relying
1574 // on the external symbols from the dependent libraries. That would create a "cloaked"
1620 // Leave the symbols in the shared library so that stack unwinders can produce
1629 // Leave the symbols in the shared library so that stack unwinders can produce
1648 // Leave the symbols in the shared library so that stack unwinders can produce
1657 // Leave the symbols in the shared library so that stack unwinders can produce
2191 // This library contains the following unresolved symbols:
DSYSCALLS.TXT170 # sizeof(off_t) == sizeof(off64_t), so there we emit two symbols that are
/bionic/
Dandroid-changes-for-ndk-developers.md62 We have made various fixes to library search order when resolving symbols.
94 symbols will not be made available to libraries loaded by later calls
335 being loaded at runtime, which leads to crashes when required symbols
504 and switched to using symbols inserted by LLD (like `__init_array_start`,
DREADME.md41 into memory and resolving references to symbols (so that when your code tries to
/bionic/tests/libs/
DAndroid.bp465 // does not expose symbols from dependent library (libnstest_public_internal.so)
1062 // Libraries used to test versioned symbols
/bionic/libc/malloc_debug/
DREADME.md778 symbols in your app's shared libraries rather than stripping them. That