函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:All functions below always inlined so compiler could* perform better optimizations in each of __asan_loadX/__assn_storeX* depending on memory access size X.

函数原型:static __always_inline bool memory_is_poisoned_1(unsigned long addr)

返回类型:bool

参数:

类型参数名称
unsigned longaddr
52  shadow_value等于kasan_mem_to_shadow((void * )addr)
54  如果此条件成立可能性小(为编译器优化)(shadow_value)则
55  last_accessible_byte等于addr按位与KASAN_SHADOW_MASK
56  返回:此条件成立可能性小(为编译器优化)(last_accessible_byte >= shadow_value)
59  返回:false
调用者
名称描述
memory_is_poisoned_2_4_8
memory_is_poisoned_16
memory_is_poisoned