netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH bpf-next 0/6] Add ASAN to selftest and fix found problems
@ 2020-04-28  4:46 Andrii Nakryiko
  2020-04-28  4:46 ` [PATCH bpf-next 1/6] selftests/bpf: ensure test flavors use correct skeletons Andrii Nakryiko
                   ` (5 more replies)
  0 siblings, 6 replies; 11+ messages in thread
From: Andrii Nakryiko @ 2020-04-28  4:46 UTC (permalink / raw)
  To: bpf, netdev, ast, daniel; +Cc: andrii.nakryiko, kernel-team, Andrii Nakryiko

Add ASAN flavor for test_progs and fix all found memory leaks and other memory
use problems.

Andrii Nakryiko (6):
  selftests/bpf: ensure test flavors use correct skeletons
  selftests/bpf: add test_progs-asan flavor with AddressSantizer
  selftests/bpf: convert test_hashmap into test_progs test
  libbpf: fix memory leak and possible double-free in hashmap__clear
  selftests/bpf: fix memory leak in test selector
  selftests/bpf: fix memory leak in extract_build_id()

 tools/lib/bpf/hashmap.c                       |   7 +
 tools/testing/selftests/bpf/.gitignore        |   3 +-
 tools/testing/selftests/bpf/Makefile          |  20 +-
 .../{test_hashmap.c => prog_tests/hashmap.c}  | 280 +++++++++---------
 tools/testing/selftests/bpf/test_progs.c      |  21 +-
 5 files changed, 179 insertions(+), 152 deletions(-)
 rename tools/testing/selftests/bpf/{test_hashmap.c => prog_tests/hashmap.c} (53%)

-- 
2.24.1


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2020-04-28 22:13 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-28  4:46 [PATCH bpf-next 0/6] Add ASAN to selftest and fix found problems Andrii Nakryiko
2020-04-28  4:46 ` [PATCH bpf-next 1/6] selftests/bpf: ensure test flavors use correct skeletons Andrii Nakryiko
2020-04-28  4:46 ` [PATCH bpf-next 2/6] selftests/bpf: add test_progs-asan flavor with AddressSantizer Andrii Nakryiko
2020-04-28 16:44   ` Alexei Starovoitov
2020-04-28 18:35     ` Andrii Nakryiko
2020-04-28 20:41       ` Alexei Starovoitov
2020-04-28 22:13         ` Andrii Nakryiko
2020-04-28  4:46 ` [PATCH bpf-next 3/6] selftests/bpf: convert test_hashmap into test_progs test Andrii Nakryiko
2020-04-28  4:46 ` [PATCH bpf-next 4/6] libbpf: fix memory leak and possible double-free in hashmap__clear Andrii Nakryiko
2020-04-28  4:46 ` [PATCH bpf-next 5/6] selftests/bpf: fix memory leak in test selector Andrii Nakryiko
2020-04-28  4:46 ` [PATCH bpf-next 6/6] selftests/bpf: fix memory leak in extract_build_id() Andrii Nakryiko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).