projects
/
psensor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
script to run smatch
[psensor.git]
/
scripts
/
smatch.sh
diff --git a/scripts/smatch.sh
b/scripts/smatch.sh
new file mode 100755
(executable)
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