Commit 90c9c386 authored by Sebastian Brzezinka's avatar Sebastian Brzezinka Committed by Tomasz Zawadzki
Browse files

app/fuzz: enable detect leaks in LLVM fuzzer runtime



Since ASan can now recognize memory allocated on hugepages, false
leaks should not be reported when reference is store on hugepage.

Signed-off-by: default avatarSebastian Brzezinka <sebastian.brzezinka@intel.com>
Change-Id: I56954ab770994f423765f17d70dd2b56672258af
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/20639


Reviewed-by: default avatarJim Harris <jim.harris@samsung.com>
Reviewed-by: default avatarTomasz Zawadzki <tomasz.zawadzki@intel.com>
Tested-by: default avatarSPDK CI Jenkins <sys_sgci@intel.com>
parent 2397c966
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -830,10 +830,7 @@ start_fuzzer(void *ctx)
	char *_argv[] = {
		"spdk",
		"-len_control=0",
		/* TODO: temporarily disable leak detection due to issues
		 * with ASAN and DPDK, see #2455 and #2992.
		 */
		"-detect_leaks=0",
		"-detect_leaks=1",
		NULL,
		NULL,
		NULL,
+1 −4
Original line number Diff line number Diff line
@@ -274,10 +274,7 @@ start_fuzzer(void *ctx)
	char *_argv[] = {
		"spdk",
		"-len_control=0",
		/* TODO: temporarily disable leak detection due to issues
		 * with ASAN and DPDK, see #2455 and #2992.
		 */
		"-detect_leaks=0",
		"-detect_leaks=1",
		NULL,
		NULL,
		NULL,