more generic scan-build script

This commit is contained in:
Nick Mathewson 2015-05-29 13:50:05 -04:00
parent b66f4cfc9d
commit e71c8801cf

View File

@ -25,15 +25,13 @@ CHECKERS="\
-enable-checker security.insecureAPI.strcpy -enable-checker security.insecureAPI.strcpy
" "
/opt/clang-3.4/bin/scan-build/scan-build \ scan-build \
$CHECKERS \ $CHECKERS \
--use-analyzer=/opt/clang-3.4/bin/clang \
./configure ./configure
/opt/clang-3.4/bin/scan-build/scan-build \ scan-build \
$CHECKERS \ $CHECKERS \
--use-analyzer=/opt/clang-3.4/bin/clang \ make -j2 -k
make -j2
# Haven't tried this yet. # Haven't tried this yet.