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

Side by Side Diff: Source/wtf/AddressSanitizer.h

Issue 1259893002: Fix FreeList::zapFreedMemory to fail "use-of-uninitialized-value" on MSAN (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Not to addToFreeList Created 5 years, 4 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 unified diff | Download patch
« Source/platform/heap/Heap.cpp ('K') | « Source/platform/heap/Heap.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef WTF_AddressSanitizer_h 5 #ifndef WTF_AddressSanitizer_h
6 #define WTF_AddressSanitizer_h 6 #define WTF_AddressSanitizer_h
7 7
8 // TODO(sof): Add SyZyASan support? 8 // TODO(sof): Add SyZyASan support?
9 #if defined(ADDRESS_SANITIZER) 9 #if defined(ADDRESS_SANITIZER)
10 #include <sanitizer/asan_interface.h> 10 #include <sanitizer/asan_interface.h>
(...skipping 20 matching lines...) Expand all
31 #if ENABLE(LAZY_SWEEPING) 31 #if ENABLE(LAZY_SWEEPING)
32 #define NO_LAZY_SWEEP_SANITIZE_ADDRESS NO_SANITIZE_ADDRESS 32 #define NO_LAZY_SWEEP_SANITIZE_ADDRESS NO_SANITIZE_ADDRESS
33 #else 33 #else
34 #define NO_LAZY_SWEEP_SANITIZE_ADDRESS 34 #define NO_LAZY_SWEEP_SANITIZE_ADDRESS
35 #endif 35 #endif
36 #else 36 #else
37 #define NO_SANITIZE_ADDRESS 37 #define NO_SANITIZE_ADDRESS
38 #define NO_LAZY_SWEEP_SANITIZE_ADDRESS 38 #define NO_LAZY_SWEEP_SANITIZE_ADDRESS
39 #endif 39 #endif
40 40
41 #if defined(MEMORY_SANITIZER) && (!OS(WIN) || COMPILER(CLANG))
42 #define NO_SANITIZE_MEMORY __attribute__((no_sanitize_memory))
43 #else
44 #define NO_SANITIZE_MEMORY
45 #endif
46
41 #endif // WTF_AddressSanitizer_h 47 #endif // WTF_AddressSanitizer_h
OLDNEW
« Source/platform/heap/Heap.cpp ('K') | « Source/platform/heap/Heap.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698