diff options
author | Martin Nowack <m.nowack@imperial.ac.uk> | 2023-02-23 22:02:53 +0000 |
---|---|---|
committer | Cristian Cadar <c.cadar@imperial.ac.uk> | 2023-03-17 22:38:16 +0000 |
commit | 03fa34c4e51351b357b84a27c705aac5e0a5e68b (patch) | |
tree | 91d70ff83c4c52017c6cb78c4be45fdbd7c80c2a /scripts | |
parent | ca60811f5d55254bec378919430dd0e7e6e5cdd1 (diff) | |
download | klee-03fa34c4e51351b357b84a27c705aac5e0a5e68b.tar.gz |
Add support to disable memsan instrumentation; update UB/Asan suppression
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/build/build.sh | 5 | ||||
-rw-r--r-- | scripts/build/sanitizer/klee.txt | 2 | ||||
-rw-r--r-- | scripts/build/sanitizer/sqlite.txt | 2 |
3 files changed, 9 insertions, 0 deletions
diff --git a/scripts/build/build.sh b/scripts/build/build.sh index 2ddb7bd6..65fe4ee0 100755 --- a/scripts/build/build.sh +++ b/scripts/build/build.sh @@ -328,6 +328,11 @@ build_docker() { for f in "${DIR}/patches/${v}"*.patch; do cp -r "$f" "${temp_dir}/patches/" done + + mkdir -p "${temp_dir}/sanitizer" + for f in "${DIR}/sanitizer/${v}"*.txt; do + cp -r "$f" "${temp_dir}/sanitizer/" + done done shopt -u nullglob # disallow nullglobing diff --git a/scripts/build/sanitizer/klee.txt b/scripts/build/sanitizer/klee.txt new file mode 100644 index 00000000..856aba57 --- /dev/null +++ b/scripts/build/sanitizer/klee.txt @@ -0,0 +1,2 @@ +# checkMemoryUsage depends on the malloc library linked with, ignore it +fun:_ZN4klee4util19GetTotalMallocUsageEv diff --git a/scripts/build/sanitizer/sqlite.txt b/scripts/build/sanitizer/sqlite.txt new file mode 100644 index 00000000..6b3ce57a --- /dev/null +++ b/scripts/build/sanitizer/sqlite.txt @@ -0,0 +1,2 @@ +# Ignore uninit memory for sqlite3 external fstat call +src:sqlite3.c |