Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

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

Proto:static __always_inline bool memory_is_poisoned_1(unsigned long addr)

Type:bool

Parameter:

TypeParameterName
unsigned longaddr
52  shadow_value = kasan_mem_to_shadow((void * )addr)
54  If Value for the false possibility is greater at compile time(shadow_value) Then
55  last_accessible_byte = addr & KASAN_SHADOW_MASK
56  Return Value for the false possibility is greater at compile time(last_accessible_byte >= shadow_value)
59  Return false
Caller
NameDescribe
memory_is_poisoned_2_4_8
memory_is_poisoned_16
memory_is_poisoned