• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# This file lists the functions, object files and source files
2# which should be ignored (i.e. not instrumented) by ThreadSanitizer on Windows.
3
4# We ignore security libraries for now since their instrumentation is very slow.
5# TODO(timurrrr): investigate whether we need to instrument them
6obj:*CRYPT32.dll
7obj:*RPCRT4.dll
8fun_r:*SHA256*
9fun_r:*BCryptGenerateSymmetricKey*
10fun_r:*CryptAcquireContext*
11
12obj:*WINHTTP.dll
13obj:*imagehlp.dll
14
15# Instrumenting IP Helper API causes crashes.
16# TODO(szym): investigate http://crbug.com/146119
17obj:*IPHLPAPI.dll
18
19# Use less detailed instrumentation of STL
20fun_hist:*std::*<*
21# Don't instrument some stl internals - they shouldn't be useful
22fun_r:*std::_Debug*
23fun_r:*std::_Lockit*
24
25# Benign race on mutex unlock
26fun:_Mtxunlock
27
28# Benign race during clock initialization
29fun_r:*InitializeClock*
30
31# Some unknown Windows guts
32fun_r:Ordinal_*
33fun:unnamedImageEntryPoint
34fun_r:RtlDestroyQueryDebugBuffer
35fun:_updatetlocinfoEx_nolock
36
37# Strange reports on net_unittests, maybe related to raising
38# a debug exception by PlatformThread
39# TODO(timurrrr): investigate
40fun_r:*PlatformThread*SetName*
41
42# Recursively ignore Histrogram::Add and friends, see http://crbug.com/62694.
43fun_r:base::Histogram::Add
44fun_r:base::HistogramSamples::Add
45fun_r:base::HistogramBase::AddTime
46
47# ffmpegsumo.dll appears to read a few bytes beyond the end of the buffer.
48fun:_ff_prefetch_mmxext
49
50# Shows up as a race in SHELL32.dll when deleting a directory while opening an
51# unrelated file in another thread. Revealed by DiskCacheBackendTest.DeleteOld.
52# See: https://code.google.com/p/data-race-test/issues/detail?id=114
53fun_r:SHFileOperationW
54
55# Ignore internal file I/O synchronization: crbug.com/146724
56fun_r:_lock_file
57fun_r:_lock_file2
58fun_r:_lock
59fun_r:_flsbuf
60fun_r:_unlock_file
61fun_r:_getstream
62
63# http://crbug.com/272065
64obj:*NLAapi.dll
65