函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\kprobes\core.c Create Date:2022-07-27 09:37:50
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:arch_prepare_kprobe

函数原型:int arch_prepare_kprobe(struct kprobe *p)

返回类型:int

参数:

类型参数名称
struct kprobe *p
483  如果alternatives_text_reserved( location of the probe point , location of the probe point )则返回:负EINVAL
486  如果非Check if paddr is at an instruction boundary 则返回:负EILSEQ
489  copy of the original instruction 等于get_insn_slot()
490  如果非copy of the original instruction 则返回:负ENOMEM
493  ret等于arch_copy_kprobe(p)
494  如果ret
495  free_insn_slot(copy of the original instruction , 0)
496  copy of the original instruction = NULL
499  返回:ret
调用者
名称描述
register_aggr_kprobeThis is the second or subsequent kprobe at the address - handle* the intricacies