函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:memory_is_poisoned_2_4_8

函数原型:static __always_inline bool memory_is_poisoned_2_4_8(unsigned long addr, unsigned long size)

返回类型:bool

参数:

类型参数名称
unsigned longaddr
unsigned longsize
65  shadow_addr等于kasan_mem_to_shadow((void * )addr)
71  如果此条件成立可能性小(为编译器优化)(((addr + size - 1) & KASAN_SHADOW_MASK) < size - 1)则返回:shadow_addrAll functions below always inlined so compiler could* perform better optimizations in each of __asan_loadX/__assn_storeX* depending on memory access size X.
74  返回:All functions below always inlined so compiler could* perform better optimizations in each of __asan_loadX/__assn_storeX* depending on memory access size X.
调用者
名称描述
memory_is_poisoned