函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:emulate_push_stack

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

返回类型:int

参数:

类型参数名称
struct pt_regs *regs
unsigned longval
527  new_sp等于spsizeof_long(regs)
529  如果copy_to_user((void__user * )new_sp, & val, sizeof_long(regs))则返回:负EFAULT
532  sp等于new_sp
533  返回:0
调用者
名称描述
default_post_xol_opWe have to fix things up as follows:* Typically, the new ip is relative to the copied instruction
branch_emulate_op
push_emulate_op