diff options
Diffstat (limited to 'en/devices/tech')
-rw-r--r-- | en/devices/tech/debug/native-memory.html | 8 | ||||
-rw-r--r-- | en/devices/tech/debug/valgrind.html | 7 | ||||
-rw-r--r-- | en/devices/tech/ota/ab/index.html | 7 |
3 files changed, 17 insertions, 5 deletions
diff --git a/en/devices/tech/debug/native-memory.html b/en/devices/tech/debug/native-memory.html index b690793d..afa0d220 100644 --- a/en/devices/tech/debug/native-memory.html +++ b/en/devices/tech/debug/native-memory.html @@ -21,6 +21,14 @@ limitations under the License. --> +<h2 id="asan">Address Sanitizer</h2> + +<p>Android platform developers use <a href="/devices/tech/debug/asan.html">AddressSanitizer</a> +(ASan) to find memory bugs in C/C++.</p> + +</p>Since Android 8.0 (Oreo) it's also possible to use ASan to debug apps on non-rooted production +devices. You can find instructions on the +<a href="https://github.com/google/sanitizers/wiki/AddressSanitizerOnAndroidO">ASan wiki</a>.</p> <h2 id="malloc_debug">Malloc debug</h2> diff --git a/en/devices/tech/debug/valgrind.html b/en/devices/tech/debug/valgrind.html index 9ae0f088..6abbc999 100644 --- a/en/devices/tech/debug/valgrind.html +++ b/en/devices/tech/debug/valgrind.html @@ -25,9 +25,10 @@ (for detecting memory-related errors in C and C++), Cachegrind (a cache profiler), Massif (a heap profiler), and several other tools.</p> -<p class="note"><strong>Note:</strong> While you can use Valgrind for Android -debugging, most Android platform developers use -<a href="/devices/tech/debug/asan.html">AddressSanitizer</a> instead.</p> +<p class="warning"><strong>Note:</strong> While you can still use Valgrind for Android +debugging, Android platform developers use +<a href="/devices/tech/debug/asan.html">AddressSanitizer</a> instead. +Valgrind will be removed from the platform in a future release.</p> <h2 id=build-valgrind>Building Valgrind</h2> <p>To build Valgrind:</p> diff --git a/en/devices/tech/ota/ab/index.html b/en/devices/tech/ota/ab/index.html index c2a9c447..f494c825 100644 --- a/en/devices/tech/ota/ab/index.html +++ b/en/devices/tech/ota/ab/index.html @@ -21,7 +21,8 @@ limitations under the License. --> - <p>A/B system updates, also known as seamless updates, ensure a workable + <p> + A/B system updates, also known as seamless updates, ensure a workable booting system remains on the disk during an <a href="/devices/tech/ota/index.html"> over-the-air (OTA) update</a>. This approach reduces the likelihood of an inactive device after an update, which means fewer device @@ -31,8 +32,10 @@ updates successfully. </p> - <p>For more information about A/B system updates and how they work, see + <p> + For more information about A/B system updates and how they work, see <a href="#slots">Partition selection (slots)</a>. + </p> <p>A/B system updates provide the following benefits:</p> |