Skip to content
Snippets Groups Projects
Commit 4097d646 authored by Nick Mathewson's avatar Nick Mathewson :game_die:
Browse files

Use all+only the default checkers in scan-build script

parent 3092c8bb
No related branches found
No related tags found
No related merge requests found
......@@ -5,6 +5,18 @@
# This script is used for running a bunch of clang scan-build checkers
# on Tor.
CHECKERS=""
scan-build \
$CHECKERS \
./configure
make clean
scan-build \
$CHECKERS \
make -j5 -k
CHECKERS="\
-disable-checker deadcode.DeadStores \
-enable-checker alpha.core.CastSize \
......@@ -25,15 +37,6 @@ CHECKERS="\
-enable-checker alpha.core.TestAfterDivZero \
"
scan-build \
$CHECKERS \
./configure
scan-build \
$CHECKERS \
make -j2 -k
# This one gives a false positive on every strcmp.
# -enable-checker alpha.core.PointerSub
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment