函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:__unwind_start

函数原型:void __unwind_start(struct unwind_state *state, struct task_struct *task, struct pt_regs *regs, unsigned long *first_frame)

返回类型:void

参数:

类型参数名称
struct unwind_state *state
struct task_struct *task
struct pt_regs *regs
unsigned long *first_frame
55  memset(state, 0, state的长度)
57  task等于task
58  sp等于PTR_ALIGN(first_frame, sizeof(long))
60  get_stack_info(first_frame, task, & stack_info, & stack_mask)
68  如果非unwind_done(state)且非on_stack( & stack_info, first_frame, sizeof(long))或非__kernel_text_address( * first_frame)的值则unwind_next_frame(state)
调用者
名称描述
unwind_start