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.
7 type:struct linker_set_entry
10 # Exclude KASAN itself
12 src:./san/kasan-fakestack.c
13 src:./san/kasan-x86_64.c
14 src:./san/kasan-memintrinsics.c
15 src:./san/kasan_dynamic_blacklist.c
17 # Blanket ignore non-sanitized functions
20 # Try really hard to avoid panicing while debugging
22 src:./osfmk/kern/debug.c
24 # Exclude dtrace function that does weird stack manipulations
27 # Exclude leak detection code that reads all memory
28 fun:_ZL18IOTrackingLeakScanPv
30 # Exclude KASAN dependencies
31 # XXX: could this be relaxed since fakestack is reentrant?
32 src:./osfmk/kern/zalloc.c