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
math: cleanup: make handling binops a switch() statement
2010-03-16
Dan Carpen
t
er
math:
cleanup: make handling
b
inops a swit
c
h() statement
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-16
Dan Carpen
t
er
math: cleanup crea
t
e
s
e
parate handle_bi
n
o
p
(
)
function
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-16
Dan Carp
e
nter
ma
t
h:
c
leanup
.
us
e
cast_to_
t
ype(
)
inst
e
ad of r
e
-impl
i
menting it
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-16
Da
n
Carpent
e
r
mat
h
: clean
u
p
.
sepa
r
ate handle_p
r
eop()
i
nto
i
t's ow
n
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-15
Dan
C
a
rpenter
equiv:
fix cra
s
h
i
ng bug in
t
roduced in 8c35
8
883a
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-15
Dan Carpente
r
Create separate smatch_
m
ath
.
c file
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-15
Dan Carpe
n
t
e
r
upd
a
te sm
a
tch_data/
for 2
.
6
.
34-rc1
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-15
Dan C
a
rpe
n
ter
i
m
p
lied: clean up make a separ
a
te han
d
le_zero_
c
omp
a
r
i
son
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-15
Dan
Carpent
e
r
equ
i
v
: hand
l
e co
m
par
i
son
s
with zero
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-15
Dan Car
p
enter
e
q
uiv: cleanup
s
eparat
e
set_e
x
tra_true
_
fa
l
se() into
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-15
Da
n
C
arpenter
e
quiv, implied: fix handling borrowed imp
l
icat
i
ons
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-14
Dan Carpenter
impl
i
ed:
don'
t
update the
eq
u
iv
e
l
e
n
t
s
t
ates
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-14
Dan
Carpe
n
ter
rm valida
t
ion/smatch_cl
o
s
et/
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-14
D
a
n Carpente
r
equi
v
: don'
t
overwrite th
e
implication i
n
for
m
ation
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-13
Dan C
a
r
p
en
t
er
r
e
name __se
t
_state() =>
_
_set_sm()
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-13
Dan C
a
rpenter
rename
c
lone_
s
ta
t
e()
=
> clone_sm()
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-13
Dan Carpenter
e
q
uiv
:
pres
e
rve ->equiv across merges
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-13
D
a
n Carp
e
nt
e
r
Use t
h
e
e
quivalen
t
v
a
riab
l
e code
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-13
Dan
C
a
rpe
n
ter
remove trac
k
ers from ->equiv
w
hen they are
no long
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-13
D
an
Carp
e
nter
Fix
c
rashing bug
c
aused
by las
t
com
m
i
t
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-12
Da
n
Carp
e
nter
s
t
or
e
informatio
n
in the new
d
i
n
fo->equiv thing
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-12
Da
n
Carpenter
int
r
oduce add_tracker_exp
r
()
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-12
Dan Ca
r
pe
n
te
r
make set_s
t
a
t
e
() and friends return the new sm_s
t
ate
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-12
Dan
C
arpenter
intr
o
duce clone_tracker
_
list()
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-12
Dan Carpenter
a
d
d
"equiv" field to struct data_info
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-12
Da
n
Carp
e
nter
m
o
v
e the alloc_dinfo() functions to smatch_extra
.
c
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-11
Dan Carpe
n
ter
c
h
eck_si
g
ned:
warn abou
t
comparing (unsigned var
i
a
bl
e
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-10
Dan Carpenter
update
v
ali
d
a
tion/sm_c
a
sts2
.
c
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-10
Dan C
a
rpenter
*ne
w
* s
m
atch_scri
p
ts/sh
o
w_e
r
rs
.
sh
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-10
Dan Carpenter
*new* sma
t
ch_sc
r
ipts/whitespase
_
only
.
s
h
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-10
Dan Carpente
r
a
dd -no-lineno
option to sparse
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-10
D
an Carp
e
nter
validation/sm_redundant_check
.
c
no
w
it's "info" not
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-10
Dan Carpenter
ch
e
c
k
_
p
rec
e
dence: prin
t
on
e
warning message i
n
stea
d
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-10
Dan Carpenter
check_signed: handle unsi
g
ned 64 bit va
r
iables bett
e
r
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-09
Dan Carpenter
ge
t
_value() handle s
o
me mo
r
e
m
ath operations
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-08
Dan Carpenter
mak
e
redundant n
u
l
l
c
h
ecks before kfree() an
"i
n
fo
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-08
Dan Car
p
enter
c
heck_
s
igned: Eli
m
inate some fal
s
e posi
t
ives
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-08
Dan Carpenter
p
re
c
edence:
check fo
r
&& vs &
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-07
Da
n
C
arpenter
i
m
pl
i
c
a
tio
n
s: improve handling
o
f compariso
n
s
with
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-07
Dan
C
arpent
e
r
use implications fro
m
POSTOPs
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-07
D
an Carp
e
nter
cond
i
ti
o
ns: parse EX
P
R_
P
OSTOPs
a
f
ter evaluating th
e
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-07
Dan Carpenter
c
h
e
c
k_overflow: rem
o
ve false positives caus
e
d by printk
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-07
Dan Carpenter
flow
:
i
mp
r
ove ha
n
dlin
g
of
while
(
i--) { loo
p
s
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-07
Dan Carpenter
remove strange loo
p
message
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-07
Dan
C
a
r
penter
kpatch
.
s
h:
a
sk about
a
lloc() fai
l
ures s
p
ecifical
l
y
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-07
Dan Carpe
n
ter
check_deref: handle __G
F
P_NOFAIL (remove fa
l
se
p
osi
t
ives)
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-06
Dan Carpenter
ch
e
c
k_der
e
f: handle pointers used as arr
a
ys
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-04
Dan Carpenter
s
m
atch
_
fl
o
w
:
clean up
.
merge common code in handl
e
_pre_
l
oo
p
()
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-04
Dan Carpenter
im
p
rov
e
i
m
pli
e
d
_condition_tr
u
e() for pre and post
ops
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-04
D
a
n Carpenter
w
hile countdow
n
loops
:
hand
l
e loops where the start
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-04
Da
n
Ca
r
penter
handle for
l
oops where we don't know the up
p
er
l
i
m
i
t
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-04
Dan Carpenter
s
m
atch_flow: handling
pre loops
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-02
Dan
Carpenter
e
xt
r
a: comparing something to zero
doesn't
me
a
n it
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-02
Dan Carp
e
nter
check_o
v
er
f
low:
relax
rules o
n
if (ptr <
&array[max
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-02
Dan Ca
r
p
e
nter
e
x
tra
:
handle loops like while(
i
--) {
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-27
Dan Carpen
t
er
c
l
ean up:
me
r
ge
a
c
ouple function for hand
l
ing for
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-27
Dan
Carpen
t
er
f
i
x
h
a
ndling
o
f
(2 <= x) comparisons where the
variable
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-25
Dan Carpenter
chec
k
_sign
e
d: disa
b
le most of
the new
warnings
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-25
Da
n
Carpenter
get_type() fix c
r
ash
o
n g
e
tting poin
t
er ty
p
es
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-24
Dan
Carpen
t
e
r
g
e
t_v
a
lue
(
)
m
o
re int to long l
o
ng mop up
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-24
Dan
C
arpenter
g
e
t_
t
ype()
fi
x
pointer handl
i
ng
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-24
Dan
C
arpenter
Fix get
_
va
l
ue() fo
r
((unsigned int
)
-1)
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-24
Dan Carpent
e
r
type_max(
)
:
hand
l
e uns
i
gned l
o
ng long
.
(sort of)
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-24
Dan
Carpenter
get rid of --rare option
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-24
Dan Ca
r
p
enter
rename get_single_va
l
u
e
_from_rang
e
() => get
_
single_va
l
ue
_
fr
o
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-24
Dan Carpente
r
f
or loops: add
a
spec
i
al
c
ase for "for(i = 0;
i
<
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-24
Dan Carpenter
c
heck_signed: check in
t
t
y
pe
s
as
well
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-23
Dan C
a
rpenter
sma
t
ch
.
c
:
u
s
e strncpy() i
n
stead of strcpy()
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-23
Dan C
a
r
penter
debug: rename
_
_s
m
at
c
h_print
_
value() => __smatch_value()
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-23
Dan Ca
r
penter
check_signed:
expr->op is type int no
t
char
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-23
Dan Carpenter
Introduce get_fuzzy_min()
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-23
Dan Carpenter
precedence: cut down a few false
p
ositives
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-23
Dan Carpenter
*new* ch
e
ck_le16: print
an e
r
r
or
f
or doubl
e
c
pu_to_
l
e16
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-23
Dan Carpenter
*new* check_mod_timer: print an wa
r
ning if
some
o
ne
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-22
Da
n
Carpe
n
t
e
r
s
trip_expr(): rem
o
v
e
force cast
s
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-22
D
an
C
a
rpenter
k
p
atch
.
sh: figu
r
e t
h
e
ema
i
l
address out automati
c
ally
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-19
Dan Carpent
e
r
*
new* smatch_sc
r
i
p
ts/
k
pa
t
ch
.
sh: s
c
ript for
maili
n
g
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-19
Dan
Carpenter
Pri
n
t fewer messag
e
s
a
bout unrea
c
hed co
d
e
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-19
D
an Car
p
enter
sm
a
tch_condition
s
: small cleanups and add
debug code
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-19
D
an Carpenter
fix WARN_ON handling some more
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-18
Da
n
Carpenter
s
m
atch_template: sma
l
l changes t
o
comments
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-18
Dan Carpente
r
c
l
ean up the m
a
kefil
e
a bit
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-18
D
an C
a
rpent
e
r
handle
a
ssignments
l
ike: foo = x < 1;
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-17
Da
n
Carpe
n
ter
smatch_
s
tat
e
s: wh
i
t
e space changes
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-17
D
an Carpenter
sm
a
t
c
h is supposed to be usi
n
g "lo
n
g long" ty
p
es internally
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-17
Dan Car
p
enter
new_b
u
gs
.
s
h: bet
t
er filtering
o
f smatch errors from
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-17
D
an Carpente
r
handle stuff l
i
ke the kernel's WARN_ON
(
)
m
a
c
r
o
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-17
Dan Carpenter
s
match_extra
:
foo = !!x; do
e
s not modify x
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-17
Dan
Carpenter
handle assignments l
i
ke: foo = !bar
(
)
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-17
Dan Ca
r
pen
t
er
chec
k
_overflow: check for memset() is
s
ues
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-17
D
a
n Carpe
n
ter
a
u
tom
a
tica
l
ly generate the
list
o
f
functions which
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-16
Dan
Carpenter
*new* smatch
_
scripts
/
sum
m
arize_er
r
s
.
sh: scr
i
pt for
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-16
Dan C
a
r
pent
e
r
kernel:
f
ix x
f
s false positives
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-15
D
a
n Carpe
n
ter
check_over
f
l
ow: handle:
"in
t
*p = &array;"
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-15
Dan Ca
r
penter
check_overfl
o
w:
fix b
u
g i
n
get_array_size_byte
s
()
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-15
D
a
n Carpenter
push some more
s
tuff on th
e
b
ig_exp
r
ess
i
on_s
t
ack
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-15
Dan
Carpenter
check_overflow: handle casts like ((c
h
ar *)a
r
ray)
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-15
Dan Carpenter
check_over
f
low:
fix as
s
ig
n
ing arr
a
ys to point
e
rs of
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-15
Da
n
C
arpenter
c
heck_ove
r
flow: fix alig
n
ment bug in
g
et_arra
y
_size
_
by
t
es()
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-15
Dan Carpente
r
check_overflow: pr
e
fer rece
n
t assignments
over the
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
next