X-Git-Url: https://git.wpitchoune.net/gitweb/?a=blobdiff_plain;f=scripts%2Fsmatch.sh;fp=scripts%2Fsmatch.sh;h=6b506ba076de3a6965c20dede8ffd12c48dbc125;hb=739a3b0ef7f911f3bf19d50e788256d5d31f1846;hp=0000000000000000000000000000000000000000;hpb=76b85b03426aa14483c2243430869ad7a490508b;p=psensor.git diff --git a/scripts/smatch.sh b/scripts/smatch.sh new file mode 100755 index 0000000..6b506ba --- /dev/null +++ b/scripts/smatch.sh @@ -0,0 +1,9 @@ +#!/bin/sh + +SMATCH_DIR=$HOME/soft/smatch + +SCRIPT_DIR=`dirname $0` + +cd $SCRIPT_DIR/.. +make clean +make CHECK="$SMATCH_DIR/smatch --full-path" CC=$SMATCH_DIR/cgcc | tee warns.txt \ No newline at end of file