mirror of
https://github.com/emikulic/darkhttpd.git
synced 2023-08-10 21:13:08 +03:00
14 lines
272 B
Bash
Executable File
14 lines
272 B
Bash
Executable File
#!/bin/sh
|
|
#
|
|
# Run through the clang static analyzer.
|
|
#
|
|
TARGET=$(dirname $0)/../darkhttpd.c
|
|
|
|
# Adjust to suit:
|
|
LLVM=$HOME/llvm
|
|
|
|
$LLVM/llvm/tools/clang/tools/scan-build/bin/scan-build \
|
|
-analyze-headers \
|
|
--use-analyzer=$LLVM/install/bin/clang \
|
|
clang -DDEBUG $TARGET
|