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
Fix segfault.
2009-11-07
Dan C
a
rpe
n
ter
Fix segfaul
t
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2009-11-07
Dan Carpenter
Allow peo
p
l
e
to u
s
e
kchecker
file
.
o
a
s well as
.
c fil
e
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2009-11-07
Da
n
Carpenter
Initialize values
p
ro
p
erly
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2009-11-07
Dan Ca
r
pe
n
ter
Turn the t
w
o pass sys
t
em of
f
by
default
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2009-10-25
D
an Carp
e
nter
Optimization: p
r
e
pend
(
) -> append()
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2009-09-06
D
a
n Carpenter
Print an
e
r
ror for this:
if
(
a
| b) {
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2009-08-20
Dan Car
p
ent
e
r
Dual
p
ass
s
ystem
[
patch #
2
]
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2009-08-20
Dan Carpen
t
er
Dual pass system [pat
c
h #1]
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2009-08-19
D
an Carpenter
clean u
p
:
m
o
ve DI
M
PLIED() to smatch_impli
e
d
.
c
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2009-08-19
Da
n
Car
p
enter
cod
e
c
h
urn: ren
a
me SM_DEBU
G
() to
s
m_debug()
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2009-08-19
Dan
C
arpenter
co
d
e churn: rename sma
t
ch_msg()
t
o
sm_msg()
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2009-08-19
Dan Carpent
e
r
mov
e
my_
i
d
parameter [part 2 of 2]
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2009-08-19
Dan Carpenter
Move my_id parameter
.
[part 1
of 2]
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2009-08-07
Dan
Carpen
t
er
Improve check_
e
rr_ptr
.
c
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2009-08-07
Dan Carpenter
function wa
s
supposed
t
o be static
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2009-08-03
D
a
n Carpenter
d
i
sable smatch_container
s
.
c
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2009-08-03
Dan Carpent
e
r
Random ugl
y
chang
e
s to check_
o
verflow
.
c
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2009-08-03
Dan Carpenter
Stop p
r
inti
n
g so
much info all t
h
e t
i
m
e
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2009-08-03
Dan
C
arpenter
New option: --spa
m
my
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2009-08-03
Dan Carp
e
nter
Re
m
ove optimization
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2009-08-03
Dan Carpenter
Add check_assign
e
d
_expr
.
c
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2009-08-02
Dan Ca
r
pe
n
ter
fix calculating s
i
zeof()
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2009-08-02
D
a
n
Carpenter
return
UNDEF
I
NED
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2009-08-02
Dan
C
arpente
r
Talk about smatch
_
scripts/kchecke
r
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2009-08-02
Da
n
Carpenter
I
m
prove
g
e
t
_i
m
pl
i
ed_value()
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2009-08-02
D
a
n Carpenter
correct form
a
t
.
warning: => warn:
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2009-08-02
D
an Carpenter
Add
s
ome s
t
rip
_
e
x
pr() calls to the function ho
o
k
s
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2009-08-02
Dan Carpenter
Impro
v
e buf
f
er
o
v
e
rflow check
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2009-08-01
Dan
C
arp
e
n
ter
int
r
oduce
s
match_cont
a
i
ners
.
c
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2009-07-31
Dan Carp
e
nte
r
introduce set
_
stat
e
_expr() and friends
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2009-07-23
Dan Carpen
t
e
r
a
dd c
h
eck_
d
eref_ch
e
ck
.
c
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2009-07-23
Dan Carpenter
added
c
heck_ini
t
i
a
liz
e
r_de
r
ef
.
c
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2009-07-23
Dan Carpe
n
t
e
r
new hook:
add
_
modification_ho
o
k()
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2009-07-23
Dan Carpenter
mo
v
e
some declarati
o
ns o
u
t of s
m
atch
.
h
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2009-07-21
Dan
Carpenter
U
p
date smat
c
h_da
t
a for
2
.
6
.
31-pre3
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2009-06-17
Dan
C
arpen
t
er
Improve the displa
y
ed
va
r
iable nam
e
s
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2009-06-17
Dan Carpent
e
r
fix buffer o
v
erf
l
ow
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2009-06-15
Dan Carpenter
Ad
d
check_balanc
e
d
.
c and smat
c
h_data/kernel
.
bal
a
n
ced
_
funcs
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2009-06-08
Dan Carpen
t
er
PTR_ERR
(
ERR_PTR(-42)
)
i
s
non z
e
ro
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2009-06-08
Dan Car
p
enter
check_memo
r
y
.
c: use the add_scope_hook()
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2009-06-08
Dan
Carpenter
Add scoped_state() and ad
d
_scope_
h
ook
(
)
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2009-05-31
Dan Carpenter
smatch
_
implied: only pri
n
t the nr_children message
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2009-05-31
Dan Carpe
n
ter
smatch_extra: fix (foo != 42) {
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2009-05-31
Dan Carpenter
F
ix ov
e
rlapping
ranges
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2009-05-28
Dan Carpen
t
er
check_memory
.
c: fix rev
e
rsed
if
s
tatement
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2009-05-28
D
a
n Carpenter
Fix another bug caused
b
y funny
tmp_range_list()
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2009-05-27
D
a
n
Carpenter
Merg
e
branch 'new_
i
mplication
s
' into
d
evel2
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2009-05-27
Dan
C
arpenter
Fix
c
rashing bug c
a
used by t
h
e
s
wi
t
ch change
s
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2009-05-27
Dan C
a
rp
e
nter
d
ebugging:
print the lin
e
numbers in me
r
ge_
s
m_sta
t
e()
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2009-05-27
Dan Carpenter
Make switch stat
e
me
n
ts work again
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2009-05-26
Dan
Carpenter
c
l
ean up
.
use true/false_compar
i
s
o
n_range_lr()
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2009-05-26
D
a
n
C
arpenter
c
o
de churn: rename ->pr
e
_left => ->left, ->
p
re_
r
i
g
ht
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2009-05-26
Dan Car
p
ent
e
r
Put a ca
p
on implications
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2009-05-25
Dan
Carpenter
Improve debugging
.
D
on't
overwrite sm->line
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2009-05-25
D
a
n Carpenter
Micro
o
p
timiza
t
ion
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2009-05-24
Dan Car
p
ente
r
clean
up in me
r
g
e
_s
l
ist()
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2009-05-24
Dan Carpenter
c
h
e
ck fo
r
out_of_memor
y
()
l
e
ss oft
e
n and onl
y
af
t
er
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2009-05-24
Dan Carpenter
Better debug
g
ing f
o
r
c
heck_memory
.
c
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2009-05-22
Dan Carpenter
Add
switch testing test
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2009-05-22
Dan
C
arpenter
Doh
.
Too many
i
mpli
e
d states
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2009-05-22
Dan Carpent
e
r
Remove clone_sl
i
st_an
d
_states() and m
e
r
g
e
_sli
s
t_c
l
one()
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2009-05-22
Da
n
Carpenter
Remove switch cloning complex
i
ty
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2009-05-21
Dan Carpenter
two
is a
l
w
a
y
s
non-n
u
ll
t
hese da
y
s
.
don't check i
t
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2009-05-21
Dan Carpenter
remove unused mer
g
e_pools()
f
un
c
t
i
o
n
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2009-05-21
Dan Carpenter
d
on't print "l
i
st" v
a
riable
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2009-05-21
Dan C
a
r
pente
r
Make
m
y
_
po
o
l
s => my_
p
ool
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2009-05-21
Da
n
C
a
rpente
r
i
ntr
o
d
u
ce clon
e
_pool_havers()
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2009-05-21
Dan Carpent
e
r
clone_state()
d
oe
s
n't copy m
y
_pools
.
commit
|
commitdiff
|
tree
2009-05-21
D
a
n Carpenter
Rewo
r
k i
m
p
lic
a
tions to use ->pre_left and ->pre_
r
igh
t
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2009-05-21
Dan Ca
r
penter
two is alway
s
non-null thes
e
days
.
don't check it
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2009-05-17
Dan Carpent
e
r
Intr
o
duce ->pr
e
_left and ->pre_right
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2009-05-17
D
a
n C
a
rpenter
Make the RAM l
i
mit more accura
t
e
an
d
flexible
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2009-05-10
D
an Car
p
enter
On
l
y
c
lone
t
he states i
f
it is a
s
witch st
a
te
m
ent
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2009-05-08
Dan Carpent
e
r
Don't clone the
fa
l
se states
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2009-05-08
Dan C
a
rp
e
nter
Do
n
't clone
all th
e
st
a
tes for every cas
e
statement
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2009-05-06
Dan Car
p
enter
Make
t
h
e vali
d
ation
t
est harder
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2009-05-06
Da
n
Car
p
ent
e
r
Pr
e
ve
n
t some en
d
les
s
loo
p
s
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2009-05-06
Dan Carpent
e
r
Putti
n
g pa
r
ens arou
n
d s
o
me
t
hin
g
doesn't make it undefined
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2009-05-06
Dan Carpent
e
r
Fix memor
y
leak
.
fre
e
_slist()
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2009-05-06
Dan Carpen
t
e
r
M
ake s
t
r
u
ct sm_sta
t
e more compact
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2009-05-04
Dan
C
a
rpe
n
ter
s
m
atch
_
slist
.
c no longer needs any fun
c
tions f
r
om
s
ma
t
c
h_extra
.
c
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2009-05-04
Dan Ca
r
penter
Delete
a
ll th
e
anding compo
u
nd conditio
n
s c
o
de
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2009-05-04
Dan Carpenter
check
d
ebug
i
s useful f
o
r debugging
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2009-05-04
Dan Carpenter
p
o
te
n
tial
b
ug fix for gotos with im
p
licat
i
ons
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2009-05-04
Dan Carpenter
M
a
ke
validation
t
est harder
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2009-05-04
Dan
C
arpent
e
r
R
e
work s
m
at
c
h
i
mplied
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2009-04-24
Dan Car
p
enter
get_valu
e
(): handle a c
o
uple mo
r
e
b
i
t o
p
erators
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2009-04-23
D
a
n Carp
e
nter
Set
th
i
ngs in smatch ext
r
a instead
of smatch im
p
lied
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2009-04-23
D
a
n C
a
r
p
enter
Handle sw
i
t
ch sta
t
em
e
nts
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2009-04-23
D
an
C
arpente
r
Revert "D
o
n't
the implicat
i
ons for the state determining
.
.
.
commit
|
commitdiff
|
tree
2009-04-22
Dan Car
p
enter
Re
v
ert "Her
e
is
a
b
ug in h
a
ndling
c
o
m
p
o
und conditio
n
s
.
"
commit
|
commitdiff
|
tree
2009-04-21
D
a
n Car
p
e
n
te
r
handle if((foo =
dow
n
_trylo
c
k
(
)) < 0) {
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2009-04-21
Dan Carpent
e
r
add_i
s
_
m
erged_hook
(
)
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2009-04-21
D
an
C
arp
e
nter
Derefer
e
n
c
ing a v
a
ria
b
le d
o
es
n
't make it undefined
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2009-04-18
Dan C
a
rpenter
Redo checking
f
or out
o
f
range args to ERR_PTR
(
)
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2009-04-16
D
an Carpente
r
He
r
e
is a
b
ug in handling
compound
conditions
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2009-04-15
D
an Carpenter
H
a
ndle
straight forward co
m
parisons to zero
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2009-04-15
Dan Carpenter
Store
the implications for
r
e
turn_imp
l
ies
_
state()
assignmen
t
s
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2009-04-15
D
a
n Carpenter
A
dd: re
t
u
rn_implies_st
a
t
e
()
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2009-04-14
Dan
Car
p
e
nter
Rename smatc
h
_ext
r
a_helper
.
c to smatch_ranges
.
c
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
next