Merge "Diable memtag_stack on fullmte builds." into main

This commit is contained in:
Mitch Phillips 2023-10-23 10:28:44 +00:00 committed by Gerrit Code Review
commit 2d57e36a39

View file

@ -20,7 +20,8 @@
# For more details, see:
# https://source.android.com/docs/security/test/memory-safety/arm-mte
ifeq ($(filter memtag_heap,$(SANITIZE_TARGET)),)
SANITIZE_TARGET := $(strip $(SANITIZE_TARGET) memtag_heap memtag_stack)
# TODO(b/292478827): Re-enable memtag_stack when new toolchain rolls.
SANITIZE_TARGET := $(strip $(SANITIZE_TARGET) memtag_heap)
SANITIZE_TARGET_DIAG := $(strip $(SANITIZE_TARGET_DIAG) memtag_heap)
endif
PRODUCT_PRODUCT_PROPERTIES += persist.arm64.memtag.default=sync