Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:memory_is_poisoned_2_4_8

Proto:static __always_inline bool memory_is_poisoned_2_4_8(unsigned long addr, unsigned long size)

Type:bool

Parameter:

TypeParameterName
unsigned longaddr
unsigned longsize
65  shadow_addr = kasan_mem_to_shadow((void * )addr)
71  If Value for the false possibility is greater at compile time(((addr + size - 1) & KASAN_SHADOW_MASK) < size - 1) Then Return shadow_addr || All functions below always inlined so compiler could* perform better optimizations in each of __asan_loadX/__assn_storeX* depending on memory access size X.
74  Return All functions below always inlined so compiler could* perform better optimizations in each of __asan_loadX/__assn_storeX* depending on memory access size X.
Caller
NameDescribe
memory_is_poisoned