函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\bpf\core.c Create Date:2022-07-27 14:00:46
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:__bpf_prog_run320

函数原型:static unsigned int __bpf_prog_run320(const void *ctx, const struct bpf_insn *insn)

返回类型:unsigned int

参数:

类型参数名称
const void *ctx
const struct bpf_insn *insn
1676  regs[BPF_REG_10] = (u64)(unsigned long) & stack[(stack的长度 / sizeof((stack)[0]) + ((int)(sizeof(struct{int : ( - !!(__builtin_types_compatible_p(typeof((stack)), typeof( & (stack)[0]))));}))))]
1676  regs[BPF_REG_1]等于ctx
1676  返回:__bpf_prog_run - run eBPF program on a given context*@regs: is the array of MAX_BPF_EXT_REG eBPF pseudo-registers*@insn: is the array of eBPF instructions*@stack: is the eBPF storage stack* Decode and execute eBPF instructions.