Memory Detection Tool KASAN in the Linux Kernel (8) – Implementation Based on Buddy System

Technical experience sharing, welcome to follow and provide guidance. In “KASAN (7) – Implementation Based on Slab”, the slab situation has been analyzed, but there is still a part based on the buddy system. The implementation of KASAN on the buddy system is quite special, and this article analyzes the KASAN implementation under the buddy … Read more

Practical Guide to Compiling and Using Valgrind and ASan Tools on Embedded Development Boards

Practical Guide to Compiling and Using Valgrind and ASan Tools on Embedded Development Boards

On Embedded Development Boards Practical Guide to Compiling and Using Valgrind and ASan Tools 01 Introduction In embedded development, memory issues (such as memory leaks, out-of-bounds access, double free, etc.) are major causes of program crashes or instability. Valgrind and AddressSanitizer (ASan) are two powerful memory detection tools, but their usage scenarios and deployment methods … Read more