函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\sched\task_stack.h Create Date:2022-07-27 06:42:57
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:Return the address of the last usable long on the stack.* When the stack grows down, this is just above the thread* info struct. Going any lower will corrupt the threadinfo.* When the stack grows up, this is the highest address.

函数原型:static inline unsigned long *end_of_stack(struct task_struct *p)

返回类型:unsigned long

参数:

类型参数名称
struct task_struct *p
55  返回:task_thread_info(p)加1
调用者
名称描述
set_task_stack_end_magic设置任务栈
stackleak_erase
get_address_stack_frame_info