/tools/testing/selftests/bpf/verifier/ |
D | jump.c | 6 BPF_JMP_IMM(BPF_JEQ, BPF_REG_1, 0, 1), 8 BPF_JMP_IMM(BPF_JEQ, BPF_REG_1, 1, 1), 10 BPF_JMP_IMM(BPF_JEQ, BPF_REG_1, 2, 1), 12 BPF_JMP_IMM(BPF_JEQ, BPF_REG_1, 3, 1), 14 BPF_JMP_IMM(BPF_JEQ, BPF_REG_1, 4, 1), 16 BPF_JMP_IMM(BPF_JEQ, BPF_REG_1, 5, 1), 29 BPF_JMP_IMM(BPF_JEQ, BPF_REG_1, 0, 2), 32 BPF_JMP_IMM(BPF_JEQ, BPF_REG_1, 1, 2), 35 BPF_JMP_IMM(BPF_JEQ, BPF_REG_1, 2, 2), 38 BPF_JMP_IMM(BPF_JEQ, BPF_REG_1, 3, 2), [all …]
|
D | jit.c | 8 BPF_JMP_IMM(BPF_JEQ, BPF_REG_1, 0x3fc, 1), 12 BPF_JMP_IMM(BPF_JEQ, BPF_REG_1, 0xff, 1), 15 BPF_JMP_IMM(BPF_JEQ, BPF_REG_1, 0x7f, 1), 30 BPF_JMP_REG(BPF_JEQ, BPF_REG_1, BPF_REG_2, 1), 43 BPF_JMP_REG(BPF_JEQ, BPF_REG_1, BPF_REG_2, 1), 57 BPF_JMP_REG(BPF_JEQ, BPF_REG_0, BPF_REG_2, 2), 62 BPF_JMP_REG(BPF_JEQ, BPF_REG_3, BPF_REG_2, 2), 68 BPF_JMP_REG(BPF_JEQ, BPF_REG_0, BPF_REG_2, 2), 73 BPF_JMP_REG(BPF_JEQ, BPF_REG_3, BPF_REG_2, 2), 80 BPF_JMP_REG(BPF_JEQ, BPF_REG_2, BPF_REG_0, 2),
|
D | helper_value_access.c | 9 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 4), 28 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 4), 47 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 3), 66 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 4), 86 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 4), 106 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 5), 127 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 5), 147 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 4), 167 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 5), 189 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 5), [all …]
|
D | array_access.c | 9 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 1), 26 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 4), 47 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 5), 69 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 9), 95 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 1), 112 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 4), 132 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 4), 152 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 7), 177 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 7), 202 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 10), [all …]
|
D | value_ptr_arith.c | 9 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 1, 3), 14 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 3), 34 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 1, 3), 39 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 4), 62 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 1, 3), 67 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 3), 141 BPF_JMP_IMM(BPF_JEQ, BPF_REG_1, 0, 3), 186 BPF_JMP_IMM(BPF_JEQ, BPF_REG_1, 0, 3), 250 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 4), 272 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 4), [all …]
|
D | value_illegal_alu.c | 9 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 2), 26 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 2), 43 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 2), 60 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 2), 80 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 7),
|
D | ref_tracking.c | 120 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 1), 132 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 1), 158 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 1), 174 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 3), /* goto end */ 199 BPF_JMP_IMM(BPF_JEQ, BPF_REG_6, 0, 1), /* mark == 0? */ 202 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 2), /* sk NULL? */ 227 BPF_JMP_IMM(BPF_JEQ, BPF_REG_6, 0, 4), /* mark == 0? */ 228 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 2), /* sk NULL? */ 232 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 2), /* sk NULL? */ 252 BPF_JMP_IMM(BPF_JEQ, BPF_REG_2, 0, 1), [all …]
|
D | search_pruning.c | 9 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 2), 66 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 8), 92 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 11), 94 BPF_JMP_IMM(BPF_JEQ, BPF_REG_3, 0xbeef, 2), 101 BPF_JMP_IMM(BPF_JEQ, BPF_REG_5, 0, 2), 119 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 8), 122 BPF_JMP_IMM(BPF_JEQ, BPF_REG_3, 0xbeef, 2), 141 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 5),
|
D | regalloc.c | 10 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 8), 34 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 8), 59 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 9), 84 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 9), 110 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 11), 139 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 11), 169 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 10), 195 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 10), 223 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 6), 254 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 0), [all …]
|
D | value_or_null.c | 11 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 1), 31 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 1), 51 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 1), 71 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 1), 95 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 1), 121 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 1), 137 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 6), 163 BPF_JMP_IMM(BPF_JEQ, BPF_REG_6, 0, 2),
|
D | bounds_mix_sign_unsign.c | 11 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 6), 35 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 6), 59 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 8), 85 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 7), 110 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 6), 133 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 8), 182 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 6), 205 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 8), 231 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 9), 256 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 8), [all …]
|
D | unpriv.c | 45 BPF_JMP_IMM(BPF_JEQ, BPF_REG_1, 0, 0), 56 BPF_JMP_REG(BPF_JEQ, BPF_REG_1, BPF_REG_10, 0), 225 BPF_JMP_IMM(BPF_JEQ, BPF_REG_1, 0, 3), 254 BPF_JMP_IMM(BPF_JEQ, BPF_REG_1, 0, 1), 266 BPF_JMP_IMM(BPF_JEQ, BPF_REG_1, 0, 1), 288 BPF_JMP_IMM(BPF_JEQ, BPF_REG_1, 0, 1), 319 BPF_JMP_IMM(BPF_JEQ, BPF_REG_1, 0, 1), 327 BPF_JMP_IMM(BPF_JEQ, BPF_REG_1, 0, 2), 351 BPF_JMP_IMM(BPF_JEQ, BPF_REG_1, 0, 1), 359 BPF_JMP_IMM(BPF_JEQ, BPF_REG_1, 0, 3), [all …]
|
D | basic_instr.c | 99 BPF_JMP_IMM(BPF_JEQ, BPF_REG_1, 1, 1), 113 BPF_JMP_REG(BPF_JEQ, BPF_REG_1, BPF_REG_2, 1), 127 BPF_JMP_REG(BPF_JEQ, BPF_REG_1, BPF_REG_2, 1), 141 BPF_JMP_IMM(BPF_JEQ, BPF_REG_1, 1, 1), 156 BPF_JMP_REG(BPF_JEQ, BPF_REG_1, BPF_REG_2, 1), 171 BPF_JMP_REG(BPF_JEQ, BPF_REG_1, BPF_REG_2, 1),
|
D | runtime_jit.c | 61 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 13, 4), 83 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 13, 4), 105 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 13, 4), 127 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 13, 4), 149 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 13, 4), 174 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 13, 4),
|
D | value.c | 9 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 1), 27 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 17), 61 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 11), 89 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 7),
|
D | bounds.c | 9 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 9), 34 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 8), 86 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 4), 110 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 4), 135 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 4), 162 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 4), 186 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 4), 208 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 9), 241 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 8), 275 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 8), [all …]
|
D | map_ptr_mixing.c | 14 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 2), 44 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 2), 87 BPF_JMP_IMM(BPF_JEQ, BPF_REG_6, 0, 3),
|
D | ld_imm64.c | 4 BPF_JMP_IMM(BPF_JEQ, BPF_REG_1, 0, 1), 19 BPF_JMP_IMM(BPF_JEQ, BPF_REG_1, 0, 1), 33 BPF_JMP_IMM(BPF_JEQ, BPF_REG_1, 0, 1),
|
D | value_adj_spill.c | 9 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 6), 34 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 2),
|
D | map_ret_val.c | 37 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 1), 54 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 2),
|
D | map_in_map.c | 9 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 5), 29 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 6),
|
D | and.c | 9 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 4), 30 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 12),
|
D | div_overflow.c | 35 BPF_JMP_REG(BPF_JEQ, BPF_REG_0, BPF_REG_2, 1), 49 BPF_JMP_REG(BPF_JEQ, BPF_REG_0, BPF_REG_1, 1),
|
D | helper_access_var_len.c | 227 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 10), 253 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 10), 279 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 11), 306 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 11), 382 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 6), 403 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 9), 427 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 7), 512 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 4), 531 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 6), 552 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 5),
|
/tools/bpf/ |
D | bpf_exp.y | 219 bpf_set_curr_instr(BPF_JMP | BPF_JEQ | BPF_K, 0, 0, $3); } 223 bpf_set_curr_instr(BPF_JMP | BPF_JEQ | BPF_X, 0, 0, 0); } 227 bpf_set_curr_instr(BPF_JMP | BPF_JEQ | BPF_X, 0, 0, 0); } 230 bpf_set_curr_instr(BPF_JMP | BPF_JEQ | BPF_K, 0, 0, $3); } 233 bpf_set_curr_instr(BPF_JMP | BPF_JEQ | BPF_X, 0, 0, 0); } 236 bpf_set_curr_instr(BPF_JMP | BPF_JEQ | BPF_X, 0, 0, 0); } 242 bpf_set_curr_instr(BPF_JMP | BPF_JEQ | BPF_K, 0, 0, $3); } 245 bpf_set_curr_instr(BPF_JMP | BPF_JEQ | BPF_X, 0, 0, 0); } 248 bpf_set_curr_instr(BPF_JMP | BPF_JEQ | BPF_X, 0, 0, 0); }
|