Title: [253072] trunk/Source/WTF
Revision
253072
Author
[email protected]
Date
2019-12-03 17:27:00 -0800 (Tue, 03 Dec 2019)

Log Message

Enable security assertions on all ASAN builds
https://bugs.webkit.org/show_bug.cgi?id=204802

Patch by Sunny He <[email protected]> on 2019-12-03
Reviewed by Ryosuke Niwa.

* wtf/FeatureDefines.h:

Modified Paths

Diff

Modified: trunk/Source/WTF/ChangeLog (253071 => 253072)


--- trunk/Source/WTF/ChangeLog	2019-12-04 00:34:42 UTC (rev 253071)
+++ trunk/Source/WTF/ChangeLog	2019-12-04 01:27:00 UTC (rev 253072)
@@ -1,3 +1,12 @@
+2019-12-03  Sunny He  <[email protected]>
+
+        Enable security assertions on all ASAN builds
+        https://bugs.webkit.org/show_bug.cgi?id=204802
+
+        Reviewed by Ryosuke Niwa.
+
+        * wtf/FeatureDefines.h:
+
 2019-12-03  Christopher Reid  <[email protected]>
 
         Regular _expression_ hangs in Safari only

Modified: trunk/Source/WTF/wtf/FeatureDefines.h (253071 => 253072)


--- trunk/Source/WTF/wtf/FeatureDefines.h	2019-12-04 00:34:42 UTC (rev 253071)
+++ trunk/Source/WTF/wtf/FeatureDefines.h	2019-12-04 01:27:00 UTC (rev 253072)
@@ -663,6 +663,13 @@
 #define ENABLE_RUBBER_BANDING 0
 #endif
 
+#if !defined(ENABLE_SECURITY_ASSERTIONS)
+/* Enable security assertions on all ASAN builds and debug builds. */
+#if ASAN_ENABLED || !defined(NDEBUG)
+#define ENABLE_SECURITY_ASSERTIONS 1
+#endif
+#endif
+
 #if !defined(ENABLE_SMOOTH_SCROLLING)
 #define ENABLE_SMOOTH_SCROLLING 0
 #endif
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to