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