about summary refs log tree commit diff homepage
path: root/test
diff options
context:
space:
mode:
authorMartin Nowack <m.nowack@imperial.ac.uk>2019-03-10 14:09:24 +0000
committerCristian Cadar <c.cadar@imperial.ac.uk>2019-03-12 16:41:27 +0000
commit74c432e6c46f4c570a14b46346b208aeb8b5e0fa (patch)
tree24c1d8f4e862c6f4f86217fe2d159c1e987617b8 /test
parente4129c4c780cc4476ecc65ec13ab8399a3bd9778 (diff)
downloadklee-74c432e6c46f4c570a14b46346b208aeb8b5e0fa.tar.gz
Add support to compile KLEE with MemorySanitizer (MSan)
Diffstat (limited to 'test')
-rw-r--r--test/lit.cfg1
-rw-r--r--test/lit.site.cfg.in1
2 files changed, 2 insertions, 0 deletions
diff --git a/test/lit.cfg b/test/lit.cfg
index e56dc31f..7c5ed220 100644
--- a/test/lit.cfg
+++ b/test/lit.cfg
@@ -197,3 +197,4 @@ for target in supported_targets:
 # Sanitizer
 config.available_features.add('{}asan'.format('' if config.have_asan else 'not-'))
 config.available_features.add('{}ubsan'.format('' if config.have_ubsan else 'not-'))
+config.available_features.add('{}msan'.format('' if config.have_msan else 'not-'))
diff --git a/test/lit.site.cfg.in b/test/lit.site.cfg.in
index 3367a909..7839b66e 100644
--- a/test/lit.site.cfg.in
+++ b/test/lit.site.cfg.in
@@ -35,6 +35,7 @@ config.enable_z3 = True if @ENABLE_Z3@ == 1 else False
 config.enable_zlib = True if @HAVE_ZLIB_H@ == 1 else False
 config.have_asan = True if @IS_ASAN_BUILD@ == 1 else False
 config.have_ubsan = True if @IS_UBSAN_BUILD@ == 1 else False
+config.have_msan = True if @IS_MSAN_BUILD@ == 1 else False
 
 # Add sanitizer list
 config.environment['LSAN_OPTIONS'] = "suppressions=@KLEE_UTILS_DIR@/sanitizers/lsan.txt"