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 6 obj:*CRYPT32.dll 7 obj:*RPCRT4.dll 8 fun_r:*SHA256* 9 fun_r:*BCryptGenerateSymmetricKey* 10 fun_r:*CryptAcquireContext* 11 12 obj:*WINHTTP.dll 13 obj:*imagehlp.dll 14 15 # Instrumenting IP Helper API causes crashes. 16 # TODO(szym): investigate http://crbug.com/146119 17 obj:*IPHLPAPI.dll 18 19 # Use less detailed instrumentation of STL 20 fun_hist:*std::*<* 21 # Don't instrument some stl internals - they shouldn't be useful 22 fun_r:*std::_Debug* 23 fun_r:*std::_Lockit* 24 25 # Benign race on mutex unlock 26 fun:_Mtxunlock 27 28 # Benign race during clock initialization 29 fun_r:*InitializeClock* 30 31 # Some unknown Windows guts 32 fun_r:Ordinal_* 33 fun:unnamedImageEntryPoint 34 fun_r:RtlDestroyQueryDebugBuffer 35 fun:_updatetlocinfoEx_nolock 36 37 # Strange reports on net_unittests, maybe related to raising 38 # a debug exception by PlatformThread 39 # TODO(timurrrr): investigate 40 fun_r:*PlatformThread*SetName* 41 42 # Recursively ignore Histrogram::Add and friends, see http://crbug.com/62694. 43 fun_r:base::Histogram::Add 44 fun_r:base::HistogramSamples::Add 45 fun_r:base::HistogramBase::AddTime 46 47 # ffmpegsumo.dll appears to read a few bytes beyond the end of the buffer. 48 fun:_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 53 fun_r:SHFileOperationW 54 55 # Ignore internal file I/O synchronization: crbug.com/146724 56 fun_r:_lock_file 57 fun_r:_lock_file2 58 fun_r:_lock 59 fun_r:_flsbuf 60 fun_r:_unlock_file 61 fun_r:_getstream 62 63 # http://crbug.com/272065 64 obj:*NLAapi.dll 65