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
improve implied_condition_true() for pre and post ops
2010-03-04
Dan Ca
r
penter
imp
r
ove imp
l
i
e
d_condition_tr
u
e() for pre and post op
s
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-04
Dan Carp
e
nter
while countdown loops: hand
l
e loops where the start
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-04
Dan Ca
r
penter
hand
l
e for loops w
h
ere we
d
on't know
the
upper limit
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-04
Dan Carpente
r
smatch_flo
w
: handl
i
ng
p
r
e loops
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-02
Dan
C
a
r
penter
e
xtra: com
p
a
r
i
n
g
s
o
m
ethin
g
to
zer
o
doesn't
m
ean it
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-02
Dan Car
p
enter
ch
e
ck_ove
r
flow: relax rules on
if (ptr < &
a
rray[max
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-02
Dan
Carp
e
n
te
r
extra: h
a
ndle l
o
ops li
k
e while(i--) {
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-27
Dan Car
p
enter
clean up:
mer
g
e
a
couple function for handling f
o
r
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-27
D
a
n Carpenter
fix handlin
g
of
(
2
<= x) comparisons where t
h
e
varia
b
le
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-25
Dan Carpen
t
er
check_sig
n
e
d: disable most of the new warnin
g
s
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-25
Dan Carpen
t
er
get_type() fix
c
rash on ge
t
tin
g
pointer t
y
pes
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-24
D
an Carpenter
g
e
t
_value(
)
more in
t
to long
l
ong
m
op up
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-24
Dan Carpenter
get_
t
ype()
fix pointer handl
i
ng
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-24
Dan Car
p
ent
e
r
Fix get_value() for ((unsign
e
d int) -1)
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-24
Dan Carpe
n
t
er
type_max():
handle unsigned long lo
n
g
.
(sort of
)
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-24
Dan Carpenter
get
rid of --rar
e
option
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-24
D
an Ca
r
penter
r
ename
get_si
n
gle_value
_
from_range() => get_single_v
a
l
ue_
f
r
o
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-24
Dan
C
arpenter
f
or loops: ad
d
a specia
l
case for "for(i = 0;
i
<
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-24
D
an Carpe
n
ter
check_signe
d
: chec
k
int typ
e
s as wel
l
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-23
Dan Carpent
e
r
smatch
.
c: use strncpy()
i
nstea
d
of
strcpy
(
)
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-23
Dan Carpenter
d
ebug: rename __smat
c
h_prin
t
_
val
u
e() =
>
__smatch
_
v
a
l
ue()
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-23
Dan C
a
rpenter
check_signed: expr->op
is type int not char
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-23
D
an Car
p
enter
Intr
o
duce get_fu
z
zy
_
min()
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-23
Dan
C
arpenter
precedenc
e
:
cut
d
own a few false posi
t
ive
s
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-23
Dan Carpenter
*new* check_le16:
p
r
int an err
o
r fo
r
doub
l
e cpu
_
to_le16
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-23
Dan Carpenter
*new* che
c
k_mod
_
timer: print an warnin
g
if someone
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-22
Dan Carpenter
stri
p
_e
x
p
r(): remove for
c
e cast
s
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-22
Dan Carpenter
k
patch
.
sh: figure the
e
ma
i
l address out automatically
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-19
Dan Ca
r
pen
t
er
*new
*
smatch
_
scripts/kpatch
.
sh: s
c
ript f
o
r mai
l
in
g
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-19
Dan Carpenter
Print fewer
m
essages a
b
out unreached code
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-19
Dan Carpente
r
smatch_
c
ond
i
tions: s
m
al
l
cleanups and a
d
d debug
code
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-19
D
an Carpenter
fix WAR
N
_ON h
a
ndling some more
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-18
Dan C
a
r
p
en
t
er
sma
t
ch_t
e
mpla
t
e: small changes to comments
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-18
Dan Carpenter
clean up
the ma
k
efile a bit
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-18
Dan Carpenter
handle assi
g
nments like
:
foo = x < 1
;
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-17
Dan Carpenter
smatch_s
t
ates:
white space changes
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-17
D
an Ca
r
p
ente
r
s
m
atch is su
p
pos
e
d to be
u
s
i
ng "l
o
n
g long" t
y
p
es intern
a
lly
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-17
Dan
Carpent
e
r
new_bugs
.
s
h: better
f
i
ltering of smatch e
r
rors from
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-17
Dan Carpenter
hand
l
e stuff like th
e
k
e
r
n
el's WA
R
N
_ON()
m
ac
r
o
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-17
Dan Carpent
e
r
smatch
_
extra: foo = !!x; does not m
o
di
f
y x
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-17
Dan Carpenter
handle assig
n
m
ents like: foo = !bar()
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-17
Dan Carpenter
check_overflow:
c
heck for me
m
s
e
t() issues
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-17
Da
n
Carpente
r
automatically generate the list of
f
unctio
n
s which
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-16
D
a
n
C
a
rpenter
*
new* smatch_scrip
t
s/summarize_errs
.
sh: s
c
ript for
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-16
Dan Carpenter
k
ernel: fi
x
x
f
s
false positives
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-15
Dan Carpenter
check_over
f
low
:
handle:
"
int *p =
&
array;"
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-15
Dan Carpente
r
check_overflo
w
:
f
i
x
bug in g
e
t_ar
r
ay_size
_
byt
e
s()
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-15
Dan Carpenter
push some more stuff on the big_expressi
o
n
_stack
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-15
Dan
Ca
r
penter
ch
e
ck_overflow: handl
e
c
a
s
ts li
k
e ((cha
r
*)array)
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-15
Dan Carp
e
nt
e
r
check_
o
verflow: fix
assigning arrays t
o
p
ointers of
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-15
Dan Carpenter
c
h
eck_over
f
low: fi
x
a
l
ignmen
t
bug i
n
g
et_array_size_
b
ytes()
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-15
Dan Carpenter
check_overfl
o
w:
p
refer rec
e
nt assi
g
nmen
t
s
over
t
he
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-15
Dan Carp
e
nter
Ad
d
quotes aro
u
n
d
string litera
l
s
in smatch
o
utput
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-15
Dan Car
p
enter
check_o
v
erflow: update st
r
c
p
y(
)
and strncpy() c
h
ecks
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-15
Dan
C
arpenter
kernel
.
no_return_funcs
:
__
r
eiserf
s
_panic do
e
sn't r
e
tu
r
n
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-14
Dan
C
arpent
e
r
check_overf
l
ow:
store the siz
e
i
n
byte
s
instead o
f
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-14
Dan Carpen
t
e
r
chec
k
_over
f
l
ow: don't complain abou
t
i
f
(p
t
r
<
&array
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-14
Dan Carpenter
s
ma
t
ch_f
l
o
w
: ch
a
n
g
e
how the big expre
s
sion
s
ta
c
k works
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-14
Da
n
Carpenter
check_o
v
erflow: rename m
y
_decl
_
id
=> my_s
i
ze
_
id
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-14
Dan Carpenter
c
h
e
c
k_overflow: white spac
e
changes
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-14
Dan
Carpenter
c
h
eck
_
o
verflow:
use t
h
e _expr
(
) hooks instead
o
f
do
i
ng
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-14
D
an Carpenter
c
h
ec
k
_over
f
low: r
e
mo
v
e s
o
me old deb
u
gging code
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-14
Dan
C
ar
p
enter
check_overflo
w
: rename dest => arra
y
_e
x
pr
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-14
Dan Carpenter
check_overflow: g
e
t_i
n
i
t
ializ
e
r_bytes() =>
get
_
init
i
alizer_
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-14
Dan C
a
rpent
e
r
check_overfl
o
w: option_spammy => option_i
n
fo
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-14
Dan Carp
e
nter
check_ov
e
rflow: ha
n
d
l
e indexed
array
initializations
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-14
Da
n
Carpenter
check_over
f
low: fix endless loop parsing "i
n
t
x =
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-14
Dan Carpenter
fix get_imp
l
ied_max()
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-13
Dan Carpe
n
ter
check_overflow
:
lots of improvements a
n
d also a v
a
lidati
o
n
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-13
D
an Carpenter
fix c
r
ash calli
n
g get_type() on
i
mplicit
l
y defined
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-13
D
a
n Ca
r
penter
Add s
m
atch_d
a
t
a
/kernel
.
no_return_funcs
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-12
Dan Carpenter
fu
n
ction
h
ooks: get rid of conditional fun
c
tion hoo
k
s
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-12
Dan
C
arpenter
add smatc
h
_sc
r
i
p
ts/n
e
w_bu
g
s
.
sh:
p
rin
t
s the bugs introduce
d
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-12
Dan Carpenter
err_ptr_dere
f
: update to us
e
newer
a
pi
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-12
Da
n
Carpenter
unreachable code: enable by defaul
t
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-12
Dan Ca
r
penter
show_un
r
eacha
b
le
.
sh: a
d
d
-
k (kernel mode)
-b (i
g
nore
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-11
Dan Carpenter
unreachable
c
ode: work aroun
d
gcc work arounds
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-11
Dan
Carpenter
print
a
n erro
r
messag
e
about unr
e
a
c
hed initializers
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-10
Dan Carpenter
check_st
a
ck:
t
w
e
ak the output a bit
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-08
D
a
n Carpente
r
New check_stack
.
c
: warn if
k
erne
l
code
put
s
t
o
o m
u
ch
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-08
Dan Carpe
n
t
e
r
Add regist
e
r_project() to ch
e
ck_list
.
h
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-01
Dan Carpenter
update t
h
e documentation a bit
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-30
Da
n
Carpente
r
check_memor
y
: only load kernel
.
fr
e
es_argument when
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-29
D
an Carpenter
Cre
a
te
:
s
m
atc
h
_
p
rojec
t
.
c
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-29
Da
n
Ca
r
penter
bail if
t
hings
a
re tak
i
ng too long
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-29
D
a
n
Carpent
e
r
a
dd smatch_scrip
t
s
/
fi
l
ter_kernel
_
deref_check
.
s
h
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-29
Dan Carpe
n
ter
check_d
e
ref_check: do
n
ot comp
l
a
i
n in loop pr
e
conditions
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-28
D
an Carpenter
tweak unreachable code messages
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-27
D
a
n
Ca
r
penter
check_signed:
handle
s
ign
e
d 1 bit va
l
ues
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-27
Dan C
a
rpenter
ch
e
ck_
s
igned
:
don't compla
i
n about unsigned i
n
t
x
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-27
Dan C
a
rpenter
new function: type_unsi
g
ned()
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-26
Dan
Ca
r
penter
p
a
rtl
y
replace chec
k
_nu
l
l_deref
.
c
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-25
D
a
n Carpe
n
ter
modific
a
t
i
on
h
o
o
ks: only al
l
o
w one
h
ook per va
r
iable
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-25
D
a
n Ca
r
penter
int
r
o
d
uc
e
:
s
et_d
e
fault_
m
odifica
t
ion_hook()
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-25
Dan C
a
rpenter
cleanup:
get rid of smatch_c
o
ntainer
s
.
c
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-25
Da
n
Carpenter
check_
n
u
ll_de
r
ef:
o
nl
y
the kernel cares about failed
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-23
D
an Carpenter
Fix OpenB
S
D
compile
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-23
D
a
n Carpenter
check_signed
:
clea
n
ups
.
add c
h
e
c
k for imposs
i
bly
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-22
Dan Carpente
r
make e
v
erything use
smat
c
h_func
t
ion_hashtable
.
h
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-22
Dan C
a
rpenter
add sma
t
ch_function_hashtable
.
h
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
next