linux/tools/testing/selftests/bpf/map_tests
Byeonguk Jeong d7f214aeac selftests/bpf: Add test for trie_get_next_key()
Add a test for out-of-bounds write in trie_get_next_key() when a full
path from root to leaf exists and bpf_map_get_next_key() is called
with the leaf node. It may crashes the kernel on failure, so please
run in a VM.

Signed-off-by: Byeonguk Jeong <jungbu2855@gmail.com>
Acked-by: Hou Tao <houtao1@huawei.com>
Link: https://lore.kernel.org/r/Zxx4ep78tsbeWPVM@localhost.localdomain
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
2024-10-29 13:41:41 -07:00
..
.gitignore
array_map_batch_ops.c
htab_map_batch_ops.c
lpm_trie_map_batch_ops.c
lpm_trie_map_get_next_key.c selftests/bpf: Add test for trie_get_next_key() 2024-10-29 13:41:41 -07:00
map_in_map_batch_ops.c
map_percpu_stats.c bpf/selftests: Check errno when percpu map value size exceeds 2024-09-11 13:22:45 -07:00
sk_storage_map.c
task_storage_map.c