kasan_check_range(9)
kasan_check_range(9) π
okay so we're in the Kernel API Manual, and this page is literally kasan_check_range(9). Bestie, it's giving "vibe check for memory regions" β it checks a memory region and reports if the access is invalid. No cap. β¨
πΈ NAME πΈ
kasan_check_range β check memory region, and report if invalid access. π
π¦ SYNOPSIS π¦
bool kasan_check_range (const void *addr , size_t size , bool write ,
unsigned long ret_ip );
π ARGUMENTS π
addrβ the accessed address πsizeβ the accessed size πwriteβtrueif access is a write access βοΈret_ipβ return address π«Ά
β RETURN β
true if access was valid, false if invalid. periodt. π
π SEE ALSO π
Kernel file ./mm/kasan/kasan.h, plus the iconic crew: kasan_poison(9), kasan_unpoison(9), and kasan_poison_last_granule(9). iykyk π₯
mwah π this page came from ./mm/kasan, dated October 2026, and it's kasan_check_range(9) β bye bestie π«Ά
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms