summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/verifier/var_off.c
diff options
context:
space:
mode:
authorMykola Lysenko <mykolal@fb.com>2022-03-02 01:27:45 +0300
committerDaniel Borkmann <daniel@iogearbox.net>2022-03-03 18:54:10 +0300
commit7df5072cc05fd1aab5823bbc465d033cd292fca8 (patch)
tree96a84bb9fd2aa5849f1721816118bc89e2220cb4 /tools/testing/selftests/bpf/verifier/var_off.c
parent41332d6e3a430adc91e0af115b4261b0d2f116ec (diff)
downloadlinux-7df5072cc05fd1aab5823bbc465d033cd292fca8.tar.xz
bpf: Small BPF verifier log improvements
In particular these include: 1) Remove output of inv for scalars in print_verifier_state 2) Replace inv with scalar in verifier error messages 3) Remove _value suffixes for umin/umax/s32_min/etc (except map_value) 4) Remove output of id=0 5) Remove output of ref_obj_id=0 Signed-off-by: Mykola Lysenko <mykolal@fb.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Acked-by: Andrii Nakryiko <andrii@kernel.org> Link: https://lore.kernel.org/bpf/20220301222745.1667206-1-mykolal@fb.com
Diffstat (limited to 'tools/testing/selftests/bpf/verifier/var_off.c')
-rw-r--r--tools/testing/selftests/bpf/verifier/var_off.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/bpf/verifier/var_off.c b/tools/testing/selftests/bpf/verifier/var_off.c
index eab1f7f56e2f..187c6f6e32bc 100644
--- a/tools/testing/selftests/bpf/verifier/var_off.c
+++ b/tools/testing/selftests/bpf/verifier/var_off.c
@@ -131,7 +131,7 @@
* write might have overwritten the spilled pointer (i.e. we lose track
* of the spilled register when we analyze the write).
*/
- .errstr = "R2 invalid mem access 'inv'",
+ .errstr = "R2 invalid mem access 'scalar'",
.result = REJECT,
},
{