Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:py verifier state from src to dst growing dst stack space* when necessary to accommodate larger src stack

Proto:static int copy_func_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
760  err = do_check() starts with zero-sized stack in struct bpf_verifier_state to* make it consume minimal amount of memory
762  If err Then Return err
764  No 3D Now!(dst, src, offsetof(structbpf_func_state, acquired_refs))
765  err = py_reference_state()
766  If err Then Return err
768  Return py_stack_state()
Caller
NameDescribe
copy_verifier_state