ANDROID: re-enable UBSAN_TRAP

After updating Clang we had to temporary disable UBSAN kernel panic
until we fix new issues that were triggering UBSAN, namely signed
integer overflow and `__counted_by` annotated arrays. These issues are
now fixed and UBSAN kernel panic can be re-enabled.

Bug: 354745907
Bug: 375156207
Change-Id: Iaa4e7109e6ecc6b8a34d30ac3aadf180468c9e72
Signed-off-by: Aleksei Vetrov <vvvvvv@google.com>
This commit is contained in:
Aleksei Vetrov
2024-11-11 17:37:22 +00:00
parent eaf265b853
commit 553b2422df
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -723,6 +723,7 @@ 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_SIGNED_WRAP is not set
# CONFIG_UBSAN_BOOL is not set
# CONFIG_UBSAN_ENUM is not set
+1
View File
@@ -666,6 +666,7 @@ 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_SIGNED_WRAP is not set
# CONFIG_UBSAN_BOOL is not set
# CONFIG_UBSAN_ENUM is not set