Index: build/config/sanitizers/BUILD.gn |
diff --git a/build/config/sanitizers/BUILD.gn b/build/config/sanitizers/BUILD.gn |
index 3160bce94f146c0a250822852f637bb4d4bbd5f9..7dd3dd2e62029fb06b28726329d0200ba498e3e8 100644 |
--- a/build/config/sanitizers/BUILD.gn |
+++ b/build/config/sanitizers/BUILD.gn |
@@ -352,11 +352,11 @@ config("ubsan_no_recover") { |
config("ubsan_security_flags") { |
if (is_ubsan_security) { |
- ubsan_blacklist_path = |
- rebase_path("//tools/ubsan/blacklist.txt", root_build_dir) |
+ ubsan_security_blacklist_path = |
+ rebase_path("//tools/ubsan/security_blacklist.txt", root_build_dir) |
cflags = [ |
- "-fsanitize=signed-integer-overflow,shift", |
- "-fsanitize-blacklist=$ubsan_blacklist_path", |
+ "-fsanitize=signed-integer-overflow,shift,vptr", |
+ "-fsanitize-blacklist=$ubsan_security_blacklist_path", |
] |
} |
} |