diff options
| author | Yonghong Song <[email protected]> | 2023-04-06 16:45:10 +0000 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2023-04-06 22:26:08 +0000 |
| commit | 23a88fae9f20d47bb3aed99b1e08d0d6cf65cf0c (patch) | |
| tree | 048adeb70d56194baed0acf38432ee29ae2747d6 /tools/bpf/bpftool/prog.c | |
| parent | bpf: Improve handling of pattern '<const> <cond_op> <non_const>' in verifier (diff) | |
| download | kernel-23a88fae9f20d47bb3aed99b1e08d0d6cf65cf0c.tar.gz kernel-23a88fae9f20d47bb3aed99b1e08d0d6cf65cf0c.zip | |
selftests/bpf: Add verifier tests for code pattern '<const> <cond_op> <non_const>'
Add various tests for code pattern '<const> <cond_op> <non_const>' to
exercise the previous verifier patch.
The following are veristat changed number of processed insns stat
comparing the previous patch vs. this patch:
File Program Insns (A) Insns (B) Insns (DIFF)
----------------------------------------------------- ---------------------------------------------------- --------- --------- -------------
test_seg6_loop.bpf.linked3.o __add_egr_x 12423 12314 -109 (-0.88%)
Only one program is affected with minor change.
Signed-off-by: Yonghong Song <[email protected]>
Acked-by: Andrii Nakryiko <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/bpf/bpftool/prog.c')
0 files changed, 0 insertions, 0 deletions
