Memory Detection Tool KASAN in the Linux Kernel (7) – Implementation Based on Slab
Technical experience sharing, welcome to follow and provide guidance. In the previous article, we detailed the layout of KASAN shadow memory. This article analyzes the implementation principles of KASAN under slab. kmem_cache Layout For the slab layout with KASAN enabled, the structure has undergone some changes, as shown below: struct kmem_cache { …… #ifdef CONFIG_KASAN … Read more