]>
Commit | Line | Data |
---|---|---|
5ba3f43e A |
1 | # This file declares the list of source files that should be exempt from |
2 | # AddressSanitizer instrumentation. Usually, this is because a file is used by | |
3 | # the AddressSanitizer runtime itself, or because the code executes before | |
4 | # the runtime has been initialized. | |
5 | ||
d9a64523 A |
6 | [.*] |
7 | ||
8 | # Blanket ignore non-sanitized functions | |
9 | fun:__nosan_* | |
10 | ||
11 | # Try really hard to avoid panicing while debugging | |
12 | src:./osfmk/kdp/* | |
13 | src:./osfmk/kern/debug.c | |
14 | ||
15 | [address] | |
16 | ||
5ba3f43e A |
17 | # Exclude linker sets |
18 | type:struct linker_set_entry | |
19 | type:linker_set_entry | |
f427ee49 A |
20 | type:struct startup_entry |
21 | type:startup_entry | |
5ba3f43e | 22 | |
f427ee49 A |
23 | # Exclude per-cpu data structures the assembly accesses |
24 | type:vm_statistics64 | |
25 | type:struct vm_statistics64 | |
26 | type:vm_statistics64_data_t | |
27 | type:struct processor | |
28 | type:processor | |
29 | ||
30 | # Exclude KASan itself | |
5ba3f43e A |
31 | src:./san/kasan.c |
32 | src:./san/kasan-fakestack.c | |
33 | src:./san/kasan-x86_64.c | |
34 | src:./san/kasan-memintrinsics.c | |
35 | src:./san/kasan_dynamic_blacklist.c | |
36 | ||
cb323159 A |
37 | # Exclude other sanitizers |
38 | src:./san/ksancov.c | |
39 | ||
a39ff7e2 A |
40 | # Exclude dtrace function that does weird stack manipulations |
41 | fun:fbt_perfCallback | |
42 | ||
43 | # Exclude leak detection code that reads all memory | |
44 | fun:_ZL18IOTrackingLeakScanPv | |
45 | ||
5ba3f43e A |
46 | # Exclude KASAN dependencies |
47 | # XXX: could this be relaxed since fakestack is reentrant? | |
48 | src:./osfmk/kern/zalloc.c | |
49 |