aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorandroid-build-team Robot <android-build-team-robot@google.com>2021-06-04 01:04:03 +0000
committerandroid-build-team Robot <android-build-team-robot@google.com>2021-06-04 01:04:03 +0000
commit67cd13ebdfe91ab495e5f226fa593353d0367e9a (patch)
tree898b0b36f5cf2cd98b160057f23d939750870492
parent75b9e72299f91c90727630435826bbc322dea0a9 (diff)
parent294c0f6b68a9e6272d3a170a32cc279581685c10 (diff)
downloadiproute2-67cd13ebdfe91ab495e5f226fa593353d0367e9a.tar.gz
Change-Id: I406bb3639cfdbbdc1263fecfae87d128d1e92403
-rw-r--r--ip/Android.bp4
-rw-r--r--misc/Android.bp4
-rw-r--r--tc/Android.bp4
3 files changed, 12 insertions, 0 deletions
diff --git a/ip/Android.bp b/ip/Android.bp
index d15739eb..25a44677 100644
--- a/ip/Android.bp
+++ b/ip/Android.bp
@@ -114,4 +114,8 @@ cc_binary {
"-Wl,-export-dynamic",
"-Wl,--no-gc-sections",
],
+
+ sanitize: {
+ memtag_heap: true,
+ },
}
diff --git a/misc/Android.bp b/misc/Android.bp
index 05376189..5b75c71a 100644
--- a/misc/Android.bp
+++ b/misc/Android.bp
@@ -30,4 +30,8 @@ cc_binary {
],
ldflags: ["-Wl,-export-dynamic"],
+
+ sanitize: {
+ memtag_heap: true,
+ },
}
diff --git a/tc/Android.bp b/tc/Android.bp
index 866a40e2..3649cebb 100644
--- a/tc/Android.bp
+++ b/tc/Android.bp
@@ -119,4 +119,8 @@ cc_binary {
// This is a work around for b/18403920
ldflags: ["-Wl,--no-gc-sections"],
+
+ sanitize: {
+ memtag_heap: true,
+ },
}