函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Note that we don't verify it, since the code does not come from user space

函数原型:static int process_fetch_insn(struct fetch_insn *code, struct pt_regs *regs, void *dest, void *base)

返回类型:int

参数:

类型参数名称
struct fetch_insn *code
struct pt_regs *regs
void *dest
void *base
1131  retry :
1134  :op恒等于 Register : .param = offset
1135  val等于gs_get_register() - get register value from its offset*@regs: pt_regs from which register value is gotten.*@offset: offset number of the register.* regs_get_register returns the value of a register. The @offset is the
1136  退出
1137  :op恒等于 Stack : .param = index
1138  val等于gs_get_kernel_stack_nth() - get Nth entry of the stack*@regs: pt_regs which contains kernel stack pointer.*@n: stack entry number.* regs_get_kernel_stack_nth() returns @n th entry of the kernel stack which* is specified by @regs
1139  退出
1140  :op恒等于 Stack pointer
1141  val等于kernel_stack_pointer(regs)
1142  退出
1143  :op恒等于 Return value
1144  val等于regs_return_value(regs)
1145  退出
1146  :op恒等于 Immediate : .immediate
1147  val等于immediate
1148  退出
1149  :op恒等于 Current comm
1150  val等于comm
1151  退出
1152  :op恒等于 Allocated data: .data
1153  val等于data
1154  退出
1160  :op恒等于 Unresolved Symbol holder
1161  code自加
1162  转到:retry
1163  默认
1164  返回:负EILSEQ
1166  code自加
1168  返回:From the 2nd stage, routine is same