mirror of
https://github.com/emikulic/darkhttpd.git
synced 2023-08-10 21:13:08 +03:00
For developers: script to run through clang static analyzer.
This commit is contained in:
parent
dbe886b9d2
commit
ffbc4c2b08
12
devel/checker
Executable file
12
devel/checker
Executable file
@ -0,0 +1,12 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# Run through the clang static analyzer
|
||||
#
|
||||
|
||||
# Adjust to suit:
|
||||
LLVM=$HOME/llvm
|
||||
CHECKER=$LLVM/llvm/tools/clang/tools/scan-build/ccc-analyzer
|
||||
|
||||
env PATH=$LLVM/build/Release/bin:$PATH $CHECKER ../darkhttpd.c
|
||||
|
||||
rm -f a.out
|
Loading…
Reference in New Issue
Block a user