函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:kmemleak_load_module

函数原型:static void kmemleak_load_module(const struct module *mod, const struct load_info *info)

返回类型:void

参数:

类型参数名称
const struct module *mod
const struct load_info *info
2826  kmemleak_scan_area(mod, sizeof(structmodule), GFP_KERNEL)
2828 i小于e_shnum循环
2830  如果非sh_flags按位与SHF_ALLOC的值或非sh_flags按位与sh_flags 的值或sh_flags按位与SHF_EXECINSTR则继续下一循环
2835  kmemleak_scan_area((void * )sh_addr, sh_size, GFP_KERNEL)
调用者
名称描述
layout_and_allocate