darkhttpd/devel/checker

15 lines
329 B
Plaintext
Raw Normal View History

#!/bin/sh
#
# Run through the clang static analyzer.
#
TARGET=$(dirname $0)/../darkhttpd.c
# Adjust to suit:
LLVM=$HOME/llvm
CHECKER=$LLVM/llvm/tools/clang/tools/scan-build/ccc-analyzer
$LLVM/llvm/tools/clang/tools/scan-build/scan-build \
-analyze-headers \
--use-analyzer=$LLVM/install/bin/clang \
2015-01-01 10:32:01 +03:00
clang -DDEBUG $TARGET