函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:deref_stack_regs

函数原型:static bool deref_stack_regs(struct unwind_state *state, unsigned long addr, unsigned long *ip, unsigned long *sp)

返回类型:bool

参数:

类型参数名称
struct unwind_state *state
unsigned longaddr
unsigned long *ip
unsigned long *sp
355  regs等于addr
358  BUILD_BUG_ON - break compile if a condition is true(IS_ENABLED(CONFIG_FOO) evaluates to 1 if CONFIG_FOO is set to 'y' or 'm',* 0 otherwise.(CONFIG_X86_32))
360  如果非stack_access_ok(state, addr, sizeof(structpt_regs))则返回:false
363  ip等于 Return frame for iretq
364  sp等于sp
365  返回:true
调用者
名称描述
unwind_next_frame