repo.or.cz
/
smatch.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
whitespace: add a newline
[smatch.git]
/
smatch_scripts
/
db
/
smdb_return_info.sh
blob
06e57ff4023a924cd69a2eed9dd0a02d8f98a5de
1
#!/bin/bash
2
3
usage
()
4
{
5
echo
"Usage
$0
<function>"
6
exit
1
7
}
8
9
func
=
$1
10
11
if
[
"
$func
"
=
""
] ;
then
12
usage
13
fi
14
15
echo
"select * from return_info where function = '
$func
';"
| sqlite3 smatch_db.sqlite