]> git.saurik.com Git - apple/xnu.git/blame - san/kasan-blacklist
xnu-4570.71.2.tar.gz
[apple/xnu.git] / san / kasan-blacklist
CommitLineData
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
6# Exclude linker sets
7type:struct linker_set_entry
8type:linker_set_entry
9
10# Exclude KASAN itself
11src:./san/kasan.c
12src:./san/kasan-fakestack.c
13src:./san/kasan-x86_64.c
14src:./san/kasan-memintrinsics.c
15src:./san/kasan_dynamic_blacklist.c
16
a39ff7e2
A
17# Blanket ignore non-sanitized functions
18fun:__nosan_*
19
5ba3f43e
A
20# Try really hard to avoid panicing while debugging
21src:./osfmk/kdp/*
22src:./osfmk/kern/debug.c
23
a39ff7e2
A
24# Exclude dtrace function that does weird stack manipulations
25fun:fbt_perfCallback
26
27# Exclude leak detection code that reads all memory
28fun:_ZL18IOTrackingLeakScanPv
29
5ba3f43e
A
30# Exclude KASAN dependencies
31# XXX: could this be relaxed since fakestack is reentrant?
32src:./osfmk/kern/zalloc.c
33