xref: /xnu-8792.81.2/san/coverage/kcov-blacklist (revision 19c3b8c28c31cb8130e034cfb5df6bf9ba342d90)
1*19c3b8c2SApple OSS Distributions# Blanket ignore non-sanitized functions
2*19c3b8c2SApple OSS Distributionsfun:ksancov_*
3*19c3b8c2SApple OSS Distributionsfun:kcov_*
4*19c3b8c2SApple OSS Distributionsfun:dtrace_*
5*19c3b8c2SApple OSS Distributions
6*19c3b8c2SApple OSS Distributions# Exclude KSANCOV itself
7*19c3b8c2SApple OSS Distributionssrc:./san/coverage/kcov.c
8*19c3b8c2SApple OSS Distributionssrc:./san/coverage/kcov_ksancov.c
9*19c3b8c2SApple OSS Distributionssrc:./san/coverage/kcov_stksz.c
10*19c3b8c2SApple OSS Distributions
11*19c3b8c2SApple OSS Distributions# Calls from sanitizer hook back to kernel.
12*19c3b8c2SApple OSS Distributionsfun:_disable_preemption
13*19c3b8c2SApple OSS Distributionsfun:_enable_preemption
14*19c3b8c2SApple OSS Distributionsfun:current_thread
15*19c3b8c2SApple OSS Distributionsfun:ml_at_interrupt_context
16*19c3b8c2SApple OSS Distributionsfun:get_interrupt_level
17*19c3b8c2SApple OSS Distributionsfun:get_active_thread
18*19c3b8c2SApple OSS Distributionsfun:cpu_datap
19*19c3b8c2SApple OSS Distributionsfun:cpu_number
20*19c3b8c2SApple OSS Distributionsfun:get_cpu_number
21*19c3b8c2SApple OSS Distributionsfun:pmap_in_ppl
22*19c3b8c2SApple OSS Distributionsfun:get_preemption_level
23