函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Poisons the shadow memory for 'size' bytes starting from 'addr'.* Memory addresses should be aligned to KASAN_SHADOW_SCALE_SIZE.

函数原型:void kasan_poison_shadow(const void *address, size_t size, u8 value)

返回类型:void

参数:

类型参数名称
const void *address
size_tsize
u8value
144  address等于reset_tag(address)
146  shadow_start等于kasan_mem_to_shadow(address)
147  shadow_end等于kasan_mem_to_shadow(address + size)
149  内存设置(shadow_start, value, shadow_end - shadow_start)
调用者
名称描述
kasan_unpoison_shadow
kasan_free_pages
kasan_poison_slab
kasan_poison_object_data
__kasan_slab_free
__kasan_kmalloc
kasan_kmalloc_large
kasan_poison_kfree
register_global
__asan_alloca_poisonEmitted by compiler to poison alloca()ed objects.
__hwasan_tag_memory