diff options
author | 2023-06-07 15:39:51 +0300 | |
---|---|---|
committer | 2023-06-08 10:28:30 +0200 | |
commit | f57ade27fc3eae16eab0f1edba1248ced429b2f0 (patch) | |
tree | 94de84ebbf8da269be11202588c216351e9db45c /tools/perf/scripts/python | |
parent | bpf: Fix verifier id tracking of scalars on spill (diff) | |
download | wireguard-linux-f57ade27fc3eae16eab0f1edba1248ced429b2f0.tar.xz wireguard-linux-f57ade27fc3eae16eab0f1edba1248ced429b2f0.zip |
selftests/bpf: Add test cases to assert proper ID tracking on spill
The previous commit fixed a verifier bypass by ensuring that ID is not
preserved on narrowing spills. Add the test cases to check the
problematic patterns.
Signed-off-by: Maxim Mikityanskiy <maxim@isovalent.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Yonghong Song <yhs@fb.com>
Link: https://lore.kernel.org/bpf/20230607123951.558971-3-maxtram95@gmail.com
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions