OLD | NEW |
1 # This file lists the functions, object files and source files | 1 # This file lists the functions, object files and source files |
2 # which should be ignored (i.e. not instrumented) by ThreadSanitizer on Mac OS. | 2 # which should be ignored (i.e. not instrumented) by ThreadSanitizer on Mac OS. |
3 # At the moment the Chromium binaries' debug info is not available to | 3 # At the moment the Chromium binaries' debug info is not available to |
4 # ThreadSanitizer, so we have to define fun:* rules for Mac OS complementing | 4 # ThreadSanitizer, so we have to define fun:* rules for Mac OS complementing |
5 # the src:* rules defined for Linux. | 5 # the src:* rules defined for Linux. |
6 | 6 |
7 # Don't instrument code dealing with atomics (base::subtle) | |
8 fun:*base*subtle*NoBarrier_Load* | |
9 fun:*base*subtle*Release_Store* | |
10 fun:*base*subtle*NoBarrier_Store* | |
11 fun:*base*subtle*NoBarrier_CompareAndSwap* | |
12 | |
13 # we ignore the Security libraries for now since | 7 # we ignore the Security libraries for now since |
14 # their instrumentation is very slow. | 8 # their instrumentation is very slow. |
15 # TODO(timurrrr): investigate whether we need to instrument them | 9 # TODO(timurrrr): investigate whether we need to instrument them |
16 obj:*/Security* | 10 obj:*/Security* |
17 obj:*/libcrypto* | 11 obj:*/libcrypto* |
18 # SensitiveAllocator::free is a part of the Security framework. | 12 # SensitiveAllocator::free is a part of the Security framework. |
19 # It calls bzero (0xffff0633) which can't be resolved and thus should be | 13 # It calls bzero (0xffff0633) which can't be resolved and thus should be |
20 # ignored recursively. | 14 # ignored recursively. |
21 fun_r:*SensitiveAllocator*free* | 15 fun_r:*SensitiveAllocator*free* |
22 | 16 |
23 # The CFBag and CFDictionary operators should be thread-safe, but they are not | 17 # The CFBag and CFDictionary operators should be thread-safe, but they are not |
24 # annotated properly. | 18 # annotated properly. |
25 # TODO(glider): replace all the CoreFoundation suppressions with ignores. | 19 # TODO(glider): replace all the CoreFoundation suppressions with ignores. |
26 fun_r:CFBag* | 20 fun_r:CFBag* |
27 fun_r:CFDictionary* | 21 fun_r:CFDictionary* |
28 | 22 |
29 # see crbug.com/46138 | 23 # see crbug.com/46138 |
30 fun_r:__CFRunLoopDeallocate | 24 fun_r:__CFRunLoopDeallocate |
OLD | NEW |