Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:py_reference_state()

Proto:static int copy_reference_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
609  If Not refs Then Return 0
609  if (({
609  __ret_warn_on = Not Not (The following fields should be last. See copy_func_state() < The following fields should be last. See copy_func_state() )
609  __builtin_expect(!!(__ret_warn_on), 0)
609  }))
609  __builtin_memset(dst, 0, size of dst )
609  Return -EFAULT
609  gcc 内建函数 需要声明
609  Return 0
Caller
NameDescribe
transfer_reference_state
copy_func_statepy verifier state from src to dst growing dst stack space* when necessary to accommodate larger src stack