Defined in 1 files as a prototype:
Defined in 2 files as a function:
Referenced in 2 files:
Smatch caller information:
kernel/bpf/fixups.c add_hidden_subprog() -> bpf_patch_insn_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | env | 4096-ptr_max |
| PARAM_VALUE | 0 | env->exception_callback_subprog | 0 |
| PARAM_VALUE | 0 | env->hidden_subprog_cnt | 0 |
| PARAM_VALUE | 0 | env->insn_buf | 4096-ptr_max |
| PARAM_VALUE | 0 | env->prog | 4096-ptr_max |
| PARAM_VALUE | 0 | env->prog->insnsi | 4096-ptr_max |
| PARAM_VALUE | 0 | env->seen_exception | 1 |
| PARAM_VALUE | 0 | env->subprog_info | 4096-ptr_max |
| PARAM_VALUE | 2 | patch | 4096-ptr_max |
| BUF_SIZE | 2 | patch | 256 |
| BUF_SIZE | 2 | patch | 256 |
| DATA_SOURCE | 0 | env | $0 |
| DATA_SOURCE | 2 | patch | $1 |
| DATA_SOURCE | 3 | len | $2 |
kernel/bpf/fixups.c bpf_convert_ctx_accesses() -> bpf_patch_insn_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | env | 4096-ptr_max |
| PARAM_VALUE | 0 | env->insn_buf | 4096-ptr_max |
| PARAM_VALUE | 0 | env->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | env->prog | 4096-ptr_max |
| PARAM_VALUE | 0 | env->prog->insnsi | 4096-ptr_max |
| PARAM_VALUE | 0 | env->subprog_info | 4096-ptr_max |
| PARAM_VALUE | 1 | off | 0 |
| PARAM_VALUE | 2 | patch | 4096-ptr_max |
| PARAM_VALUE | 3 | len | 2 |
| BUF_SIZE | 2 | patch | 256 |
| BUF_SIZE | 2 | patch | 256 |
| DATA_SOURCE | 0 | env | $0 |
kernel/bpf/fixups.c bpf_convert_ctx_accesses() -> bpf_patch_insn_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | env | 4096-ptr_max |
| PARAM_VALUE | 0 | env->insn_aux_data->btf_var.reg_type | 0,16,529,4112 |
| PARAM_VALUE | 0 | env->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | env->ops->gen_epilogue | 0 |
| PARAM_VALUE | 0 | env->ops->gen_prologue | 4211080353547984896,4217243331517132800,5153766329847492608,5416308278813511680 |
| PARAM_VALUE | 0 | env->prog | 4096-ptr_max |
| PARAM_VALUE | 0 | env->prog->aux->kfunc_btf_tab->nr_descs | 0-4294967295 |
| PARAM_VALUE | 1 | off | 0 |
| PARAM_VALUE | 3 | len | 1-31,2147483648-u32max |
| BUF_SIZE | 0 | env->prog | (-1)-s32max |
| BUF_SIZE | 2 | patch | 256 |
| BUF_SIZE | 2 | patch | 256 |
| DATA_SOURCE | 0 | env | $0 |
| NO_OVERFLOW_SIMPLE | 0 | env->prog->len |
kernel/bpf/fixups.c bpf_convert_ctx_accesses() -> bpf_patch_insn_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | env | 4096-ptr_max |
| PARAM_VALUE | 0 | env->insn_aux_data | 4096-ptr_max |
| PARAM_VALUE | 0 | env->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | env->ops->gen_epilogue | 0 |
| PARAM_VALUE | 0 | env->ops->gen_prologue | 0,4211080353547984896,4217243331517132800,5153766329847492608,5416308278813511680 |
| PARAM_VALUE | 0 | env->prog | 4096-ptr_max |
| PARAM_VALUE | 0 | env->prog->aux | 4096-ptr_max |
| PARAM_VALUE | 0 | env->prog->aux->kfunc_btf_tab->nr_descs | 0-4294967295 |
| PARAM_VALUE | 2 | patch | 4096-ptr_max |
| BUF_SIZE | 0 | env->prog | (-1)-s32max |
| BUF_SIZE | 2 | patch | 256 |
| BUF_SIZE | 2 | patch | 256 |
| DATA_SOURCE | 0 | env | $0 |
| NO_OVERFLOW_SIMPLE | 0 | env->prog->len |
kernel/bpf/fixups.c bpf_convert_ctx_accesses() -> bpf_patch_insn_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | env | 4096-ptr_max |
| PARAM_VALUE | 0 | env->insn_aux_data | 4096-ptr_max |
| PARAM_VALUE | 0 | env->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | env->ops->gen_epilogue | 0 |
| PARAM_VALUE | 0 | env->ops->gen_prologue | 0,4211080353547984896,4217243331517132800,5153766329847492608,5416308278813511680 |
| PARAM_VALUE | 0 | env->prog | 4096-ptr_max |
| PARAM_VALUE | 0 | env->prog->aux | 4096-ptr_max |
| PARAM_VALUE | 0 | env->prog->aux->kfunc_btf_tab->nr_descs | 0-4294967295 |
| PARAM_VALUE | 2 | patch | 4096-ptr_max |
| PARAM_VALUE | 2 | patch->code | 98-99,106-107,114-115,122-123 |
| BUF_SIZE | 0 | env->prog | (-1)-s32max |
| BUF_SIZE | 2 | patch | 256 |
| BUF_SIZE | 2 | patch | 256 |
| DATA_SOURCE | 0 | env | $0 |
| NO_OVERFLOW_SIMPLE | 0 | env->prog->len |
kernel/bpf/fixups.c bpf_convert_ctx_accesses() -> bpf_patch_insn_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | env | 4096-ptr_max |
| PARAM_VALUE | 0 | env->insn_aux_data | 4096-ptr_max |
| PARAM_VALUE | 0 | env->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | env->ops->gen_epilogue | 0 |
| PARAM_VALUE | 0 | env->ops->gen_prologue | 0,4211080353547984896,4217243331517132800,5153766329847492608,5416308278813511680 |
| PARAM_VALUE | 0 | env->prog | 4096-ptr_max |
| PARAM_VALUE | 0 | env->prog->aux | 4096-ptr_max |
| PARAM_VALUE | 0 | env->prog->aux->kfunc_btf_tab->nr_descs | 0-4294967295 |
| BUF_SIZE | 0 | env->prog | (-1)-s32max |
| BUF_SIZE | 2 | patch | 256 |
| BUF_SIZE | 2 | patch | 256 |
| DATA_SOURCE | 0 | env | $0 |
| NO_OVERFLOW_SIMPLE | 0 | env->prog->len |
kernel/bpf/fixups.c bpf_do_misc_fixups() -> bpf_patch_insn_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | env | 4096-ptr_max |
| PARAM_VALUE | 0 | env->insn_aux_data | 4096-ptr_max |
| PARAM_VALUE | 0 | env->insn_aux_data->btf_var.reg_type | 0,16,529,4112 |
| PARAM_VALUE | 0 | env->prog | 4096-ptr_max |
| PARAM_VALUE | 0 | env->prog->aux | 4096-ptr_max |
| PARAM_VALUE | 0 | env->subprog_info | 4096-ptr_max |
| PARAM_VALUE | 2 | patch | 4096-ptr_max |
| BUF_SIZE | 2 | patch | 256 |
| BUF_SIZE | 2 | patch | 256 |
| DATA_SOURCE | 0 | env | $0 |
| NO_OVERFLOW_SIMPLE | 0 | env->prog->len |
kernel/bpf/fixups.c bpf_do_misc_fixups() -> bpf_patch_insn_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | env | 4096-ptr_max |
| PARAM_VALUE | 0 | env->insn_aux_data | 4096-ptr_max |
| PARAM_VALUE | 0 | env->insn_aux_data->btf_var.reg_type | 0,16,529,4112 |
| PARAM_VALUE | 0 | env->prog | 4096-ptr_max |
| PARAM_VALUE | 0 | env->prog->aux | 4096-ptr_max |
| PARAM_VALUE | 0 | env->subprog_info | 4096-ptr_max |
| PARAM_VALUE | 2 | patch | 4096-ptr_max |
| BUF_SIZE | 2 | patch | 256 |
| BUF_SIZE | 2 | patch | 256 |
| DATA_SOURCE | 0 | env | $0 |
| NO_OVERFLOW_SIMPLE | 0 | env->prog->len |
kernel/bpf/fixups.c bpf_do_misc_fixups() -> bpf_patch_insn_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | env | 4096-ptr_max |
| PARAM_VALUE | 0 | env->insn_aux_data | 4096-ptr_max |
| PARAM_VALUE | 0 | env->insn_aux_data->btf_var.reg_type | 0,16,529,4112 |
| PARAM_VALUE | 0 | env->prog | 4096-ptr_max |
| PARAM_VALUE | 0 | env->prog->aux | 4096-ptr_max |
| PARAM_VALUE | 0 | env->subprog_info | 4096-ptr_max |
| PARAM_VALUE | 2 | patch | 4096-ptr_max |
| BUF_SIZE | 2 | patch | 256 |
| BUF_SIZE | 2 | patch | 256 |
| DATA_SOURCE | 0 | env | $0 |
| NO_OVERFLOW_SIMPLE | 0 | env->prog->len |
kernel/bpf/fixups.c bpf_do_misc_fixups() -> bpf_patch_insn_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | env | 4096-ptr_max |
| PARAM_VALUE | 0 | env->insn_aux_data | 4096-ptr_max |
| PARAM_VALUE | 0 | env->insn_aux_data->btf_var.reg_type | 0,16,529,4112 |
| PARAM_VALUE | 0 | env->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | env->prog | 4096-ptr_max |
| PARAM_VALUE | 0 | env->prog->aux | 4096-ptr_max |
| PARAM_VALUE | 0 | env->subprog_info | 4096-ptr_max |
| PARAM_VALUE | 3 | len | 1-31,2147483648-u32max |
| BUF_SIZE | 2 | patch | 256 |
| BUF_SIZE | 2 | patch | 256 |
| DATA_SOURCE | 0 | env | $0 |
| NO_OVERFLOW_SIMPLE | 0 | env->prog->len |
kernel/bpf/fixups.c bpf_do_misc_fixups() -> bpf_patch_insn_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | env | 4096-ptr_max |
| PARAM_VALUE | 0 | env->insn_aux_data | 4096-ptr_max |
| PARAM_VALUE | 0 | env->insn_aux_data->btf_var.reg_type | 0,16,529,4112 |
| PARAM_VALUE | 0 | env->prog | 4096-ptr_max |
| PARAM_VALUE | 0 | env->prog->aux | 4096-ptr_max |
| PARAM_VALUE | 0 | env->subprog_info | 4096-ptr_max |
| BUF_SIZE | 2 | patch | 256 |
| BUF_SIZE | 2 | patch | 256 |
| DATA_SOURCE | 0 | env | $0 |
| NO_OVERFLOW_SIMPLE | 0 | env->prog->len |
kernel/bpf/fixups.c bpf_do_misc_fixups() -> bpf_patch_insn_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | env | 4096-ptr_max |
| PARAM_VALUE | 0 | env->insn_aux_data | 4096-ptr_max |
| PARAM_VALUE | 0 | env->insn_aux_data->btf_var.reg_type | 0,16,529,4112 |
| PARAM_VALUE | 0 | env->prog | 4096-ptr_max |
| PARAM_VALUE | 0 | env->prog->aux | 4096-ptr_max |
| PARAM_VALUE | 0 | env->subprog_info | 4096-ptr_max |
| PARAM_VALUE | 2 | patch | 4096-ptr_max |
| PARAM_VALUE | 3 | len | 7 |
| BUF_SIZE | 2 | patch | 256 |
| BUF_SIZE | 2 | patch | 256 |
| DATA_SOURCE | 0 | env | $0 |
| NO_OVERFLOW_SIMPLE | 0 | env->prog->len |
kernel/bpf/fixups.c bpf_do_misc_fixups() -> bpf_patch_insn_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | env | 4096-ptr_max |
| PARAM_VALUE | 0 | env->insn_aux_data | 4096-ptr_max |
| PARAM_VALUE | 0 | env->insn_aux_data->btf_var.reg_type | 0,16,529,4112 |
| PARAM_VALUE | 0 | env->prog | 4096-ptr_max |
| PARAM_VALUE | 0 | env->prog->aux | 4096-ptr_max |
| PARAM_VALUE | 0 | env->subprog_info | 4096-ptr_max |
| PARAM_VALUE | 2 | patch | 4096-ptr_max |
| PARAM_VALUE | 3 | len | 4 |
| BUF_SIZE | 2 | patch | 256 |
| BUF_SIZE | 2 | patch | 256 |
| DATA_SOURCE | 0 | env | $0 |
| NO_OVERFLOW_SIMPLE | 0 | env->prog->len |
kernel/bpf/fixups.c bpf_do_misc_fixups() -> bpf_patch_insn_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | env | 4096-ptr_max |
| PARAM_VALUE | 0 | env->insn_aux_data | 4096-ptr_max |
| PARAM_VALUE | 0 | env->insn_aux_data->btf_var.reg_type | 0,16,529,4112 |
| PARAM_VALUE | 0 | env->prog | 4096-ptr_max |
| PARAM_VALUE | 0 | env->prog->aux | 4096-ptr_max |
| PARAM_VALUE | 0 | env->subprog_info | 4096-ptr_max |
| PARAM_VALUE | 3 | len | 1-u32max |
| BUF_SIZE | 2 | patch | 256 |
| BUF_SIZE | 2 | patch | 256 |
| DATA_SOURCE | 0 | env | $0 |
| NO_OVERFLOW_SIMPLE | 0 | env->prog->len |
kernel/bpf/fixups.c bpf_do_misc_fixups() -> bpf_patch_insn_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | env | 4096-ptr_max |
| PARAM_VALUE | 0 | env->insn_aux_data | 4096-ptr_max |
| PARAM_VALUE | 0 | env->insn_aux_data->btf_var.reg_type | 0,16,529,4112 |
| PARAM_VALUE | 0 | env->prog | 4096-ptr_max |
| PARAM_VALUE | 0 | env->prog->aux | 4096-ptr_max |
| PARAM_VALUE | 0 | env->subprog_info | 4096-ptr_max |
| PARAM_VALUE | 2 | patch | 4096-ptr_max |
| PARAM_VALUE | 3 | len | 3 |
| BUF_SIZE | 2 | patch | 256 |
| BUF_SIZE | 2 | patch | 256 |
| DATA_SOURCE | 0 | env | $0 |
| NO_OVERFLOW_SIMPLE | 0 | env->prog->len |
kernel/bpf/fixups.c bpf_do_misc_fixups() -> bpf_patch_insn_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | env | 4096-ptr_max |
| PARAM_VALUE | 0 | env->insn_aux_data | 4096-ptr_max |
| PARAM_VALUE | 0 | env->insn_aux_data->btf_var.reg_type | 0,16,529,4112 |
| PARAM_VALUE | 0 | env->prog | 4096-ptr_max |
| PARAM_VALUE | 0 | env->prog->aux | 4096-ptr_max |
| PARAM_VALUE | 0 | env->subprog_info | 4096-ptr_max |
| PARAM_VALUE | 2 | patch | 4096-ptr_max |
| PARAM_VALUE | 3 | len | 3 |
| BUF_SIZE | 2 | patch | 256 |
| BUF_SIZE | 2 | patch | 256 |
| DATA_SOURCE | 0 | env | $0 |
| NO_OVERFLOW_SIMPLE | 0 | env->prog->len |
kernel/bpf/fixups.c bpf_do_misc_fixups() -> bpf_patch_insn_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | env | 4096-ptr_max |
| PARAM_VALUE | 0 | env->insn_aux_data | 4096-ptr_max |
| PARAM_VALUE | 0 | env->insn_aux_data->btf_var.reg_type | 0,16,529,4112 |
| PARAM_VALUE | 0 | env->prog | 4096-ptr_max |
| PARAM_VALUE | 0 | env->prog->aux | 4096-ptr_max |
| PARAM_VALUE | 0 | env->subprog_info | 4096-ptr_max |
| PARAM_VALUE | 2 | patch | 4096-ptr_max |
| PARAM_VALUE | 3 | len | 2 |
| BUF_SIZE | 2 | patch | 256 |
| BUF_SIZE | 2 | patch | 256 |
| DATA_SOURCE | 0 | env | $0 |
| NO_OVERFLOW_SIMPLE | 0 | env->prog->len |
kernel/bpf/fixups.c bpf_do_misc_fixups() -> bpf_patch_insn_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | env | 4096-ptr_max |
| PARAM_VALUE | 0 | env->insn_aux_data | 4096-ptr_max |
| PARAM_VALUE | 0 | env->insn_aux_data->btf_var.reg_type | 0,16,529,4112 |
| PARAM_VALUE | 0 | env->prog | 4096-ptr_max |
| PARAM_VALUE | 0 | env->prog->aux | 4096-ptr_max |
| PARAM_VALUE | 0 | env->subprog_info | 4096-ptr_max |
| PARAM_VALUE | 3 | len | 1-31 |
| BUF_SIZE | 2 | patch | 256 |
| BUF_SIZE | 2 | patch | 256 |
| DATA_SOURCE | 0 | env | $0 |
| NO_OVERFLOW_SIMPLE | 0 | env->prog->len |
kernel/bpf/fixups.c bpf_do_misc_fixups() -> bpf_patch_insn_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | env | 4096-ptr_max |
| PARAM_VALUE | 0 | env->insn_aux_data | 4096-ptr_max |
| PARAM_VALUE | 0 | env->insn_aux_data->btf_var.reg_type | 0,16,529,4112 |
| PARAM_VALUE | 0 | env->prog | 4096-ptr_max |
| PARAM_VALUE | 0 | env->prog->aux | 4096-ptr_max |
| PARAM_VALUE | 0 | env->subprog_info | 4096-ptr_max |
| PARAM_VALUE | 2 | patch | 4096-ptr_max |
| PARAM_VALUE | 3 | len | 3 |
| BUF_SIZE | 2 | patch | 256 |
| BUF_SIZE | 2 | patch | 256 |
| DATA_SOURCE | 0 | env | $0 |
| NO_OVERFLOW_SIMPLE | 0 | env->prog->len |
kernel/bpf/fixups.c bpf_do_misc_fixups() -> bpf_patch_insn_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | env | 4096-ptr_max |
| PARAM_VALUE | 0 | env->insn_aux_data | 4096-ptr_max |
| PARAM_VALUE | 0 | env->insn_aux_data->btf_var.reg_type | 0,16,529,4112 |
| PARAM_VALUE | 0 | env->prog | 4096-ptr_max |
| PARAM_VALUE | 0 | env->prog->aux | 4096-ptr_max |
| PARAM_VALUE | 0 | env->prog->jit_requested | 1 |
| PARAM_VALUE | 0 | env->subprog_info | 4096-ptr_max |
| PARAM_VALUE | 2 | patch | 4096-ptr_max |
| PARAM_VALUE | 3 | len | 3 |
| BUF_SIZE | 2 | patch | 256 |
| BUF_SIZE | 2 | patch | 256 |
| DATA_SOURCE | 0 | env | $0 |
| NO_OVERFLOW_SIMPLE | 0 | env->prog->len |
kernel/bpf/fixups.c bpf_do_misc_fixups() -> bpf_patch_insn_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | env | 4096-ptr_max |
| PARAM_VALUE | 0 | env->insn_aux_data | 4096-ptr_max |
| PARAM_VALUE | 0 | env->insn_aux_data->btf_var.reg_type | 0,16,529,4112 |
| PARAM_VALUE | 0 | env->prog | 4096-ptr_max |
| PARAM_VALUE | 0 | env->prog->aux | 4096-ptr_max |
| PARAM_VALUE | 0 | env->prog->jit_requested | 1 |
| PARAM_VALUE | 0 | env->subprog_info | 4096-ptr_max |
| PARAM_VALUE | 2 | patch | 4096-ptr_max |
| PARAM_VALUE | 3 | len | 3 |
| BUF_SIZE | 2 | patch | 256 |
| BUF_SIZE | 2 | patch | 256 |
| DATA_SOURCE | 0 | env | $0 |
| NO_OVERFLOW_SIMPLE | 0 | env->prog->len |
kernel/bpf/fixups.c bpf_do_misc_fixups() -> bpf_patch_insn_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | env | 4096-ptr_max |
| PARAM_VALUE | 0 | env->insn_aux_data | 4096-ptr_max |
| PARAM_VALUE | 0 | env->insn_aux_data->btf_var.reg_type | 0,16,529,4112 |
| PARAM_VALUE | 0 | env->prog | 4096-ptr_max |
| PARAM_VALUE | 0 | env->prog->aux | 4096-ptr_max |
| PARAM_VALUE | 0 | env->subprog_info | 4096-ptr_max |
| PARAM_VALUE | 2 | patch | 4096-ptr_max |
| PARAM_VALUE | 3 | len | 9-s32max |
| BUF_SIZE | 2 | patch | 256 |
| BUF_SIZE | 2 | patch | 256 |
| DATA_SOURCE | 0 | env | $0 |
| NO_OVERFLOW_SIMPLE | 0 | env->prog->len |
kernel/bpf/fixups.c bpf_do_misc_fixups() -> bpf_patch_insn_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | env | 4096-ptr_max |
| PARAM_VALUE | 0 | env->insn_aux_data | 4096-ptr_max |
| PARAM_VALUE | 0 | env->insn_aux_data->btf_var.reg_type | 0,16,529,4112 |
| PARAM_VALUE | 0 | env->prog | 4096-ptr_max |
| PARAM_VALUE | 0 | env->prog->aux | 4096-ptr_max |
| PARAM_VALUE | 0 | env->subprog_info | 4096-ptr_max |
| PARAM_VALUE | 2 | patch | 4096-ptr_max |
| PARAM_VALUE | 3 | len | 1,7 |
| BUF_SIZE | 2 | patch | 256 |
| BUF_SIZE | 2 | patch | 256 |
| DATA_SOURCE | 0 | env | $0 |
| BIT_INFO | 3 | len | 0x1,0x7 |
| NO_OVERFLOW_SIMPLE | 0 | env->prog->len |
kernel/bpf/fixups.c bpf_do_misc_fixups() -> bpf_patch_insn_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | env | 4096-ptr_max |
| PARAM_VALUE | 0 | env->insn_aux_data | 4096-ptr_max |
| PARAM_VALUE | 0 | env->insn_aux_data->btf_var.reg_type | 0,16,529,4112 |
| PARAM_VALUE | 0 | env->prog | 4096-ptr_max |
| PARAM_VALUE | 0 | env->prog->aux | 4096-ptr_max |
| PARAM_VALUE | 0 | env->subprog_info | 4096-ptr_max |
| PARAM_VALUE | 2 | patch | 4096-ptr_max |
| PARAM_VALUE | 3 | len | 1-2 |
| BUF_SIZE | 2 | patch | 256 |
| BUF_SIZE | 2 | patch | 256 |
| DATA_SOURCE | 0 | env | $0 |
| NO_OVERFLOW_SIMPLE | 0 | env->prog->len |
kernel/bpf/fixups.c bpf_do_misc_fixups() -> bpf_patch_insn_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | env | 4096-ptr_max |
| PARAM_VALUE | 0 | env->insn_aux_data | 4096-ptr_max |
| PARAM_VALUE | 0 | env->insn_aux_data->btf_var.reg_type | 0,16,529,4112 |
| PARAM_VALUE | 0 | env->prog | 4096-ptr_max |
| PARAM_VALUE | 0 | env->prog->aux | 4096-ptr_max |
| PARAM_VALUE | 0 | env->subprog_info | 4096-ptr_max |
| PARAM_VALUE | 2 | patch | 4096-ptr_max |
| PARAM_VALUE | 3 | len | 1 |
| BUF_SIZE | 2 | patch | 256 |
| BUF_SIZE | 2 | patch | 256 |
| DATA_SOURCE | 0 | env | $0 |
| NO_OVERFLOW_SIMPLE | 0 | env->prog->len |
kernel/bpf/fixups.c bpf_do_misc_fixups() -> bpf_patch_insn_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | env | 4096-ptr_max |
| PARAM_VALUE | 0 | env->insn_aux_data | 4096-ptr_max |
| PARAM_VALUE | 0 | env->insn_aux_data->btf_var.reg_type | 0,16,529,4112 |
| PARAM_VALUE | 0 | env->prog | 4096-ptr_max |
| PARAM_VALUE | 0 | env->prog->aux | 4096-ptr_max |
| PARAM_VALUE | 0 | env->subprog_info | 4096-ptr_max |
| PARAM_VALUE | 2 | patch | 4096-ptr_max |
| PARAM_VALUE | 3 | len | 11 |
| BUF_SIZE | 2 | patch | 256 |
| BUF_SIZE | 2 | patch | 256 |
| DATA_SOURCE | 0 | env | $0 |
| NO_OVERFLOW_SIMPLE | 0 | env->prog->len |
kernel/bpf/fixups.c bpf_do_misc_fixups() -> bpf_patch_insn_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | env | 4096-ptr_max |
| PARAM_VALUE | 0 | env->insn_aux_data | 4096-ptr_max |
| PARAM_VALUE | 0 | env->insn_aux_data->btf_var.reg_type | 0,16,529,4112 |
| PARAM_VALUE | 0 | env->prog | 4096-ptr_max |
| PARAM_VALUE | 0 | env->prog->aux | 4096-ptr_max |
| PARAM_VALUE | 0 | env->subprog_info | 4096-ptr_max |
| PARAM_VALUE | 2 | patch | 4096-ptr_max |
| PARAM_VALUE | 3 | len | 2 |
| BUF_SIZE | 2 | patch | 256 |
| BUF_SIZE | 2 | patch | 256 |
| DATA_SOURCE | 0 | env | $0 |
| NO_OVERFLOW_SIMPLE | 0 | env->prog->len |
kernel/bpf/fixups.c bpf_do_misc_fixups() -> bpf_patch_insn_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | env | 4096-ptr_max |
| PARAM_VALUE | 0 | env->prog | 4096-ptr_max |
| PARAM_VALUE | 0 | env->prog->aux->stack_depth | 0-u16max |
| PARAM_VALUE | 0 | env->prog->insnsi | 4096-ptr_max |
| PARAM_VALUE | 0 | env->subprog_cnt | 1-u32max |
| PARAM_VALUE | 0 | env->subprog_info | 4096-ptr_max |
| PARAM_VALUE | 2 | patch | 4096-ptr_max |
| PARAM_VALUE | 3 | len | 2-s32max |
| BUF_SIZE | 2 | patch | 256 |
| BUF_SIZE | 2 | patch | 256 |
| DATA_SOURCE | 0 | env | $0 |
| NO_OVERFLOW_SIMPLE | 0 | env->prog->len | |
| UNITS | 1 | off | unit_array_size |
kernel/bpf/fixups.c bpf_opt_subreg_zext_lo32_rnd_hi32() -> bpf_patch_insn_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | env | 4096-ptr_max |
| PARAM_VALUE | 0 | env->insn_aux_data->btf_var.reg_type | 0,16,529,4112 |
| PARAM_VALUE | 0 | env->insn_buf | 4096-ptr_max |
| PARAM_VALUE | 0 | env->prog | 4096-ptr_max |
| PARAM_VALUE | 2 | patch | 4096-ptr_max |
| PARAM_VALUE | 3 | len | 2,4 |
| BUF_SIZE | 0 | env->prog | (-1)-s32max |
| BUF_SIZE | 2 | patch | 240,256 |
| BUF_SIZE | 2 | patch | 240,256 |
| DATA_SOURCE | 0 | env | $0 |
| BIT_INFO | 3 | len | 0x0,0x6 |
| NO_OVERFLOW_SIMPLE | 0 | env->log.kbuf | |
| NO_OVERFLOW_SIMPLE | 0 | env->prog->len |
kernel/bpf/fixups.c inline_bpf_loop() -> bpf_patch_insn_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | env | 4096-ptr_max |
| PARAM_VALUE | 0 | env->insn_aux_data | 4096-ptr_max |
| PARAM_VALUE | 0 | env->insn_buf | 4096-ptr_max |
| PARAM_VALUE | 0 | env->prog | 4096-ptr_max |
| PARAM_VALUE | 0 | env->subprog_info | 4096-ptr_max |
| PARAM_VALUE | 1 | off | 0-2147483646 |
| PARAM_VALUE | 2 | patch | 4096-ptr_max |
| PARAM_VALUE | 3 | len | 19 |
| BUF_SIZE | 0 | env->prog | (-1)-s32max |
| BUF_SIZE | 2 | patch | 256 |
| BUF_SIZE | 2 | patch | 256 |
| DATA_SOURCE | 0 | env | $0 |
| DATA_SOURCE | 1 | off | $1 |
| NO_OVERFLOW_SIMPLE | 0 | env->prog->len |
kernel/bpf/core.c bpf_jit_blind_constants() -> bpf_patch_insn_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | env | 4096-ptr_max |
| PARAM_VALUE | 0 | env->insn_aux_data->btf_var.reg_type | 0,16,529,4112 |
| PARAM_VALUE | 0 | env->prog | 1-u64max |
| PARAM_VALUE | 0 | env->subprog_cnt | 2-s32max |
| PARAM_VALUE | 1 | off | 0-2147483646 |
| PARAM_VALUE | 2 | patch | 878010060088082432 |
| PARAM_VALUE | 3 | len | 1-16 |
| BUF_SIZE | 0 | env->prog | (-1)-s32max |
| BUF_SIZE | 2 | patch | 128 |
| CAPPED_DATA | 0 | env->subprog_cnt | 1 |
| CAPPED_DATA | 1 | off | 1 |
| DATA_SOURCE | 0 | env | $0 |
| DATA_SOURCE | 3 | len | r bpf_jit_blind_insn |
| FUZZY_MAX | 0 | env->subprog_cnt | 2 |
| RX_PATH | |||
| NO_OVERFLOW_SIMPLE | 0 | env->prog->len | |
| NO_OVERFLOW_SIMPLE | 0 | env->subprog_cnt | |
| NO_OVERFLOW_SIMPLE | 1 | off | |
| UNITS | 1 | off | unit_array_size |