]> git.saurik.com Git - apple/xnu.git/blobdiff - san/kasan-blacklist
xnu-6153.11.26.tar.gz
[apple/xnu.git] / san / kasan-blacklist
index 5832fc0e1d69cc26caad62fd959f77dcf1d31bcd..38df385ad6bfda4d83c808d606fe3b77fb9665e4 100644 (file)
@@ -3,6 +3,17 @@
 # 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
@@ -14,11 +25,17 @@ src:./san/kasan-x86_64.c
 src:./san/kasan-memintrinsics.c
 src:./san/kasan_dynamic_blacklist.c
 
-# 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
+
+# Exclude leak detection code that reads all memory
+fun:_ZL18IOTrackingLeakScanPv
 
 # Exclude KASAN dependencies
 # XXX: could this be relaxed since fakestack is reentrant?
 src:./osfmk/kern/zalloc.c
+src:./osfmk/kern/zcache.c