函数逻辑报告 |
Source Code:kernel\bpf\verifier.c |
Create Date:2022-07-27 14:16:33 |
Last Modify:2022-05-19 20:02:10 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:check_return_code
函数原型:static int check_return_code(struct bpf_verifier_env *env)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct bpf_verifier_env * | env |
6368 | 如果 For some prog types 恒等于BPF_CGROUP_UDP4_RECVMSG或 For some prog types 恒等于BPF_CGROUP_UDP6_RECVMSG则range等于A value that's unknown except that @min <= value <= @max |
6371 | 退出 |
6372 | 当: Type of BPF program 恒等于BPF_PROG_TYPE_CGROUP_SKB |
6379 | 当: Type of BPF program 恒等于BPF_PROG_TYPE_SOCK_OPS |
6383 | 退出 |
6385 | 如果非 in-kernel BTF type id to attach to 则返回:0 |
6388 | 退出 |
6389 | 默认 |
6390 | 返回:0 |
6395 | verbose(env, "At program exit the register R0 is not a known value (%s)\n", string representation of 'enum bpf_reg_type' [ Ordering of fields matters. See states_equal() ]) |
6397 | 返回:负EINVAL |
6415 | 如果非Returns true if @a is completely unknown 且Returns true if @b represents a subset of @a. 则 Enforce expected_attach_type checking at attach time 等于1 |
6418 | 返回:0 |
名称 | 描述 |
---|---|
do_check |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |