diff --git a/devel/checker b/devel/checker new file mode 100755 index 0000000..76adc6e --- /dev/null +++ b/devel/checker @@ -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