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

Unified Diff: chrome/installer/setup/setup_constants.cc

Issue 2559053002: Instrument setup.exe in the SyzyAsan builds.
Patch Set: Fix the component build Created 3 years, 8 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
Index: chrome/installer/setup/setup_constants.cc
diff --git a/chrome/installer/setup/setup_constants.cc b/chrome/installer/setup/setup_constants.cc
index ffb70c367a1bc88fd2abc3d46da75b53b862a4b3..da13cade6a0e616052ac880b4df9a17e5f298a8f 100644
--- a/chrome/installer/setup/setup_constants.cc
+++ b/chrome/installer/setup/setup_constants.cc
@@ -32,6 +32,14 @@ const char kDelay[] = "delay";
const char kSetDisplayVersionProduct[] = "set-display-version-product";
const char kSetDisplayVersionValue[] = "set-display-version-value";
+#if defined(SYZYASAN)
+// Switches to test the Asan integration.
+const char kInduceAsanCrash[] = "induce-asan-crash";
+const char kAsanUseAfterFree[] = "use-after-free";
+const char kAsanHeapOverflow[] = "heap-overflow";
+const char kAsanHeapUnderflow[] = "heap-underflow";
+#endif
+
} // namespace switches
} // namespace installer

Powered by Google App Engine
This is Rietveld 408576698