From 8f2b9b543b7e226c6ea06917a720452267012c22 Mon Sep 17 00:00:00 2001 From: Martin Nowack Date: Sat, 9 Jun 2018 19:36:01 +0100 Subject: Support sanitizer suppression files with lit-based testing --- utils/sanitizers/lsan.txt | 7 ++++--- utils/sanitizers/ubsan.txt | 3 +++ 2 files changed, 7 insertions(+), 3 deletions(-) create mode 100644 utils/sanitizers/ubsan.txt (limited to 'utils') diff --git a/utils/sanitizers/lsan.txt b/utils/sanitizers/lsan.txt index e88f078b..45e4c3fd 100644 --- a/utils/sanitizers/lsan.txt +++ b/utils/sanitizers/lsan.txt @@ -6,6 +6,7 @@ # The suppressions below are what's needed for ``make unittests`` and ``make check`` to not # fail due to leaks. -# Low priority -leak:tools/kleaver/main.cpp -leak:lib/Expr/Parser.cpp +# Ignore tcmalloc +leak:src/malloc_extension.cc +# Memory leak from klee_replay +leak:klee-replay.c diff --git a/utils/sanitizers/ubsan.txt b/utils/sanitizers/ubsan.txt new file mode 100644 index 00000000..97a66000 --- /dev/null +++ b/utils/sanitizers/ubsan.txt @@ -0,0 +1,3 @@ +# Runtime suppression of undefined behavior +# +vptr_check:Module.h -- cgit 1.4.1