/linux-6.1.9/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), 67 BPF_JMP_REG(BPF_JEQ, BPF_REG_3, BPF_REG_2, 2), 73 BPF_JMP_REG(BPF_JEQ, BPF_REG_0, BPF_REG_2, 2), 78 BPF_JMP_REG(BPF_JEQ, BPF_REG_3, BPF_REG_2, 2), [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, 9), 16 BPF_JMP_IMM(BPF_JEQ, BPF_REG_4, 1, 4), 42 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 1, 3), 47 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 9), 49 BPF_JMP_IMM(BPF_JEQ, BPF_REG_4, 1, 2), 75 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 1, 3), 80 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 7), 82 BPF_JMP_IMM(BPF_JEQ, BPF_REG_4, 1, 2), 106 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 1, 3), [all …]
|
D | atomic_and.c | 11 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0x010, 2), 16 BPF_JMP_IMM(BPF_JEQ, BPF_REG_1, 0x011, 1), 32 BPF_JMP_IMM(BPF_JEQ, BPF_REG_1, 0x110, 2), 37 BPF_JMP_IMM(BPF_JEQ, BPF_REG_1, 0x010, 2), 41 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 123, 2), 62 BPF_JMP32_IMM(BPF_JEQ, BPF_REG_1, 0x110, 2), 67 BPF_JMP32_IMM(BPF_JEQ, BPF_REG_1, 0x010, 2), 87 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0x110, 2), 92 BPF_JMP_IMM(BPF_JEQ, BPF_REG_1, 0x010, 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 | atomic_or.c | 11 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0x111, 2), 16 BPF_JMP_IMM(BPF_JEQ, BPF_REG_1, 0x011, 1), 32 BPF_JMP_IMM(BPF_JEQ, BPF_REG_1, 0x110, 2), 37 BPF_JMP_IMM(BPF_JEQ, BPF_REG_1, 0x111, 2), 41 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 123, 2), 62 BPF_JMP32_IMM(BPF_JEQ, BPF_REG_1, 0x110, 2), 67 BPF_JMP32_IMM(BPF_JEQ, BPF_REG_1, 0x111, 2), 94 BPF_JMP_REG(BPF_JEQ, BPF_REG_2, BPF_REG_1, 2),
|
D | atomic_xor.c | 11 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0x101, 2), 16 BPF_JMP_IMM(BPF_JEQ, BPF_REG_1, 0x011, 1), 32 BPF_JMP_IMM(BPF_JEQ, BPF_REG_1, 0x110, 2), 37 BPF_JMP_IMM(BPF_JEQ, BPF_REG_1, 0x101, 2), 41 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 123, 2), 62 BPF_JMP32_IMM(BPF_JEQ, BPF_REG_1, 0x110, 2), 67 BPF_JMP32_IMM(BPF_JEQ, BPF_REG_1, 0x101, 2),
|
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, 1), 147 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 1), 158 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 2), [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 | atomic_cmpxchg.c | 11 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 3, 2), 16 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 3, 2), 24 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 3, 2), 29 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 4, 2), 48 BPF_JMP32_IMM(BPF_JEQ, BPF_REG_0, 3, 2), 53 BPF_JMP32_IMM(BPF_JEQ, BPF_REG_0, 3, 2), 61 BPF_JMP32_IMM(BPF_JEQ, BPF_REG_0, 3, 2), 66 BPF_JMP32_IMM(BPF_JEQ, BPF_REG_0, 4, 2), 113 BPF_JMP_REG(BPF_JEQ, BPF_REG_0, BPF_REG_1, 2), 133 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 2),
|
D | ref_tracking.c | 93 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 2), 114 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 2), 259 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 1), 271 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 1), 297 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 1), 313 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 3), /* goto end */ 338 BPF_JMP_IMM(BPF_JEQ, BPF_REG_6, 0, 1), /* mark == 0? */ 341 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 2), /* sk NULL? */ 366 BPF_JMP_IMM(BPF_JEQ, BPF_REG_6, 0, 4), /* mark == 0? */ 367 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 2), /* sk NULL? */ [all …]
|
D | regalloc.c | 10 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 8), 35 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 8), 60 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 9), 86 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 9), 113 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 11), 143 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 11), 174 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 10), 201 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 10), 230 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 6), 262 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 0), [all …]
|
D | bounds_mix_sign_unsign.c | 9 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 7), 32 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 7), 55 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 9), 80 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 8), 104 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 7), 126 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 9), 171 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 7), 193 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 9), 218 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 10), 242 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 9), [all …]
|
D | helper_restricted.c | 53 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 4), 73 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 4), 93 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 4), 113 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 4), 133 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 2), 151 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 2), 169 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 2), 187 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 2),
|
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), 226 BPF_JMP_IMM(BPF_JEQ, BPF_REG_1, 0, 3), 255 BPF_JMP_IMM(BPF_JEQ, BPF_REG_1, 0, 1), 267 BPF_JMP_IMM(BPF_JEQ, BPF_REG_1, 0, 1), 289 BPF_JMP_IMM(BPF_JEQ, BPF_REG_1, 0, 1), 320 BPF_JMP_IMM(BPF_JEQ, BPF_REG_1, 0, 1), 328 BPF_JMP_IMM(BPF_JEQ, BPF_REG_1, 0, 2), 352 BPF_JMP_IMM(BPF_JEQ, BPF_REG_1, 0, 1), 360 BPF_JMP_IMM(BPF_JEQ, BPF_REG_1, 0, 3), [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 | atomic_xchg.c | 10 BPF_JMP_IMM(BPF_JEQ, BPF_REG_1, 3, 2), 15 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 4, 2), 33 BPF_JMP32_IMM(BPF_JEQ, BPF_REG_1, 3, 2), 38 BPF_JMP32_IMM(BPF_JEQ, BPF_REG_0, 4, 2),
|
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 | 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 | atomic_fetch_add.c | 11 BPF_JMP_IMM(BPF_JEQ, BPF_REG_1, 3, 2), 17 BPF_JMP_IMM(BPF_JEQ, BPF_REG_1, 4, 1), 33 BPF_JMP_IMM(BPF_JEQ, BPF_REG_1, 3, 2), 39 BPF_JMP_IMM(BPF_JEQ, BPF_REG_1, 4, 1),
|
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 | 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 | atomic_fetch.c | 15 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 1), 39 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 1), 63 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 1), 86 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 1), 107 BPF_JMP_IMM(BPF_JEQ, src_reg, operand1, 2), \ 112 BPF_JMP_IMM(BPF_JEQ, BPF_REG_1, expect, 2), \
|
/linux-6.1.9/samples/seccomp/ ! |
D | bpf-direct.c | 117 BPF_JUMP(BPF_JMP+BPF_JEQ+BPF_K, __NR_rt_sigreturn, 0, 1), in install_filter() 120 BPF_JUMP(BPF_JMP+BPF_JEQ+BPF_K, __NR_sigreturn, 0, 1), in install_filter() 123 BPF_JUMP(BPF_JMP+BPF_JEQ+BPF_K, __NR_exit_group, 0, 1), in install_filter() 125 BPF_JUMP(BPF_JMP+BPF_JEQ+BPF_K, __NR_exit, 0, 1), in install_filter() 127 BPF_JUMP(BPF_JMP+BPF_JEQ+BPF_K, __NR_read, 1, 0), in install_filter() 128 BPF_JUMP(BPF_JMP+BPF_JEQ+BPF_K, __NR_write, 3, 2), in install_filter() 132 BPF_JUMP(BPF_JMP+BPF_JEQ+BPF_K, STDIN_FILENO, 4, 0), in install_filter() 137 BPF_JUMP(BPF_JMP+BPF_JEQ+BPF_K, STDOUT_FILENO, 1, 0), in install_filter() 139 BPF_JUMP(BPF_JMP+BPF_JEQ+BPF_K, STDERR_FILENO, 1, 2), in install_filter()
|
D | bpf-helper.h | 56 BPF_JUMP(BPF_JMP+BPF_JEQ+BPF_K, (nr), 0, 1), \ 150 BPF_JUMP(BPF_JMP+BPF_JEQ+BPF_K, (value), 0, 1), \ 154 BPF_JUMP(BPF_JMP+BPF_JEQ+BPF_K, (value), 1, 0), \ 183 BPF_JUMP(BPF_JMP+BPF_JEQ+BPF_K, (hi), 0, 5), \ 186 BPF_JUMP(BPF_JMP+BPF_JEQ+BPF_K, (lo), 0, 2), \ 193 BPF_JUMP(BPF_JMP+BPF_JEQ+BPF_K, (hi), 0, 3), \ 196 BPF_JUMP(BPF_JMP+BPF_JEQ+BPF_K, (lo), 2, 0), \ 215 BPF_JUMP(BPF_JMP+BPF_JEQ+BPF_K, (hi), 0, 5), \ 227 BPF_JUMP(BPF_JMP+BPF_JEQ+BPF_K, (hi), 0, 5), \ 239 BPF_JUMP(BPF_JMP+BPF_JEQ+BPF_K, (hi), 0, 5), \ [all …]
|