aboutsummaryrefslogtreecommitdiff
path: root/zh-cn/devices/tech/debug/sanitizers.html
diff options
context:
space:
mode:
authorClay Murphy <claym@google.com>2018-06-01 18:47:13 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2018-06-01 18:47:13 +0000
commitc7c9dc7ca43c195850e71ac37aa0f5722c891c59 (patch)
treed27208032f9b3db62650ea7cd3ad6053fd02640a /zh-cn/devices/tech/debug/sanitizers.html
parent11a75790699eb2abf2acd80691d4af07b3c6f7ad (diff)
parentbdd9b4b9a7c735962814a20f9f6431140216581c (diff)
downloadsource.android.com-android-o-mr1-iot-release-1.0.1.tar.gz
Merge "Docs: Changes to source.android.com"android-o-mr1-iot-release-1.0.1android-n-iot-release-polk-at1
Diffstat (limited to 'zh-cn/devices/tech/debug/sanitizers.html')
-rw-r--r--zh-cn/devices/tech/debug/sanitizers.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/zh-cn/devices/tech/debug/sanitizers.html b/zh-cn/devices/tech/debug/sanitizers.html
index dfd25ddc..3d5b7891 100644
--- a/zh-cn/devices/tech/debug/sanitizers.html
+++ b/zh-cn/devices/tech/debug/sanitizers.html
@@ -37,7 +37,8 @@ Android 编译版本最好在启用排错程序(如 AddressSanitizer 和 Undef
<li>释放后再使用</li>
</ul>
<p>
-Android 允许在完整编译级别和在<a href="/devices/tech/debug/asan#addresssanitizer_in_the_apps">应用级别</a>通过 asanwrapper 进行 <a href="/devices/tech/debug/asan">ASan instrumentation</a>。
+Android 允许在完整编译级别和在<a href="/devices/tech/debug/asan#addresssanitizer_in_the_apps">应用级别</a>通过 asanwrapper 进行 <a href="/devices/tech/debug/asan">ASan
+instrumentation</a>。
</p>
<p>
AddressSanitizer 对所有与内存相关的函数调用(包括 alloca、malloc 和 free)进行插桩,并使用被读取或写入时会触发 ASan 回调的内存填充所有变量和已分配的内存区域。