Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:shadow_invalid

Proto:static inline bool shadow_invalid(u8 tag, s8 shadow_byte)

Type:bool

Parameter:

TypeParameterName
u8tag
s8shadow_byte
426  If IS_ENABLED(CONFIG_FOO) evaluates to 1 if CONFIG_FOO is set to 'y' or 'm',* 0 otherwise.(CONFIG_KASAN_GENERIC) Then Return shadow_byte < 0 || shadow_byte >= KASAN_SHADOW_SCALE_SIZE
431  If shadow_byte == accessible memory tag Then Return true
433  If tag != ative kernel pointers tag && tag != shadow_byte Then Return true
436  Return false
Caller
NameDescribe
__kasan_slab_free