函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:describe_object

函数原型:static void describe_object(struct kmem_cache *cache, void *object, const void *addr, u8 tag)

返回类型:void

参数:

类型参数名称
struct kmem_cache *cache
void *object
const void *addr
u8tag
177  alloc_info等于get_alloc_info(cache, object)
179  如果Used for retrieving partial slabs, etc. 按位与SLAB_KASAN
182  print_track( & alloc_track, "Allocated")
183  打印错误信息("\n")
184  free_track等于kasan_get_free_track(cache, object, tag)
185  print_track(free_track, "Freed")
186  打印错误信息("\n")
189  describe_object_addr(cache, object, addr)
调用者
名称描述
print_address_description