函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\kasan\kasan.h Create Date:2022-07-27 17:24:19
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:addr_has_shadow

函数原型:static inline bool addr_has_shadow(const void *addr)

返回类型:bool

参数:

类型参数名称
const void *addr
137  返回: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)
调用者
名称描述
__kasan_report
get_bug_type