xref: /xnu-11215.41.3/san/coverage/kcov-blacklist (revision 33de042d024d46de5ff4e89f2471de6608e37fa4)
1# Blanket ignore non-sanitized functions
2fun:ksancov_*
3fun:kcov_*
4fun:dtrace_*
5
6# Exclude KSANCOV itself
7src:./san/coverage/kcov.c
8src:./san/coverage/kcov_ksancov.c
9src:./san/coverage/kcov_stksz.c
10
11# Exclude KASan runtime
12src:./san/memory/*
13
14src:./osfmk/kern/debug.c
15
16# Calls from sanitizer hook back to kernel.
17fun:_disable_preemption
18fun:_enable_preemption
19fun:current_thread
20fun:ml_at_interrupt_context
21fun:get_interrupt_level
22fun:get_active_thread
23fun:cpu_datap
24fun:cpu_number
25fun:get_cpu_number
26fun:pmap_in_ppl
27fun:get_preemption_level
28
29# Closure of VM_KERNEL_UNSLIDE
30fun:vm_memtag_add_ptr_tag
31fun:ml_static_unslide
32fun:vm_is_addr_slid
33