X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/a39ff7e25e19b3a8c3020042a3872ca9ec9659f1..HEAD:/san/kasan-blacklist diff --git a/san/kasan-blacklist b/san/kasan-blacklist index cbef48e41..9d7a97047 100644 --- a/san/kasan-blacklist +++ b/san/kasan-blacklist @@ -3,23 +3,39 @@ # the AddressSanitizer runtime itself, or because the code executes before # the runtime has been initialized. +[.*] + +# Blanket ignore non-sanitized functions +fun:__nosan_* + +# Try really hard to avoid panicing while debugging +src:./osfmk/kdp/* +src:./osfmk/kern/debug.c + +[address] + # Exclude linker sets type:struct linker_set_entry type:linker_set_entry +type:struct startup_entry +type:startup_entry + +# Exclude per-cpu data structures the assembly accesses +type:vm_statistics64 +type:struct vm_statistics64 +type:vm_statistics64_data_t +type:struct processor +type:processor -# Exclude KASAN itself +# Exclude KASan itself src:./san/kasan.c src:./san/kasan-fakestack.c src:./san/kasan-x86_64.c src:./san/kasan-memintrinsics.c src:./san/kasan_dynamic_blacklist.c -# Blanket ignore non-sanitized functions -fun:__nosan_* - -# Try really hard to avoid panicing while debugging -src:./osfmk/kdp/* -src:./osfmk/kern/debug.c +# Exclude other sanitizers +src:./san/ksancov.c # Exclude dtrace function that does weird stack manipulations fun:fbt_perfCallback