diff options
author | Eric Biggers <ebiggers@google.com> | 2020-11-17 08:48:57 -0800 |
---|---|---|
committer | Eric Biggers <ebiggers@google.com> | 2020-11-17 08:51:37 -0800 |
commit | bda5bda3aabc46fc8660115ad14ac154be5a7907 (patch) | |
tree | 8ce4b08565458b34d166f9e774c7f0c389c0dd4b | |
parent | df3723acdaabc01b001c52afea0ed93d7223c15e (diff) | |
download | fsverity-utils-bda5bda3aabc46fc8660115ad14ac154be5a7907.tar.gz |
scripts/run-tests.sh: disable gcc static analyzer
It now produces a false positive double free report even at -O0.
(gcc version is 10.2.0.)
Signed-off-by: Eric Biggers <ebiggers@google.com>
-rwxr-xr-x | scripts/run-tests.sh | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/scripts/run-tests.sh b/scripts/run-tests.sh index a47cc48..2bc98cd 100755 --- a/scripts/run-tests.sh +++ b/scripts/run-tests.sh @@ -175,10 +175,6 @@ log "Run sparse" log "Run clang static analyzer" scan-build --status-bugs make CFLAGS="-O2 -Werror" all test_programs -log "Run gcc static analyzer" -# Using -O2 here produces a false positive report in fsverity_cmd_sign(). -$MAKE CC=gcc CFLAGS="-O0 -Werror -fanalyzer" all test_programs - log "Run shellcheck" shellcheck scripts/*.sh 1>&2 |