Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\debugobjects.c Create Date:2022-07-28 06:55:08
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:debug_object_is_on_stack

Proto:static void debug_object_is_on_stack(void *addr, int onstack)

Type:void

Parameter:

TypeParameterName
void *addr
intonstack
513  If limit > 4 Then Return
516  is_on_stack = object_is_on_stack(addr)
517  If is_on_stack == onstack Then Return
520  limit++
521  If is_on_stack Then pr_warn("object %p is on stack %p, but NOT annotated.\n", addr, task_stack_page(current process))
524  Else pr_warn("object %p is NOT on stack %p, but annotated.\n", addr, task_stack_page(current process))
528  WARN_ON(1)
Caller
NameDescribe
__debug_object_init