Module Name: src Committed By: maxv Date: Sun Apr 7 09:20:04 UTC 2019
Modified Files: src/sys/kern: kern_malloc.c subr_asan.c subr_kmem.c subr_pool.c src/sys/sys: asan.h src/sys/uvm: uvm_glue.c Log Message: Provide a code argument in kasan_mark(), and give a code to each caller. Five codes used: GenericRedZone, MallocRedZone, KmemRedZone, PoolRedZone, and PoolUseAfterFree. This can greatly help debugging complex memory corruptions. To generate a diff of this commit: cvs rdiff -u -r1.156 -r1.157 src/sys/kern/kern_malloc.c cvs rdiff -u -r1.5 -r1.6 src/sys/kern/subr_asan.c cvs rdiff -u -r1.74 -r1.75 src/sys/kern/subr_kmem.c cvs rdiff -u -r1.247 -r1.248 src/sys/kern/subr_pool.c cvs rdiff -u -r1.9 -r1.10 src/sys/sys/asan.h cvs rdiff -u -r1.166 -r1.167 src/sys/uvm/uvm_glue.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.