Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\kasan\kasan.h Create Date:2022-07-28 15:50:23
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:addr_has_shadow

Proto:static inline bool addr_has_shadow(const void *addr)

Type:bool

Parameter:

TypeParameterName
const void *addr
137  Return addr >= kasan_shadow_to_mem((void * )Compiler uses shadow offset assuming that addresses start* from 0. Kernel addresses don't start from 0, so shadow* for kernel really starts from compiler's shadow offset +* 'kernel address space start' >> KASAN_SHADOW_SCALE_SHIFT)
Caller
NameDescribe
__kasan_report
get_bug_type