Revert "Revert "ANDROID: GKI: Enable bounds sanitizer""

This reverts commit 8cf94785bb.

Signed-off-by: Todd Kjos <tkjos@google.com>
Change-Id: Ie94f8c1584232839edf37290b0e7dd11c7814035
This commit is contained in:
Todd Kjos
2021-03-25 17:47:07 -07:00
parent 42e7f89d79
commit 965dff4e92
2 changed files with 8 additions and 0 deletions

View File

@@ -629,6 +629,10 @@ CONFIG_DEBUG_INFO_DWARF4=y
CONFIG_HEADERS_INSTALL=y
# CONFIG_SECTION_MISMATCH_WARN_ONLY is not set
CONFIG_MAGIC_SYSRQ=y
CONFIG_UBSAN=y
CONFIG_UBSAN_TRAP=y
CONFIG_UBSAN_LOCAL_BOUNDS=y
# CONFIG_UBSAN_MISC is not set
CONFIG_PAGE_OWNER=y
CONFIG_DEBUG_STACK_USAGE=y
CONFIG_DEBUG_MEMORY_INIT=y

View File

@@ -571,6 +571,10 @@ CONFIG_DEBUG_INFO_DWARF4=y
CONFIG_HEADERS_INSTALL=y
# CONFIG_SECTION_MISMATCH_WARN_ONLY is not set
CONFIG_MAGIC_SYSRQ=y
CONFIG_UBSAN=y
CONFIG_UBSAN_TRAP=y
CONFIG_UBSAN_LOCAL_BOUNDS=y
# CONFIG_UBSAN_MISC is not set
CONFIG_PAGE_OWNER=y
CONFIG_DEBUG_STACK_USAGE=y
CONFIG_DEBUG_MEMORY_INIT=y