函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\kprobes.c Create Date:2022-07-27 12:40:00
Last Modify:2022-05-22 18:14:58 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:Lookup and populate the kprobe_blacklist.* Unlike the kretprobe blacklist, we'll need to determine* the range of addresses that belong to the said functions,* since a kprobe need not necessarily be at the beginning* of a function.

函数原型:static int __init populate_kprobe_blacklist(unsigned long *start, unsigned long *end)

返回类型:int

参数:

类型参数名称
unsigned long *start
unsigned long *end
2202 iter小于end循环
2203  entry等于arch_deref_entry_point((void * ) * iter)
2204  ret等于kprobe_add_ksym_blacklist(entry)
2205  如果ret恒等于负EINVAL则继续下一循环
2207  如果ret小于0则返回:ret
2212  ret等于Add all symbols in given area into kprobe blacklist
2215  返回:如果ret否则arch_populate_kprobe_blacklist()
调用者
名称描述
init_kprobes