函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:get_user_stack_nth

函数原型:static unsigned long get_user_stack_nth(struct pt_regs *regs, unsigned int n)

返回类型:unsigned long

参数:

类型参数名称
struct pt_regs *regs
unsigned intn
117  addr等于user_stack_pointer(regs)
119  addr等于adjust_stack_addr(addr, n)
121  如果copy_from_user( & ret, (void__force__user * )addr, ret的长度)则返回:0
124  返回:ret
调用者
名称描述
process_fetch_insnNote that we don't verify it, since the code does not come from user space