about summary refs log tree commit diff homepage
path: root/utils
diff options
context:
space:
mode:
authorMartin Nowack <m.nowack@imperial.ac.uk>2018-06-09 19:36:01 +0100
committerCristian Cadar <c.cadar@imperial.ac.uk>2018-07-04 22:14:58 +0100
commit8f2b9b543b7e226c6ea06917a720452267012c22 (patch)
tree25bb4b5f3657003c4e3615be00104ee6855c9495 /utils
parenteb75a38011726d4a045f3db3edbfef924f62c737 (diff)
downloadklee-8f2b9b543b7e226c6ea06917a720452267012c22.tar.gz
Support sanitizer suppression files with lit-based testing
Diffstat (limited to 'utils')
-rw-r--r--utils/sanitizers/lsan.txt7
-rw-r--r--utils/sanitizers/ubsan.txt3
2 files changed, 7 insertions, 3 deletions
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