函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:kprobe_add_ksym_blacklist

函数原型:int kprobe_add_ksym_blacklist(unsigned long entry)

返回类型:int

参数:

类型参数名称
unsigned longentry
2149  offset等于0, size等于0
2151  如果非kernel_text_address(entry)或非Lookup an address but don't bother to find any names.则返回:负EINVAL
2155  ent等于开辟内存
2156  如果非ent则返回:负ENOMEM
2158  start_addr等于entry
2159  end_addr等于entrysize
2160  初始化链表头
2161  添加链表项
2163  返回:size
调用者
名称描述
kprobe_add_area_blacklistAdd all symbols in given area into kprobe blacklist
populate_kprobe_blacklistLookup 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.