xref: /xnu-12377.41.6/san/coverage/kcov-denylist (revision bbb1b6f9e71b8cdde6e5cd6f4841f207dee3d828)
1#!special-case-list-v1
2# rdar://139815990
3
4# Blanket ignore non-sanitized functions
5fun:ksancov_*
6fun:kcov_*
7fun:dtrace_*
8
9# Exclude KSANCOV itself
10src:./san/coverage/kcov.c
11src:./san/coverage/kcov_ksancov.c
12src:./san/coverage/kcov_stksz.c
13
14# Exclude KASan runtime
15src:./san/memory/*
16
17src:./osfmk/kern/debug.c
18
19# Calls from sanitizer hook back to kernel.
20fun:_disable_preemption
21fun:_enable_preemption
22fun:current_thread
23fun:ml_at_interrupt_context
24fun:get_interrupt_level
25fun:get_active_thread
26fun:cpu_datap
27fun:cpu_number
28fun:get_cpu_number
29fun:pmap_in_ppl
30fun:get_preemption_level
31
32# Closure of VM_KERNEL_UNSLIDE
33fun:vm_memtag_add_ptr_tag
34fun:ml_static_unslide
35fun:vm_is_addr_slid
36
37# Exclude static_if dependencies
38src:./osfmk/*/static_if.c
39src:./osfmk/kern/static_if_common.c
40
41# STATIC_IF_INIT functions
42fun:static_if_tests_setup
43fun:kern_feature_override_apply
44# Called in kern_feature_override_apply
45fun:lck_rw_assert_init