Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\bpf\verifier.c Create Date:2022-07-28 12:56:07
Last Modify:2022-05-19 20:02:10 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:py_stack_state()

Proto:static int copy_stack_state(struct bpf_func_state *dst, const struct bpf_func_state *src)

Type:int

Parameter:

TypeParameterName
struct bpf_func_state *dst
const struct bpf_func_state *src
611  If Not stack Then Return 0
611  if (({
611  __ret_warn_on = Not Not (allocated_stack < allocated_stack)
611  __builtin_expect(!!(__ret_warn_on), 0)
611  }))
611  __builtin_memset(dst, 0, size of dst )
611  Return -EFAULT
611  gcc 内建函数 需要声明
611  Return 0
Caller
NameDescribe
copy_func_statepy verifier state from src to dst growing dst stack space* when necessary to accommodate larger src stack