函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:kmalloc_double_kzfree

函数原型:static noinline void __init kmalloc_double_kzfree(void)

返回类型:void

参数:

740  size等于16
742  打印信息("double-free (kzfree)\n")
743  ptr等于kmalloc(size, GFP_KERNEL)
744  如果非ptr
745  打印错误信息("Allocation failed\n")
746  返回
749  kzfree - like kfree but zero memory*@p: object to free memory of* The memory of the object @p points to is zeroed before freed.* If @p is %NULL, kzfree() does nothing.* Note: this function zeroes the whole allocated buffer which can be a good
750  kzfree - like kfree but zero memory*@p: object to free memory of* The memory of the object @p points to is zeroed before freed.* If @p is %NULL, kzfree() does nothing.* Note: this function zeroes the whole allocated buffer which can be a good
调用者
名称描述
kmalloc_tests_init