/tools/testing/selftests/bpf/verifier/ |
D | value.c | 6 BPF_ST_MEM(BPF_DW, BPF_REG_2, 0, 0), 10 BPF_STX_MEM(BPF_DW, BPF_REG_0, BPF_REG_1, 0), 24 BPF_ST_MEM(BPF_DW, BPF_REG_2, 0, 0), 29 BPF_ST_MEM(BPF_DW, BPF_REG_0, 0, 42), 30 BPF_ST_MEM(BPF_DW, BPF_REG_0, 2, 43), 31 BPF_ST_MEM(BPF_DW, BPF_REG_0, -2, 44), 33 BPF_ST_MEM(BPF_DW, BPF_REG_8, 0, 32), 34 BPF_ST_MEM(BPF_DW, BPF_REG_8, 2, 33), 35 BPF_ST_MEM(BPF_DW, BPF_REG_8, -2, 34), 37 BPF_ST_MEM(BPF_DW, BPF_REG_8, 0, 22), [all …]
|
D | helper_access_var_len.c | 7 BPF_STX_MEM(BPF_DW, BPF_REG_10, BPF_REG_0, -64), 8 BPF_STX_MEM(BPF_DW, BPF_REG_10, BPF_REG_0, -56), 9 BPF_STX_MEM(BPF_DW, BPF_REG_10, BPF_REG_0, -48), 10 BPF_STX_MEM(BPF_DW, BPF_REG_10, BPF_REG_0, -40), 11 BPF_STX_MEM(BPF_DW, BPF_REG_10, BPF_REG_0, -32), 12 BPF_STX_MEM(BPF_DW, BPF_REG_10, BPF_REG_0, -24), 13 BPF_STX_MEM(BPF_DW, BPF_REG_10, BPF_REG_0, -16), 14 BPF_STX_MEM(BPF_DW, BPF_REG_10, BPF_REG_0, -8), 16 BPF_STX_MEM(BPF_DW, BPF_REG_1, BPF_REG_2, -128), 17 BPF_LDX_MEM(BPF_DW, BPF_REG_2, BPF_REG_1, -128), [all …]
|
D | spill_fill.c | 5 BPF_STX_MEM(BPF_DW, BPF_REG_10, BPF_REG_1, -8), 7 BPF_LDX_MEM(BPF_DW, BPF_REG_2, BPF_REG_10, -8), 22 BPF_STX_MEM(BPF_DW, BPF_REG_10, BPF_REG_6, -8), 23 BPF_LDX_MEM(BPF_DW, BPF_REG_0, BPF_REG_10, -8), 35 BPF_ST_MEM(BPF_DW, BPF_REG_10, -8, 0), 45 BPF_STX_MEM(BPF_DW, BPF_REG_10, BPF_REG_6, -8), 47 BPF_LDX_MEM(BPF_DW, BPF_REG_7, BPF_REG_10, -8), 49 BPF_ST_MEM(BPF_DW, BPF_REG_7, 0, 0), 65 BPF_STX_MEM(BPF_DW, BPF_REG_10, BPF_REG_1, -8), 71 BPF_LDX_MEM(BPF_DW, BPF_REG_0, BPF_REG_10, -8), [all …]
|
D | value_illegal_alu.c | 6 BPF_ST_MEM(BPF_DW, BPF_REG_2, 0, 0), 11 BPF_ST_MEM(BPF_DW, BPF_REG_0, 0, 22), 23 BPF_ST_MEM(BPF_DW, BPF_REG_2, 0, 0), 28 BPF_ST_MEM(BPF_DW, BPF_REG_0, 0, 22), 40 BPF_ST_MEM(BPF_DW, BPF_REG_2, 0, 0), 45 BPF_ST_MEM(BPF_DW, BPF_REG_0, 0, 22), 57 BPF_ST_MEM(BPF_DW, BPF_REG_2, 0, 0), 62 BPF_ST_MEM(BPF_DW, BPF_REG_0, 0, 22), 77 BPF_ST_MEM(BPF_DW, BPF_REG_2, 0, 0), 84 BPF_STX_MEM(BPF_DW, BPF_REG_2, BPF_REG_0, 0), [all …]
|
D | search_pruning.c | 4 BPF_ST_MEM(BPF_DW, BPF_REG_10, -8, 0), 10 BPF_LDX_MEM(BPF_DW, BPF_REG_0, BPF_REG_0, 0), 25 BPF_ST_MEM(BPF_DW, BPF_REG_10, -8, 0), 33 BPF_LDX_MEM(BPF_DW, BPF_REG_0, BPF_REG_0, 0), 61 BPF_ST_MEM(BPF_DW, BPF_REG_10, -8, 0), 67 BPF_LDX_MEM(BPF_DW, BPF_REG_1, BPF_REG_0, 0), 74 BPF_ST_MEM(BPF_DW, BPF_REG_0, 0, offsetof(struct test_val, foo)), 89 BPF_ST_MEM(BPF_DW, BPF_REG_2, 0, 0), 93 BPF_LDX_MEM(BPF_DW, BPF_REG_3, BPF_REG_0, 0), 98 BPF_STX_MEM(BPF_DW, BPF_REG_10, BPF_REG_4, -16), [all …]
|
D | bounds_mix_sign_unsign.c | 5 BPF_STX_MEM(BPF_DW, BPF_REG_10, BPF_REG_0, -16), 6 BPF_ST_MEM(BPF_DW, BPF_REG_10, -8, 0), 12 BPF_LDX_MEM(BPF_DW, BPF_REG_1, BPF_REG_10, -16), 29 BPF_STX_MEM(BPF_DW, BPF_REG_10, BPF_REG_0, -16), 30 BPF_ST_MEM(BPF_DW, BPF_REG_10, -8, 0), 36 BPF_LDX_MEM(BPF_DW, BPF_REG_1, BPF_REG_10, -16), 53 BPF_STX_MEM(BPF_DW, BPF_REG_10, BPF_REG_0, -16), 54 BPF_ST_MEM(BPF_DW, BPF_REG_10, -8, 0), 60 BPF_LDX_MEM(BPF_DW, BPF_REG_1, BPF_REG_10, -16), 79 BPF_STX_MEM(BPF_DW, BPF_REG_10, BPF_REG_0, -16), [all …]
|
D | value_adj_spill.c | 6 BPF_ST_MEM(BPF_DW, BPF_REG_2, 0, 0), 10 BPF_ST_MEM(BPF_DW, BPF_REG_0, 0, 42), 13 BPF_STX_MEM(BPF_DW, BPF_REG_1, BPF_REG_0, 0), 14 BPF_LDX_MEM(BPF_DW, BPF_REG_3, BPF_REG_1, 0), 15 BPF_ST_MEM(BPF_DW, BPF_REG_3, 0, 42), 28 BPF_ST_MEM(BPF_DW, BPF_REG_2, 0, 0), 33 BPF_STX_MEM(BPF_DW, BPF_REG_1, BPF_REG_0, 0), 35 BPF_LDX_MEM(BPF_DW, BPF_REG_3, BPF_REG_1, 0), 36 BPF_ST_MEM(BPF_DW, BPF_REG_3, 0, 42),
|
D | raw_stack.c | 10 BPF_LDX_MEM(BPF_DW, BPF_REG_0, BPF_REG_6, 0), 26 BPF_LDX_MEM(BPF_DW, BPF_REG_0, BPF_REG_6, 0), 42 BPF_LDX_MEM(BPF_DW, BPF_REG_0, BPF_REG_6, 0), 58 BPF_LDX_MEM(BPF_DW, BPF_REG_0, BPF_REG_6, 0), 74 BPF_LDX_MEM(BPF_DW, BPF_REG_0, BPF_REG_6, 0), 86 BPF_ST_MEM(BPF_DW, BPF_REG_6, 0, 0xcafe), 90 BPF_LDX_MEM(BPF_DW, BPF_REG_0, BPF_REG_6, 0), 102 BPF_STX_MEM(BPF_DW, BPF_REG_6, BPF_REG_1, -8), 103 BPF_STX_MEM(BPF_DW, BPF_REG_6, BPF_REG_1, 8), 107 BPF_LDX_MEM(BPF_DW, BPF_REG_0, BPF_REG_6, -8), [all …]
|
D | unpriv.c | 67 BPF_ST_MEM(BPF_DW, BPF_REG_10, -8, 0), 84 BPF_ST_MEM(BPF_DW, BPF_REG_10, -8, 0), 102 BPF_STX_MEM(BPF_DW, BPF_REG_10, BPF_REG_10, -8), 118 BPF_STX_MEM(BPF_DW, BPF_REG_10, BPF_REG_10, -8), 130 BPF_STX_MEM(BPF_DW, BPF_REG_10, BPF_REG_10, -8), 142 BPF_STX_MEM(BPF_DW, BPF_REG_10, BPF_REG_10, -8), 153 BPF_STX_MEM(BPF_DW, BPF_REG_1, BPF_REG_1, 0), 167 BPF_STX_MEM(BPF_DW, BPF_REG_6, BPF_REG_1, 0), 168 BPF_LDX_MEM(BPF_DW, BPF_REG_1, BPF_REG_6, 0), 179 BPF_STX_MEM(BPF_DW, BPF_REG_6, BPF_REG_1, 0), [all …]
|
D | ld_imm64.c | 34 BPF_RAW_INSN(BPF_LD | BPF_IMM | BPF_DW, 0, 0, 0, 0), 47 BPF_RAW_INSN(BPF_LD | BPF_IMM | BPF_DW, 0, 0, 0, 0), 56 BPF_RAW_INSN(BPF_LD | BPF_IMM | BPF_DW, 0, 0, 0, 0), 65 BPF_RAW_INSN(BPF_LD | BPF_IMM | BPF_DW, 0, 0, 0, 1), 75 BPF_RAW_INSN(BPF_LD | BPF_IMM | BPF_DW, 0, 0, 1, 1), 85 BPF_RAW_INSN(BPF_LD | BPF_IMM | BPF_DW, 0, 0, 0, 1), 95 BPF_RAW_INSN(BPF_LD | BPF_IMM | BPF_DW, 0, 0, 0, 1), 105 BPF_RAW_INSN(BPF_LD | BPF_IMM | BPF_DW, 0, 0, 0, 1), 116 BPF_RAW_INSN(BPF_LD | BPF_IMM | BPF_DW, 0, BPF_REG_1, 0, 1), 127 BPF_RAW_INSN(BPF_LD | BPF_IMM | BPF_DW, 0, BPF_REG_1, 0, 1), [all …]
|
D | regalloc.c | 5 BPF_ST_MEM(BPF_DW, BPF_REG_10, -8, 0), 18 BPF_LDX_MEM(BPF_DW, BPF_REG_0, BPF_REG_7, 0), 29 BPF_ST_MEM(BPF_DW, BPF_REG_10, -8, 0), 54 BPF_ST_MEM(BPF_DW, BPF_REG_10, -8, 0), 68 BPF_LDX_MEM(BPF_DW, BPF_REG_0, BPF_REG_7, 0), 79 BPF_ST_MEM(BPF_DW, BPF_REG_10, -8, 0), 93 BPF_LDX_MEM(BPF_DW, BPF_REG_0, BPF_REG_7, 0), 105 BPF_ST_MEM(BPF_DW, BPF_REG_10, -8, 0), 116 BPF_STX_MEM(BPF_DW, BPF_REG_10, BPF_REG_2, -8), /* spill r2 */ 119 BPF_LDX_MEM(BPF_DW, BPF_REG_3, BPF_REG_10, -8), /* fill r3 */ [all …]
|
D | leak_ptr.c | 5 BPF_STX_MEM(BPF_DW, BPF_REG_1, BPF_REG_0, 8 BPF_STX_XADD(BPF_DW, BPF_REG_1, BPF_REG_2, 22 BPF_STX_MEM(BPF_DW, BPF_REG_1, BPF_REG_0, 24 BPF_STX_XADD(BPF_DW, BPF_REG_1, BPF_REG_10, 38 BPF_STX_MEM(BPF_DW, BPF_REG_1, BPF_REG_2, 51 BPF_ST_MEM(BPF_DW, BPF_REG_10, -8, 0), 58 BPF_STX_MEM(BPF_DW, BPF_REG_0, BPF_REG_3, 0), 59 BPF_STX_XADD(BPF_DW, BPF_REG_0, BPF_REG_6, 0),
|
D | map_ret_val.c | 4 BPF_ST_MEM(BPF_DW, BPF_REG_10, -8, 0), 17 BPF_ST_MEM(BPF_DW, BPF_REG_10, -8, 0), 22 BPF_ST_MEM(BPF_DW, BPF_REG_0, 0, 0), 32 BPF_ST_MEM(BPF_DW, BPF_REG_10, -8, 0), 38 BPF_ST_MEM(BPF_DW, BPF_REG_0, 4, 0), 49 BPF_ST_MEM(BPF_DW, BPF_REG_10, -8, 0), 55 BPF_ST_MEM(BPF_DW, BPF_REG_0, 0, 0), 57 BPF_ST_MEM(BPF_DW, BPF_REG_0, 0, 1),
|
D | array_access.c | 4 BPF_ST_MEM(BPF_DW, BPF_REG_10, -8, 0), 10 BPF_ST_MEM(BPF_DW, BPF_REG_0, 0, offsetof(struct test_val, foo)), 21 BPF_ST_MEM(BPF_DW, BPF_REG_10, -8, 0), 30 BPF_ST_MEM(BPF_DW, BPF_REG_0, 0, offsetof(struct test_val, foo)), 42 BPF_ST_MEM(BPF_DW, BPF_REG_10, -8, 0), 52 BPF_ST_MEM(BPF_DW, BPF_REG_0, 0, offsetof(struct test_val, foo)), 64 BPF_ST_MEM(BPF_DW, BPF_REG_10, -8, 0), 78 BPF_ST_MEM(BPF_DW, BPF_REG_0, 0, offsetof(struct test_val, foo)), 90 BPF_ST_MEM(BPF_DW, BPF_REG_10, -8, 0), 96 BPF_ST_MEM(BPF_DW, BPF_REG_0, (MAX_ENTRIES + 1) << 2, [all …]
|
D | var_off.c | 24 BPF_ST_MEM(BPF_DW, BPF_REG_10, -8, 0), 78 BPF_ST_MEM(BPF_DW, BPF_REG_2, 0, 0), 85 BPF_LDX_MEM(BPF_DW, BPF_REG_3, BPF_REG_2, 0), 114 BPF_STX_MEM(BPF_DW, BPF_REG_10, BPF_REG_0, -8), 116 BPF_ST_MEM(BPF_DW, BPF_REG_2, 0, 0), 118 BPF_LDX_MEM(BPF_DW, BPF_REG_2, BPF_REG_10, -8), 120 BPF_LDX_MEM(BPF_DW, BPF_REG_0, BPF_REG_2, 8), 143 BPF_ST_MEM(BPF_DW, BPF_REG_10, -16, 0), 144 BPF_ST_MEM(BPF_DW, BPF_REG_10, -8, 0), 146 BPF_LDX_MEM(BPF_DW, BPF_REG_4, BPF_REG_1, offsetof(struct bpf_sock_ops, [all …]
|
D | value_or_null.c | 5 BPF_STX_MEM(BPF_DW, BPF_REG_10, BPF_REG_1, -8), 12 BPF_ST_MEM(BPF_DW, BPF_REG_4, 0, 0), 23 BPF_STX_MEM(BPF_DW, BPF_REG_10, BPF_REG_1, -8), 32 BPF_ST_MEM(BPF_DW, BPF_REG_4, 0, 0), 44 BPF_STX_MEM(BPF_DW, BPF_REG_10, BPF_REG_1, -8), 52 BPF_ST_MEM(BPF_DW, BPF_REG_4, 0, 0), 64 BPF_STX_MEM(BPF_DW, BPF_REG_10, BPF_REG_1, -8), 72 BPF_ST_MEM(BPF_DW, BPF_REG_4, 0, 0), 84 BPF_STX_MEM(BPF_DW, BPF_REG_10, BPF_REG_1, -8), 96 BPF_ST_MEM(BPF_DW, BPF_REG_4, 0, 0), [all …]
|
D | bounds.c | 4 BPF_ST_MEM(BPF_DW, BPF_REG_10, -8, 0), 29 BPF_ST_MEM(BPF_DW, BPF_REG_10, -8, 0), 58 BPF_ST_MEM(BPF_DW, BPF_REG_ARG2, 0, 9), 65 BPF_ST_MEM(BPF_DW, BPF_REG_ARG2, 0, 0), 69 BPF_STX_MEM(BPF_DW, BPF_REG_0, BPF_REG_9, 0), 81 BPF_ST_MEM(BPF_DW, BPF_REG_10, -8, 0), 105 BPF_ST_MEM(BPF_DW, BPF_REG_10, -8, 0), 130 BPF_ST_MEM(BPF_DW, BPF_REG_10, -8, 0), 157 BPF_ST_MEM(BPF_DW, BPF_REG_10, -8, 0), 181 BPF_ST_MEM(BPF_DW, BPF_REG_10, -8, 0), [all …]
|
D | jump.c | 5 BPF_STX_MEM(BPF_DW, BPF_REG_2, BPF_REG_1, -8), 7 BPF_ST_MEM(BPF_DW, BPF_REG_2, -8, 0), 9 BPF_ST_MEM(BPF_DW, BPF_REG_2, -16, 1), 11 BPF_ST_MEM(BPF_DW, BPF_REG_2, -8, 2), 13 BPF_ST_MEM(BPF_DW, BPF_REG_2, -16, 3), 15 BPF_ST_MEM(BPF_DW, BPF_REG_2, -8, 4), 17 BPF_ST_MEM(BPF_DW, BPF_REG_2, -32, 5), 30 BPF_ST_MEM(BPF_DW, BPF_REG_2, -8, 0), 33 BPF_ST_MEM(BPF_DW, BPF_REG_2, -16, 0), 36 BPF_ST_MEM(BPF_DW, BPF_REG_2, -32, 0), [all …]
|
D | calls.c | 94 BPF_ST_MEM(BPF_DW, BPF_REG_10, -8, 0), 369 BPF_LDX_MEM(BPF_DW, BPF_REG_0, BPF_REG_6, 0), 384 BPF_ST_MEM(BPF_DW, BPF_REG_10, -8, 0), 439 BPF_STX_MEM(BPF_DW, BPF_REG_2, BPF_REG_0, 0), 458 BPF_STX_MEM(BPF_DW, BPF_REG_2, BPF_REG_0, 0), 696 BPF_ST_MEM(BPF_DW, BPF_REG_10, -8, 0), 719 BPF_ST_MEM(BPF_DW, BPF_REG_10, -8, 0), 725 BPF_LDX_MEM(BPF_DW, BPF_REG_0, BPF_REG_10, -16), 738 BPF_STX_MEM(BPF_DW, BPF_REG_7, BPF_REG_0, 0), 980 BPF_ST_MEM(BPF_DW, BPF_REG_10, -8, 0), [all …]
|
D | jmp32.c | 5 BPF_LDX_MEM(BPF_DW, BPF_REG_7, BPF_REG_2, 0), 36 BPF_LDX_MEM(BPF_DW, BPF_REG_7, BPF_REG_2, 0), 98 BPF_LDX_MEM(BPF_DW, BPF_REG_7, BPF_REG_2, 0), 121 BPF_LDX_MEM(BPF_DW, BPF_REG_7, BPF_REG_2, 0), 163 BPF_LDX_MEM(BPF_DW, BPF_REG_7, BPF_REG_2, 0), 186 BPF_LDX_MEM(BPF_DW, BPF_REG_7, BPF_REG_2, 0), 228 BPF_LDX_MEM(BPF_DW, BPF_REG_7, BPF_REG_2, 0), 255 BPF_LDX_MEM(BPF_DW, BPF_REG_7, BPF_REG_2, 0), 286 BPF_LDX_MEM(BPF_DW, BPF_REG_0, BPF_REG_0, 0), 298 BPF_LDX_MEM(BPF_DW, BPF_REG_7, BPF_REG_2, 0), [all …]
|
D | basic_stack.c | 4 BPF_ST_MEM(BPF_DW, BPF_REG_10, 8, 0), 27 BPF_LDX_MEM(BPF_DW, BPF_REG_0, BPF_REG_2, -8), 40 BPF_STX_MEM(BPF_DW, BPF_REG_1, BPF_REG_0, 0), 50 BPF_STX_MEM(BPF_DW, BPF_REG_10, BPF_REG_0, -8), 59 BPF_LDX_MEM(BPF_DW, BPF_REG_0, BPF_REG_2, -4),
|
D | helper_value_access.c | 6 BPF_ST_MEM(BPF_DW, BPF_REG_2, 0, 0), 25 BPF_ST_MEM(BPF_DW, BPF_REG_2, 0, 0), 44 BPF_ST_MEM(BPF_DW, BPF_REG_2, 0, 0), 63 BPF_ST_MEM(BPF_DW, BPF_REG_2, 0, 0), 83 BPF_ST_MEM(BPF_DW, BPF_REG_2, 0, 0), 103 BPF_ST_MEM(BPF_DW, BPF_REG_2, 0, 0), 124 BPF_ST_MEM(BPF_DW, BPF_REG_2, 0, 0), 144 BPF_ST_MEM(BPF_DW, BPF_REG_2, 0, 0), 164 BPF_ST_MEM(BPF_DW, BPF_REG_2, 0, 0), 186 BPF_ST_MEM(BPF_DW, BPF_REG_2, 0, 0), [all …]
|
D | sock.c | 4 BPF_LDX_MEM(BPF_DW, BPF_REG_1, BPF_REG_1, offsetof(struct __sk_buff, sk)), 16 BPF_LDX_MEM(BPF_DW, BPF_REG_1, BPF_REG_1, offsetof(struct __sk_buff, sk)), 30 BPF_LDX_MEM(BPF_DW, BPF_REG_1, BPF_REG_1, offsetof(struct __sk_buff, sk)), 45 BPF_LDX_MEM(BPF_DW, BPF_REG_1, BPF_REG_1, offsetof(struct __sk_buff, sk)), 57 BPF_LDX_MEM(BPF_DW, BPF_REG_1, BPF_REG_1, offsetof(struct __sk_buff, sk)), 73 BPF_LDX_MEM(BPF_DW, BPF_REG_1, BPF_REG_1, offsetof(struct __sk_buff, sk)), 91 BPF_LDX_MEM(BPF_DW, BPF_REG_1, BPF_REG_1, offsetof(struct __sk_buff, sk)), 108 BPF_LDX_MEM(BPF_DW, BPF_REG_1, BPF_REG_1, offsetof(struct __sk_buff, sk)), 126 BPF_LDX_MEM(BPF_DW, BPF_REG_1, BPF_REG_1, offsetof(struct __sk_buff, sk)), 144 BPF_LDX_MEM(BPF_DW, BPF_REG_1, BPF_REG_1, offsetof(struct __sk_buff, sk)), [all …]
|
D | xadd.c | 5 BPF_STX_MEM(BPF_DW, BPF_REG_10, BPF_REG_0, -8), 7 BPF_LDX_MEM(BPF_DW, BPF_REG_0, BPF_REG_10, -8), 17 BPF_ST_MEM(BPF_DW, BPF_REG_10, -8, 0), 64 BPF_STX_MEM(BPF_DW, BPF_REG_10, BPF_REG_0, -8), 65 BPF_STX_XADD(BPF_DW, BPF_REG_10, BPF_REG_0, -8), 66 BPF_STX_XADD(BPF_DW, BPF_REG_10, BPF_REG_0, -8), 69 BPF_LDX_MEM(BPF_DW, BPF_REG_0, BPF_REG_10, -8),
|
/tools/testing/selftests/bpf/ |
D | test_sysctl.c | 233 BPF_STX_MEM(BPF_DW, BPF_REG_7, BPF_REG_0, 0), 251 BPF_LDX_MEM(BPF_DW, BPF_REG_9, BPF_REG_7, 0), 274 BPF_STX_MEM(BPF_DW, BPF_REG_7, BPF_REG_0, 0), 293 BPF_LDX_MEM(BPF_DW, BPF_REG_9, BPF_REG_7, 0), 316 BPF_STX_MEM(BPF_DW, BPF_REG_7, BPF_REG_0, 0), 317 BPF_STX_MEM(BPF_DW, BPF_REG_7, BPF_REG_0, 8), 318 BPF_STX_MEM(BPF_DW, BPF_REG_7, BPF_REG_0, 16), 337 BPF_LDX_MEM(BPF_DW, BPF_REG_9, BPF_REG_7, 0), 343 BPF_LDX_MEM(BPF_DW, BPF_REG_9, BPF_REG_7, 8), 348 BPF_LDX_MEM(BPF_DW, BPF_REG_9, BPF_REG_7, 16), [all …]
|