Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(90)

Unified Diff: build/config/sanitizers/BUILD.gn

Issue 2018973002: [libfuzzer] Add 'vptr' flag to builds with UndefinedBehaviourSanitizer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix a typo. Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « build/config/compiler/BUILD.gn ('k') | tools/ubsan/security_blacklist.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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",
]
}
}
« no previous file with comments | « build/config/compiler/BUILD.gn ('k') | tools/ubsan/security_blacklist.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698