repo.or.cz
/
smatch.git
/
search
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
first
·
prev
·
next
fill_db_caller_info: calculate function_id correctly
2011-10-07
Dan
C
ar
p
enter
fil
l
_db_calle
r
_info: cal
c
ulate function_id
correctly
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2011-10-07
Dan
Carpenter
deb
u
g: a
d
d
a __smatch
_
po
s
si
b
le("var
i
able") functi
o
n
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2011-10-04
Dan Car
p
en
t
e
r
uncapped_
a
lloc: us
e
_c
o
mplex()
v
ersion
o
f get_variable_from_
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2011-10-04
Da
n
Carpenter
extra:
db: put si
n
g
l
e
quot
e
s
a
round
the func
t
i
on na
m
e
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2011-10-04
Dan Carpente
r
*new
*
sm
a
tch_sc
r
ipts/follow_p
a
rams
.
pl
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2011-10-04
Dan Carpen
t
e
r
hooks: remov
e
some comm
e
n
ted out code
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2011-10-04
D
an Carpenter
sql: snprintf() nul
termi
n
ate
s
its strings
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2011-10-04
Dan Carpenter
db: mo
v
e
buf_size to
t
he new add_def
i
nition_db_callback()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2011-10-04
Dan Carpenter
db: introduce add_de
f
inition_db_callback()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2011-10-04
Dan
C
a
r
p
enter
db: store
the val
u
es of parameters
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2011-10-04
D
a
n
Ca
r
penter
db: make data
b
ase code usable
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2011-09-27
Dan C
a
rpenter
*new* min_t() c
a
sting that truncat
e
s the values
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2011-09-23
Dan Car
p
e
n
ter
*
new* rosenbe
r
g:
c
h
e
c
k for information leaks
f
rom the
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2011-09-22
Dan
Car
p
enter
f
low: twe
a
k the ->pos setting f
o
r
f
ake assignments
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2011-09-22
D
an Carpenter
flo
w
: whitespa
c
e ch
a
ng
e
s
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2011-09-22
D
a
n Carpenter
flow: pass con
d
ition
as
s
ignments t
o
client
s
w
i
th ASSIGNMENT_HOOK
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2011-09-22
Da
n
Carpen
t
er
no_
e
f
f
ect: add s
o
me mor
e
tests
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2011-09-14
Dan Carpenter
deref_c
h
eck: check_deref: prin
t
both line numb
e
rs
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2011-09-13
Dan
C
a
r
penter
c
o
re: set
p
osition earlie
r
in smatch_flow
.
c
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2011-09-12
D
a
n Carpent
e
r
slist:
pre
s
erve the
->li
n
e val
u
e correctly
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2011-09-12
Dan Carpenter
overflow: print more
h
elpful
i
n
fo
w
hen
t
h
e
data file
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2011-09-12
Dan Carpente
r
gen
_
ar
r
ay_bo
u
nds: f
i
lter out
bo
g
us lin
e
s
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2011-08-30
D
an Carpenter
buf_size: silence a gc
c
f
alse
p
ositive
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2011-08-30
Dan C
a
r
p
enter
use PTR_INT()
a
nd I
N
T_PT
R
(
)
to si
l
ence cast warnings
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2011-08-25
Dan Carpen
t
er
slist:
make
a
lloc_sm_
s
tate() stat
i
c
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2011-08-25
Dan Carpenter
slis
t
: remove
some d
e
ad code
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2011-08-25
D
an Carp
e
nter
core: clong_sm()
should pr
e
serve
t
h
e ->
l
ine va
l
ue
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2011-08-25
Dan Carpen
t
er
update s
m
atch_data/ for linux-3
.
1
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2011-08-04
Dan Carp
e
nter
*ne
w
* bog
u
s_loops
:
warn on bogus fo
r
loops
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2011-07-29
Dan Carpenter
extra
:
use get_implied_value()
instead of get_value
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2011-07-26
D
a
n Carp
e
nter
impl
i
e
d
: handle
as
s
ig
n
men
t
s
inside conditions bet
t
e
r
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2011-06-17
Dan Carpenter
overflow: c
h
eck s
p
r
i
ntf() and sn
p
r
i
ntf()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2011-06-17
Dan Carpenter
s
m
atch_flow: fix compile
e
rror caused by up
s
tr
e
am changes
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2011-06-17
Dan Ca
r
p
enter
o
v
e
rflow: cut
down on
f
als
e
po
s
itives
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2011-06-13
Dan Carpenter
smatch_data
:
update for 3
.
0 k
e
rnel
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2011-06-13
Dan Carpenter
gen
_
n
o
_return_fu
n
cs: always keep the default
n
o re
t
u
r
n
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2011-06-13
Dan Carpenter
In a couple place th
e
origi
n
al checked for --spammy
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2011-06-09
Dan
Carpenter
flow
:
handle
k
n
o
w
n
s
witc
h
st
a
tements
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2011-06-09
D
a
n
Carpen
t
er
*new* return
_
n
egative_va
r
: returning positive values
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2011-06-09
Dan Carpenter
*new* memset:
c
he
c
k
f
or me
m
set(
x
, y, 0);
typos
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2011-06-03
D
a
n C
a
rpent
e
r
Support __buil
t
in
_
unreachable()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2011-01-26
Dan C
a
r
pe
n
ter
overflow:
f
o
rmat_st
r
ings: put s
o
me
verbose messages
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2011-01-18
Dan Carpe
n
ter
b
u
f_size:
p
ut some gue
s
ses behind --sp
a
mmy
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2011-01-11
Dan C
a
rpenter
extra: ha
n
d
l
e count down for loops
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2011-01-11
Dan Carpenter
add
RAW_ASS
I
GN
M
ENT_HOOK
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-12-21
Dan Carpente
r
Me
r
ge git:/
/
git
.
ke
r
nel
.
org/pub/scm/devel/s
p
a
r
se/chr
i
sl
.
.
.
commit
|
commitdiff
|
tree
2010-12-21
Dan Carpenter
signed: d
o
n't complai
n
about p
u
tting 0xff into
a signed
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-12-20
D
a
n Carpenter
loc
k
ing: add _r
a
w_spin_lock_nested()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-12-17
Dan
C
a
rpenter
introduce SELECT_HOOK
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-12-17
Da
n
Carpe
n
ter
*new*
c
heck_sele
c
t:
retu
r
n ret < 0 ?: 0;
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-12-16
Dan Carpente
r
*ne
w
* input_
f
r
ee_device: don
'
t
c
a
l
l th
i
s after in
p
u
t
_unregi
s
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-12-16
Dan Carpenter
*new* check_contai
n
er_of: cont
a
i
ne
r
_of() doesn't
return
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-12-16
Dan Ca
r
pen
t
er
create che
c
k_li
s
t_l
o
cal
.
h
w
hic
h
is for untracke
d
l
o
c
al
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-12-16
D
an Carp
e
nter
locking: _atomic_dec_and_lock() is a spinlo
c
k
()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-12-16
Dan Carpent
e
r
fil
e
s: cleanup
o
pe
n
_file()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-12-16
Dan
C
arpenter
ad
d
default no_return_funcs if no pr
o
ject is spe
c
ified
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-12-16
Dan Carpenter
u
pdate smat
c
h_data/ f
o
r
2
.
6
.
37
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-12-15
Dan Ca
r
pe
n
ter
*
n
ew* chec
k
_acce
s
s_o
k
_math:
p
o
t
ential int
e
ger overflows
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-11-16
Dan Carp
e
n
t
er
hoo
k
s: introduce
ASM_HO
O
K
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-11-16
Dan Carpen
t
e
r
t
e
mporary hack to
s
olve crashing
bug in fs/reiserfs
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-11-13
D
a
n Carpenter
locking: add _
_
r
aw_spin_un
l
ock_irq() func
t
ion
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-11-12
Dan Carpent
e
r
err_ptr_deref:
f
ix a
s
sig
n
ments ins
i
de
condi
t
ions
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-10-25
Da
n
Carpen
t
er
locki
n
g: add arch
_
local
_
irq_save()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-10-05
D
a
n Carpenter
check_typ
e
: war
n
about kfree
(
) vs free_netdev()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-10-05
Dan Carpenter
type: improve ha
n
dli
n
g of array
types
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-09-10
D
a
n Carpenter
extra:
move
s
o
m
e
s
tuff
i
nto smatch_dinfo
.
c
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-09-10
Dan Car
p
e
nter
b
u
f_size:
oops
.
.
.
r
e
move
d
ebug output!
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-09-10
Dan Car
p
en
t
er
white
s
pace_onl
y
: don't error
o
ut
h
andling
.
h files
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-09-10
Dan
C
arpent
e
r
*new*
g
et_u
s
er_o
v
erflow: check for integ
e
r ove
r
flows
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-09-10
Dan Carpenter
s
match
_
db: d
o
n't compl
a
in i
f
the db doesn't exist
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-09-10
Dan Carpen
t
e
r
buf_s
i
ze:
d
o cross functi
o
n analysis
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-09-10
Dan Carp
e
nter
*new* un
c
a
p
ped_alloc
:
print pla
c
es w
h
ere th
e
user d
e
cides
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-09-10
D
a
n
Carpenter
*new* smat
c
h_db:
use
a
nd sqlite da
t
abase for cros
s
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-09-10
D
a
n Carpenter
p
a
ram_mapper: update copyrigh
t
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-09-01
Dan Carpe
n
ter
add test-insp
e
ct to
.
gitignore
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-08-30
D
an Ca
r
pen
t
er
smatch_scripts/gen_expects_err_ptr
.
sh
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-08-30
Dan Carpenter
smatc
h
_data/kernel
.
array_bounds: array
boundary d
a
ta
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-08-30
Dan Carpenter
expects_err_ptr: make
a list of functions which accept
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-08-30
Dan
C
a
rpenter
unwind
:
add m
o
re unwind functions
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-08-30
Dan
Carpen
t
e
r
upd
a
te smatch_data/ for 2
.
6
.
36-r
c
2
(
part 2)
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-08-30
Dan Car
p
enter
overflow:
fi
x
up cross functi
o
n overflows
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-08-26
D
a
n Carpenter
remove dead
n
o_le1
6
cr
u
ft
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-08-26
Dan
C
arpenter
un
w
ind: add mo
r
e
unwind functions
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-08-24
Dan
C
a
r
p
e
nter
remove check
_
le1
6
.
c
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-08-24
Dan Carpenter
U
pdate smatc
h
_da
t
a
t
o 2
.
6
.
36-r
c
2 [p
a
tch 1 of more]
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-08-24
Dan Carpenter
k
e
r
nel: c
o
n
t
ainer_
o
f() returns a non-NULL pointer
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-08-24
Dan Car
p
enter
Introduce
a
d
d_macro_assign_hook()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-08-21
D
a
n Carp
e
nter
fix
out
of memo
r
y h
a
ndling
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-08-18
Dan Carpenter
New func
t
ions returns_unsi
g
ned() and returns
_
p
o
in
t
er(
)
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-08-18
Dan Carpenter
*ne
w
* check_
i
n
f
o_le
a
k
.
c
:
places tha
t
p
as
s
u
n
-
z
eroe
d
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-08-18
Dan C
a
rpenter
*
new* check_retur
n
_
e
nomem: complain about
r
eturning
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-08-04
Dan Carpent
e
r
*new* platform_
d
e
v
ice
_
put
(
) vs platform
_
de
v
ice_de
l
()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-08-03
Da
n
C
arpent
e
r
un
w
ind
:
li
t
erals high
e
r than zero are not an e
r
ror
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-08-03
Dan C
a
r
p
enter
implied: only
print the
nr_c
h
i
ldren
me
s
sages if
t
here
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-08-03
Dan Carpenter
unwind:
r
egiste
r
unwind functi
o
ns
that u
n
wind ev
e
rything
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-08-03
Dan Carpenter
u
n
wind: upd
a
te equ
i
valen
t
s
t
ates
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-08-02
Dan
C
a
r
penter
e
xtra: c
l
ean
up unused variab
l
es
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-08-02
Dan Carpenter
equiv: upd
a
te validati
o
n test
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-08-02
Dan
C
arpente
r
ex
t
ra: handle WARN_ON(f
u
nc(
&
se
t
_
th
i
s_point
e
r
)
);
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-08-02
Dan C
a
rp
e
n
ter
buf
_
siz
e
: I broke initializer handli
n
g by mistake
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
next