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:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user