Searched refs:an (Results 1 – 25 of 30) sorted by relevance
12
23 TLS Block". TLS variables within the Static TLS Block exist at fixed offsets from an40 an executable, the linker needs to know where an executable's TLS segment is relative to the TP so114 If an allocation fails, `__tls_get_addr` calls `abort` (like emutls).154 variable with a dynamic initializer has an associated TLS guard variable.)158 If the variable is part of the Static TLS Block (i.e. the executable or an initially-loaded shared162 Example: a C file for an executable:197 ## Selecting an Access Model199 The compiler selects an access model for each variable reference using these factors:200 * The absence of `-fpic` implies an executable, so use IE/LE.234 reference has a corresponding descriptor, which contains a resolver function address and an argument[all …]
29 the situation becomes complicated. If you're targeting an API before 21, almost30 all functions that take an `off_t` become unavailable. You've asked for their36 later, if you're using Clang we'll inline an `mmap64` implementation in the37 headers when you target an API before 21 because it's an easy special case97 an equivalent to `_FILE_OFFSET_BITS=64`, which we wouldn't be able
34 call to an allocation function (malloc/free/etc). When a call40 a call to an allocation function (malloc/free/etc) when `malloc_disable`55 When set to zero, `mallopt(M_DECAY_TIME, 0)`, it is expected that an60 When set to non-zero, `mallopt(M_DECAY_TIME, 1)`, an allocator can delay the66 thread to handle the purge, so the decay is only handled when an77 When called, `mallopt(M_PURGE, 0)`, an allocator should purge and release86 These are the tests that should be run to verify an allocator is205 not be used as absolutes for determining if an allocator is worth using.226 frees are not counted. Forty allocations is an arbitrary number that could243 As with the other microbenchmarks, an allocator with numbers in the same[all …]
56 Here is an example of how the benchmark should be executed. For this130 When verifying an assembler routine that operates on buffer data (such as135 read past the end. This kind of bug results in an infrequent and difficult to138 can result in an unaligned exception.153 an unwind with incorrect function information.
43 …heir closure. fdsan provides functions to associate a file descriptor with an owner; if someone tr…45 …an 8-bit type byte that identifies the type of the owner (`enum android_fdan_owner_type` in [`<and…47 If a file descriptor that's been marked with a tag is closed with an incorrect tag, or without a ta…55 …- Upon detecting an error, emit a warning to logcat, generate a tombstone, and then continue execu…59 - Abort upon detecting an error.63 …s proportional to the percentage of file descriptors in your process that are tagged with an owner.
23 Most bionic-only diversions should be accompanied by an explanatory comment.135 * Passing an invalid `pthread_t` to libc is now detected at runtime and277 and in an attempt to flush out racy code, we changed how an invalid280 `pthread_kill`, instead of returning ESRCH when passed an invalid306 won't actually exit and unmap until it's joined. If you're joining an308 joining an already-joined thread, you need to rethink your design!
46 If your code can be built either as part of an app _or_ as part of the OS
57 has been set, then the hook is called with an appropriate alignment value.68 the current default allocation functions. It is expected that if an95 Enable malloc hooks using an environment variable:117 an order of magnitude larger, so there should be no need to truncate the name
51 This option will slow down allocations by an order of magnitude, and66 Whenever an allocation is created, initialize the data with a known68 Whenever an allocation is freed, write a known pattern over the data (0xef).84 the expected patterns. If not, then an error message is printed to the log.95 If the entire allocation is not filled with this value, an error is printed
48 Enables a small buffer placed before the allocated data. This is an attempt52 modified. If any part of the front guard is modified, an error will be reported74 Enables a small buffer placed after the allocated data. This is an attempt78 modified. If any part of the rear guard is modified, an error will be reported101 This option will slow down allocations by an order of magnitude. If the177 When an allocation is freed, fill it with 0xef.189 Add an extra amount to allocate for every allocation.205 When the list is full, an allocation is removed from the list and is230 an allocation has a special header applied, and the header is corrupted238 backtrace frames to capture when an allocation is freed.[all …]
24 "You" (or "Your") shall mean an individual or Legal Entity39 (an example is provided in the Appendix below).44 represent, as a whole, an original work of authorship. For the purposes53 or by an individual or Legal Entity authorized to submit on behalf of120 or as an addendum to the NOTICE text from the Work, provided146 Contributor provides its Contributions) on an "AS IS" BASIS,199 distributed under the License is distributed on an "AS IS" BASIS,
11 # distributed under the License is distributed on an "AS IS" BASIS,
11 // distributed under the License is distributed on an "AS IS" BASIS,92 // useful. If you're trying to run the current benchmarks on an older
35 to an XML file such as `/data/nativetest/suites/example.xml`, it will be used as-is.
9 Required tools: the NDK has an _arch_-linux-android-readelf binary20 will be tied to an app's target API level:131 ## Opening shared libraries directly from an APK179 used to deny access to the greylist even to an app that would normally221 uses them for validity checking. Some developers strip them in an240 modified. Such an approach reduces load time and improves security.340 are not found, or you try to use an ABI-incompatible library that isn't354 versions of Android, with an error referencing `__register_atfork`.356 *Resolution*: build your code with an NDK target API level that matches your361 If an ELF file contains a DT_RUNPATH entry, the directories listed there[all …]
6 # Using bionic as an app developer172 an invalid argument helps check that we're generating the right symbol237 rewritten to not require root, that's an even better solution.256 The host tests require that you have `lunch`ed either an x86 or x86_64 target.
14 This part of the document maps location of an executable to a section. Here is an example
3 This library provides an async_safe implementation for formatting and writing log messages to logd.
11 // distributed under the License is distributed on an "AS IS" BASIS,
19 `regen/dump_relocs.py` scans an ELF file and its dependencies, outputting a JSON
11 // distributed under the License is distributed on an "AS IS" BASIS,483 // library as an emutls symbol. The -fno-emulated-tls flag above configures484 // the compiler to reference an ordinary ELF TLS __sancov_lowest_stack513 // library as an emutls symbol. The -fno-emulated-tls flag above configures514 // the compiler to reference an ordinary ELF TLS __sancov_lowest_stack
780 ns_name_owned(ns_namemap_ct a, int an, ns_namemap_ct b, int bn) { in ns_name_owned() argument782 if (an < bn) in ns_name_owned()791 a++, an--; in ns_name_owned()
99 // host/linux-x86/benchmarktest64/bionic-spawn-benchmarks, the runpath needs an extra "..".
11 // distributed under the License is distributed on an "AS IS" BASIS,375 // namespace b while keeping libnstest_ns_a_public1_internal as an544 // Depends on library A with an incorrect DT_RUNPATH. This does not matter982 // This library is empty, the actual implementation will provide an unversioned