summaryrefslogtreecommitdiffstats
path: root/tools/valgrind/tsan/ignores_win32.txt
blob: e1eb55f70eddcd71e2defc07666573c344ff4bb3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# This file lists the functions, object files and source files
# which should be ignored (i.e. not instrumented) by ThreadSanitizer on Windows.

# We ignore security libraries for now since their instrumentation is very slow.
# TODO(timurrrr): investigate whether we need to instrument them
obj:*CRYPT32.dll
obj:*RPCRT4.dll
fun_r:*SHA256*
fun_r:*BCryptGenerateSymmetricKey*
fun_r:*CryptAcquireContext*

obj:*WINHTTP.dll
obj:*imagehlp.dll

# Instrumenting IP Helper API causes crashes.
# TODO(szym): investigate http://crbug.com/146119
obj:*IPHLPAPI.dll

# Use less detailed instrumentation of STL
fun_hist:*std::*<*
# Don't instrument some stl internals - they shouldn't be useful
fun_r:*std::_Debug*
fun_r:*std::_Lockit*

# Benign race on mutex unlock
fun:_Mtxunlock

# Benign race during clock initialization
fun_r:*InitializeClock*

# Some unknown Windows guts
fun_r:Ordinal_*
fun:unnamedImageEntryPoint
fun_r:RtlDestroyQueryDebugBuffer
fun:_updatetlocinfoEx_nolock

# Strange reports on net_unittests, maybe related to raising
# a debug exception by PlatformThread
# TODO(timurrrr): investigate
fun_r:*PlatformThread*SetName*

# Recursively ignore Histrogram::Add and friends, see http://crbug.com/62694.
fun_r:base::Histogram::Add
fun_r:base::HistogramSamples::Add
fun_r:base::HistogramBase::AddTime

# ffmpegsumo.dll appears to read a few bytes beyond the end of the buffer.
fun:_ff_prefetch_mmxext