]> git.saurik.com Git - apple/xnu.git/blob - san/kasan-blacklist
xnu-4570.41.2.tar.gz
[apple/xnu.git] / san / kasan-blacklist
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
6 # Exclude linker sets
7 type:struct linker_set_entry
8 type:linker_set_entry
9
10 # Exclude KASAN itself
11 src:./san/kasan.c
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
16
17 # Try really hard to avoid panicing while debugging
18 src:./osfmk/kdp/*
19 src:./osfmk/kern/debug.c
20
21 # Exclude KASAN dependencies
22 # XXX: could this be relaxed since fakestack is reentrant?
23 src:./osfmk/kern/zalloc.c
24