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
Try again removing states from pools.
2009-02-13
Dan
Carpenter
Try
a
gain
removing states f
r
o
m
p
o
ols
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2009-02-13
D
a
n
Carpenter
Revert "Remove
a state
from it'
s
->
p
o
ol
s
when set_state
.
.
.
commit
|
commitdiff
|
tree
2009-02-11
D
a
n
Ca
r
pe
n
ter
E
liminate a w
a
rning
.
Probabl
y
the
w
r
ong
w
ay
t
o do
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2009-02-11
Da
n
Carpenter
Clean
u
ps
.
C
o
mments
.
Rename slis
t
_stack to name
d
_stack
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2009-02-11
Dan C
a
rpenter
Ha ha
.
I
s
till suc
k
at
p
ointer
s
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2009-02-11
Dan Carpenter
Cle
a
nups
.
Comme
n
ts
.
R
emove debugging code from filter()
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2009-02-11
Dan Car
p
ente
r
Clean up
.
Also pr
e
s
e
rve the -
>
pools in one p
a
th
of
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2009-02-11
Dan
C
arpenter
Clean up get_state_
s
list
(
)
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2009-02-11
Dan Carpenter
R
e
mo
v
e __o
v
erwrite_cur_slist(
)
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2009-02-11
Dan Carp
e
nter
There was debug
g
ing output that ac
c
identally
g
ot committed
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2009-02-11
Dan Ca
r
penter
Remove a state from it's -
>
p
o
o
ls when set
_
s
t
ate() is
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2009-02-11
Dan Carpente
r
Do
n
't dele
t
e the ->p
o
ols on
merging
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2009-02-11
Dan Carpenter
T
r
y
under
s
t
a
n
d the implications from com
p
ound c
o
nditions
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2009-02-11
Dan
Carpenter
Create a s
t
a
te &merged
.
W
h
en
w
e merge stuff
it isn
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2009-02-10
Dan Carpenter
O
k
.
This
t
i
me smatch_impl
i
e
d
_
rea
l
ly_ d
o
es something
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2009-02-10
Dan Carpenter
Ignore cs
c
o
pe fil
e
s
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2009-02-10
Dan Carpent
e
r
Sm
a
ll
c
lean
u
p
s
.
(White spa
c
e)
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2009-02-10
Dan Carpenter
Whitespac
e
ch
a
nge
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2009-02-10
Dan
Carpenter
Add some more lock
i
ng function
s
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2009-02-10
Dan Carpen
t
er
Fix
implied pools so that
at le
a
s
t it does something
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2009-02-10
Dan Carpenter
It
s
eemed
like
tracke
r
_li
s
t w
o
uld
b
e
useful in
a
lot
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2009-02-05
Dan Ca
r
penter
Add a RE
A
DME
d
escribing smatch
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2009-02-05
Dan Ca
r
pe
n
ter
Ad
d
s
cript to
f
i
nd NULL
derefer
e
n
c
es between
f
uncti
o
ns
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2009-02-05
D
an Carp
e
nter
Fix usage m
e
ssage
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2009-02-05
Dan Carpenter
Check for malloc() as well as kmalloc(
)
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2009-02-05
D
an Carp
e
n
t
e
r
Fix seg
f
ault
w
hen h
a
ndling i
m
plici
t
l
y
declared functi
o
ns
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2009-02-04
Dan
Carpenter
W
arn whe
n
w
e don't acqu
i
re loc
k
s when c
a
lling
c
ertain
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2009-02-04
D
an
Carpenter
Tr
y
(
a
n
d f
a
il) to find memory
leaks
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2009-02-03
Dan Carpe
n
ter
Almost
prin
t
a message when you come to unr
e
achable
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2009-02-03
Dan C
a
rpe
n
te
r
Add chec
k
to lo
o
k for
doub
l
e
f
r
e
es
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2009-02-03
Dan
C
arpenter
Add check
i
ng for
l
ock_kernel()/un
l
ock_kernel(
)
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2009-02-02
Dan
Carpenter
Make che
c
k_locking check
both spin
l
ock
s
and s
e
maphores
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2009-02-02
Dan Car
p
ente
r
Add a new
f
u
nctio
n
sl
i
st_
h
as_state
(
)
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2009-02-02
Dan
C
a
rpenter
If
t
here
is an i++
t
hen
the value of 'i'
i
s
und
e
f
ined
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2009-02-02
D
a
n Carpenter
A
d
d a new
c
h
e
ck_lock
i
n
g
scri
p
t
tha
t
chec
k
s spinlocks
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2009-02-02
Dan
C
a
r
p
enter
Sav
e
the
p
ossib
l
e states i
n
stead of just
merging them
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2009-01-28
Da
n
Carpe
n
ter
Ignor
e
emacs
garbage
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2009-01-28
Dan Carpenter
Merg
e
branch
'ma
s
t
er' into poo
l
s5
commit
|
commitdiff
|
tree
2009-01-16
Dan Carpen
t
e
r
We could sa
v
e
some
m
em
o
ry by not al
l
ocating n
e
w
m
e
mory
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-12-21
Dan
C
arpenter
Add a comment
show
i
n
g w
h
ere the tests a
r
e supposed
.
.
.
commit
|
commitdiff
|
tree
2008-12-21
Dan Carp
e
n
ter
This i
s
left over from October as pa
r
t o
f
the
implied
.
.
.
commit
|
commitdiff
|
tree
2008-12-21
Dan C
a
rpenter
Add get_po
s
sible_states()
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-12-21
Dan Carpent
e
r
Stuff
l
eft over fro
m
Octobe
r
.
Impli
e
d pools work
.
commit
|
commitdiff
|
tree
2008-10-19
Dan
C
arpente
r
W
e could sa
v
e some memory by
n
ot
alloc
a
ting new memory
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-10-18
Dan
C
ar
p
enter
Fix
m
em
o
ry leak
.
Add more comments
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-10-17
D
an Carpe
n
ter
Add a m
e
rge hook
.
H
andle t
h
e
s
ituati
o
ns like:
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-10-17
Dan Carpenter
strcmp() doesn't acce
p
t NULL argume
n
t
s
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-10-17
Dan Carpenter
rename two functions: get_variable
_
from_expr_
s
i
m
ple
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-10-17
D
an
C
a
r
penter
ge
t
_variabl
e
_from_
e
xpr() uses
a
stati
c
buffer and you
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-10-17
Dan Carpenter
Creat
e
a check_template
.
c
e
xamp
l
e script that looks
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-10-15
Dan
Carpente
r
Make
get_all_states() not se
g
fa
u
lt e
v
ery time
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-10-15
Dan Carp
e
nter
Fix get_value(
)
to return negative va
l
ues
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-10-15
Dan C
a
rpen
t
er
We on
l
y ever pass one parameter
i
nto get_value()
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-10-15
Da
n
Carpe
n
ter
Fi
x
g
e
t_a
l
l_st
a
tes() to match th
e
function def
i
n
i
t
ion
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-10-15
Dan C
a
rpe
n
ter
Remove
a
dd_sta
t
e(
)
and st
a
te_de
f
i
n
ed()
d
e
f
initions
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-10-14
Dan
C
arpente
r
Clean up
.
Fix l
e
a
k
.
My problem is th
a
t I don'
t
understand
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-10-14
D
an Carpenter
Initia
l
commit of the
"implie
d
state
poo
l
s" s
t
u
f
f
.
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-10-14
D
a
n
C
a
rpente
r
Doh
.
We haven'
t
been u
s
i
n
g sm
a
tch_extra for a
while
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-10-13
Dan C
a
rpenter
Get rid of pa
t
h_history
.
It's never goi
n
g to be use
d
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-10-13
Dan
C
arpenter
Make goto_stack static
.
commit
|
commitdiff
|
tree
2008-10-13
Dan
C
arpenter
Speed up merg
e
_slist now that the sli
s
ts are orde
r
ed
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-10-11
Dan Carpenter
Insert stuff o
n
to list
s
i
n
a sorted order
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-10-11
Da
n
Carpen
t
er
Delete
an unused f
u
nctio
n
merge_state_sta
c
k()
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-10-08
D
a
n Carp
e
nter
fix: if (*f
o
o) {
(
*foo)->bar; }
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-10-07
D
an
C
arpenter
k
m
all
o
c(
)
a
nd fri
e
nds
d
o
n
't always r
e
turn
a
non-
n
ull
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-10-06
Dan Carpent
e
r
The check
s
from here
got
merged
i
nto
c
heck_null
_
der
e
f
.
c
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-10-04
Da
n
Carpenter
Mo
v
e
th
e
stuff from ch
e
c
k
_d
e
refed_p
a
rams
.
c
i
nto check_null_
d
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-10-04
Dan Car
p
ente
r
Fix b
u
g in or_sl
i
st_s
t
a
c
k
()
.
if (a
&
& b) w
a
sn't being
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-09-30
Dan Carpe
n
ter
Add
a
h
ook at the end of a f
i
le
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-09-28
Dan
C
arpenter
F
orgot
a
nother strip_expr() call
.
.
.
:/
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-09-28
D
a
n Carpenter
H
andle assignme
e
nts
i
nside co
n
ditions better
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-09-28
Dan Carpenter
Only print s
o
m
e
t
hing for a->foo and
not
a
.
fo
o
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-09-25
Dan Carpenter
Ignore array
d
e
c
lar
a
tions
.
Those c
a
n't be NULL ob
v
iously
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-09-23
Dan C
a
rpenter
Make cur_slist s
t
atic
.
It's only used in smatch_s
t
ate
s
.
c
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-09-22
Dan Carpent
e
r
Wh
i
te space changes
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-09-22
D
an Carpenter
Use mer
g
e_slist() inst
e
ad of tr
y
ing to
h
andle it y
o
u
r
self
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-09-22
Dan Carpenter
__proc
e
s
s_
c
o
n
tinue
s
()
is supposed to b
e
basicall
y
the
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-09-21
Dan Carpen
t
er
New smatch_ignore
.
c file
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-09-21
Dan Carpenter
(foo)
= 1
is the s
a
me as foo = 1
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-09-21
Da
n
Carpenter
Generalize stip_casts()
.
I
t
's no
w
called strip_expr
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-09-20
Dan Car
p
e
nter
I
g
nore c
a
sts
.
foo
(
(int
*)&bar) is the same as foo
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-09-20
Dan C
a
rpenter
Created sh
o
w_state()
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-09-20
Dan Carpenter
Ignore stu
f
f li
k
e foo
.
ba
r
.
We o
n
l
y
c
a
re about foo
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-09-20
Dan Carpen
t
er
What happ
e
n
s
before is that parameters would get assigned
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-09-19
Da
n
Carp
e
nter
Missed a c
r
ashing bug in
t
h
e int
=> struct conversion
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-09-19
D
an Ca
r
penter
I c
a
n't
belie
v
e
I wa
s
doing stacks wrong this whole
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-09-19
Dan C
a
r
pen
t
e
r
C
hanged s
m
a
t
ch s
t
ate f
r
om be
i
n
g
an
i
nt to being pointer
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-09-17
Dan Carpenter
I want to reuse the name smat
c
h_s
t
a
t
e
.
The current
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-09-17
Dan Car
p
enter
Redo the n
u
ll pa
t
h
t
hing
.
S
o long
a
s th
e
r
e
i
s
one
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-09-17
Dan Carpen
t
er
Clean u
p
.
Comp
l
icated is j
u
st
a boolean
.
Set
i
t to
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-09-01
Dan
C
arpenter
Merge br
a
nch 'de
v
e
l'
commit
|
commitdiff
|
tree
2008-09-01
Dan Carpenter
S
ave the pr
e
condi
t
ions inside
the con
d
itions so
t
hat
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-09-01
D
a
n Carpenter
The main change
h
e
re wa
s
to compl
e
tely rewr
i
t
e
how
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-21
Da
n
Carpent
e
r
B
r
eak things out
into functions a b
i
t
.
Clean
ups
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-21
Da
n
Carpent
e
r
Handle while and for loops slightly better
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-18
Dan Carpe
n
t
er
I removed nullify_path() earlier but
t
hat was a mistake
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-17
Dan Carpenter
I do
n
't think the
special_ker
n
el
_
macros() func
t
ion
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-17
Da
n
Carpenter
Add a
function
t
o do a s
t
rcmp() with a symbol nam
e
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-17
Dan Carpe
n
ter
Remove everything to do
with path_i
d
's
.
I couldn't
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-17
Dan
C
arpenter
Repl
a
c
e the variable
__negate with
t
h
e function
_
_
n
ega
t
e()
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
next