Index: build/config/sanitizers/BUILD.gn |
diff --git a/build/config/sanitizers/BUILD.gn b/build/config/sanitizers/BUILD.gn |
index 5040189ee7eeaee5d3800d16cf2b1ed74f047cc2..25819b33499fa13352ee45aaf050a6dd35471865 100644 |
--- a/build/config/sanitizers/BUILD.gn |
+++ b/build/config/sanitizers/BUILD.gn |
@@ -480,7 +480,7 @@ config("ubsan_security_flags") { |
ubsan_security_blacklist_path = |
rebase_path("//tools/ubsan/security_blacklist.txt", root_build_dir) |
cflags = [ |
- "-fsanitize=signed-integer-overflow,shift,vptr", |
+ "-fsanitize=signed-integer-overflow,shift,vptr,function,object-size,vla-bound", |
"-fsanitize-blacklist=$ubsan_security_blacklist_path", |
] |
} |