projects
/
psensor.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
76b85b0
)
script to run smatch
author
Jean-Philippe Orsini
<jeanfi@gmail.com>
Sat, 20 Apr 2013 08:29:22 +0000
(08:29 +0000)
committer
Jean-Philippe Orsini
<jeanfi@gmail.com>
Sat, 20 Apr 2013 08:29:22 +0000
(08:29 +0000)
scripts/smatch.sh
[new file with mode: 0755]
patch
|
blob
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