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
(foo) = 1 is the same as foo = 1.
2008-09-21
Dan Carpenter
(foo
)
=
1
is the same as foo =
1
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-09-21
Dan Car
p
enter
Generalize
s
t
i
p_casts()
.
It's no
w
c
a
lled strip_expr
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-09-20
D
an
C
arpenter
Ignore
c
a
sts
.
foo((int *)&bar) is
th
e
same as foo
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-09-20
Dan Carpent
e
r
C
reated
sh
o
w
_
sta
t
e()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-09-20
Dan Carpenter
Ignor
e
stuf
f
like foo
.
bar
.
We only care about
f
o
o
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-09-20
D
a
n Carpenter
What
happens b
e
fo
r
e
i
s
that
parameters
would
ge
t
a
s
signed
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-09-19
Dan Carpenter
Missed
a
c
rashi
n
g
bug in the i
n
t
=> struct conve
r
s
i
on
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-09-19
Dan C
a
rp
e
nte
r
I c
a
n
'
t b
e
lieve I was doin
g
stacks wrong this
wh
o
l
e
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-09-19
Dan Carpenter
C
hanged
s
match state from bein
g
an int to being poin
t
er
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-09-17
Dan
Carpenter
I want to r
e
u
s
e
the name smatch_state
.
The cu
r
r
e
nt
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-09-17
D
a
n Carpent
e
r
Redo t
h
e
nu
l
l path t
h
i
n
g
.
So long as there is one
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-09-17
D
a
n Car
p
enter
C
l
ean up
.
Complicated
i
s
ju
s
t a boo
l
e
an
.
Set it
t
o
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-09-17
D
an Carpe
n
t
er
Arrays are complicated
s
o t
h
ey should
n
'
t b
e
returned by
Signed-off-by:
Dan Carpenter
<dcarpenter@error27@gmail.com>
commit
|
commitdiff
|
tree
2008-09-17
Dan Carpent
e
r
If we call set_st
a
te
f
rom
i
nsid
e
a condition then it
.
.
.
Signed-off-by:
Dan Carpenter
<dcarpenter@usbsys.site>
commit
|
commitdiff
|
tree
2008-09-17
Dan
C
ar
p
enter
If the pointer
i
s
i
n
i
tializ
e
d t
o
non-null then set
.
.
.
Signed-off-by:
Dan Carpenter
<dcarpenter@usbsys.site>
commit
|
commitdiff
|
tree
2008-09-15
Dan Carpen
t
er
i
gnore the smatch binar
y
.
Signed-off-by:
Dan Carpenter
<dcarpenter@error27@gmail.com>
commit
|
commitdiff
|
tree
2008-09-15
Dan
C
arpenter
When w
e
merge
2 slis
t
s we need to deal w
i
th the case
.
.
.
Signed-off-by:
Dan Carpenter
<dcarpenter@usbsys.site>
commit
|
commitdiff
|
tree
2008-09-14
Dan Carpenter
Clean ups
.
Signed-off-by:
Dan Carpenter
<dcarpenter@usbsys.site>
commit
|
commitdiff
|
tree
2008-09-13
Dan Carpen
t
er
Add nullify the path when you h
a
v
e for(;;);
Signed-off-by:
Dan Carpenter
<dcarpenter@usbsys.site>
commit
|
commitdiff
|
tree
2008-09-13
Dan Carpenter
Merge branch 'ls' into ultra
t
mp
commit
|
commitdiff
|
tree
2008-09-13
Dan Car
p
enter
Me
r
g
e
branch '
u
nnullif
y
' i
n
to ls
commit
|
commitdiff
|
tree
2008-09-13
Dan Carpenter
Lots of do wh
i
le(0) l
o
ops don't c
a
l
l
brea
k
so it doesn
.
.
.
Signed-off-by:
Dan Carpenter
<dcarpenter@usbsys.site>
commit
|
commitdiff
|
tree
2008-09-13
Dan Car
p
en
t
er
Re
m
ove
unnee
d
e
d
check
.
Signed-off-by:
Dan Carpenter
<dcarpenter@usbsys.site>
commit
|
commitdiff
|
tree
2008-09-08
Dan Carpenter
Fix o
r
_slist_stac
k
()
.
Before it just sav
e
d one
s
tack
.
.
.
Signed-off-by:
Dan Carpenter
<dcarpenter@usbsys.site>
commit
|
commitdiff
|
tree
2008-09-08
Dan Car
p
enter
c
r
ap c
r
ap crap
.
d
o
not
us
e
.
commit
|
commitdiff
|
tree
2008-09-07
Dan Car
p
e
nter
Clean
u
p
s and
a
d
d
some
__unn
u
llify_pat
h
stuff
.
Ho
p
efully
.
.
.
Signed-off-by:
Dan Carpenter
<dcarpenter@usbsys.site>
commit
|
commitdiff
|
tree
2008-09-07
Dan Ca
r
p
enter
Small cl
e
anup
.
got
o
_stac
k
sh
o
u
l
d
o
n
ly be
use
d
in s
m
a
t
ch
_
sta
.
.
.
Signed-off-by:
Dan Carpenter
<dcarpenter@usbsys.site>
commit
|
commitdiff
|
tree
2008-09-07
D
a
n Carpe
n
ter
Cl
e
an up
s
.
Signed-off-by:
Dan Carpenter
<dcarpenter@usbsys.site>
commit
|
commitdiff
|
tree
2008-09-06
Dan
C
arp
e
nter
Fix bug savin
g
the f
a
lse_only stack
.
B
e
fore code like
.
.
.
Signed-off-by:
Dan Carpenter
<dcarpenter@usbsys.site>
commit
|
commitdiff
|
tree
2008-09-06
D
a
n Carp
e
nter
This is the star
t
of the
s
match_ext
r
a stu
f
f
.
Signed-off-by:
Dan Carpenter
<dcarpenter@usbsys.site>
commit
|
commitdiff
|
tree
2008-09-06
Da
n
Carpe
n
ter
Fix overw
r
it
e
_
slis
t
() so it tak
e
s a pointer
t
o a poin
t
er
.
.
.
Signed-off-by:
Dan Carpenter
<dcarpenter@usbsys.site>
commit
|
commitdiff
|
tree
2008-09-06
Dan Ca
r
p
e
nter
Make smatc
h
_extra depend on smatc
h
.
h
Signed-off-by:
Dan Carpenter
<dcarpenter@usbsys.site>
commit
|
commitdiff
|
tree
2008-09-02
Dan Car
p
enter
M
ove is_zero()
to smatch_helper
.
c
Signed-off-by:
Dan Carpenter
<dcarpenter@usbsys.site>
commit
|
commitdiff
|
tree
2008-09-01
Dan
C
a
r
p
enter
Fix a big bug
.
get_state_slis
t
() was always getting
.
.
.
Signed-off-by:
Dan Carpenter
<dcarpenter@usbsys.site>
commit
|
commitdiff
|
tree
2008-09-01
Da
n
Carpenter
Merge
.
.
/
.
.
/sma
t
ch
/
de
v
el
Signed-off-by:
Dan Carpenter
<dcarpenter@usbsys.site>
commit
|
commitdiff
|
tree
2008-09-01
D
an
C
a
rpenter
Mer
g
e
branc
h
'
deve
l
'
commit
|
commitdiff
|
tree
2008-09-01
Dan
C
a
r
pe
n
ter
Save t
h
e pre
c
onditions insi
d
e the co
n
d
ition
s
so
th
a
t
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-09-01
Dan
C
ar
p
ente
r
The main
c
hange
h
ere
w
as to co
m
plet
e
ly re
w
rite how
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-21
Dan Carp
e
nter
Br
e
ak things out
i
n
t
o fu
n
c
t
io
n
s a bit
.
Cle
a
n ups
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-21
D
a
n
Carpenter
Handle while and for
l
oops slightly better
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-18
Dan C
a
r
p
en
t
e
r
I
r
emoved nullif
y
_
p
ath
(
) earlier but t
h
at was a m
i
stake
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-17
Dan Carpen
t
er
I don't think th
e
s
p
ecial_kernel_macro
s
(
)
fu
n
ction
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-17
Dan C
a
rpe
n
t
e
r
Add a
f
unction to do a strc
m
p
() with
a
symbol
n
ame
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-17
D
a
n
C
arpenter
Remove e
v
ery
t
hing t
o
do with
pa
t
h
_
id's
.
I could
n
'
t
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-17
Dan Carpenter
Replace the variable
_
_negate with the functi
o
n __ne
g
ate()
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-17
Dan C
a
r
pe
n
ter
Small c
l
ean u
p
.
Move
the passi
n
g t
h
e whole co
n
dition
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-17
Dan Carpe
n
t
e
r
Crap
.
I
m
eant
t
o
m
e
rge t
h
is ea
r
lier when I
divid
e
d
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-17
Dan Carpenter
Add
a comm
e
nt
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-17
Dan Carpenter
Mo
v
ed all
t
he
logic for handling con
d
i
tions into
a
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-17
Dan Carpenter
Oops
.
I guess I
d
el
e
ted the wro
n
g list
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-17
D
a
n
Carpenter
Don
'
t
pass
t
he con
t
en
t
s of sizeo
f
() to th
e
c
lient
.
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-16
Dan Carpenter
Improve ho
w
the debug info for merging sta
t
e
s gets
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-16
Dan Carp
e
nter
The
m
ain
thing is to handle zero comparisons bette
r
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-16
Dan C
a
rpente
r
Remove un
n
eeded code
.
This
stuff is hand
l
ed in smat
c
h_f
l
ow
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-16
Da
n
Carpenter
We need to be able to break dow
n
(
f
oo != 0) fo
r
BUG_ON
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-15
Dan
Carpenter
Ide
n
t
i
fy f
o
r
(;;) type loops a
s
forever loops
.
This
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-15
Da
n
Carpen
t
er
A
dd
sup
p
ort for BUG_ON(
)
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-15
Da
n
C
a
r
p
e
nter
Wh
a
t
I've seen is stuff like
t
his:
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-15
Dan C
a
rpente
r
Anything t
h
at we
d
o
n't handle is obviousl
y
c
omplicated
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-15
Dan Carpe
n
t
e
r
Merge bra
n
ch 'd
e
vel'
commit
|
commitdiff
|
tree
2008-08-15
Dan Carpenter
Add a comment
t
o
get_va
r
i
able_from_expr_simple()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-15
Dan Carp
e
nt
e
r
A
dd a comme
n
t
to get_va
r
i
able_from
_
expr_simple()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-15
Dan Carpen
t
er
The
n
u
l
lify_p
a
th() here
i
s a bug
.
It
o
ver-writes al
l
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-15
Dan
Carpenter
__
p
rint_cur_slist
(
)
is
a
useful
f
unction for
debuggi
n
g
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-15
Dan C
a
r
pe
n
ter
If you
have something like
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-13
Da
n
Carpenter
Update
t
he
l
ine
n
umber
s
for each statement
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-13
D
a
n Carpenter
Change the merge rules
f
or cu
s
tom
merg
e
scripts so
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-13
Dan Ca
r
p
e
nter
Move SM_
D
EBUG to a
hea
d
er
s
o everyo
n
e can use it
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-13
Dan Carpenter
Add a cus
t
o
m
m
erge
function
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-11
Da
n
C
arpenter
Update the line n
u
mb
e
r at the
very start of the function
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-10
Dan Ca
r
pe
n
ter
Cha
n
g
e
t
he debug out
p
ut
a bit
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-09
Dan Carpenter
Add a --debug option
.
It h
a
s
to
be t
h
e first o
p
tion
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-07
Dan Carpenter
Mak
e
sure the v
a
riable name is NULL term
i
nated
o
therwise
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-07
D
a
n Ca
r
penter
Small c
l
e
a
n ups
.
No
change in beh
a
vior
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-06
Dan Carpenter
This
i
s an off by one er
r
or
r
eal
l
y
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-05
Dan Carpenter
T
he sparse_initi
a
lize()
func
t
i
o
n now takes
a
f
i
lelist
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-05
Dan Carpenter
Re
m
ove an
off b
y
one
error detecting t
h
e end
o
f the
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-05
Dan Carpent
e
r
Patc
h
i
t
w
it
h
the s
t
uff from the web
commit
|
commitdiff
|
tree
2008-08-05
Dan Carpenter
This is
an
u
n
modified
t
ar b
a
ll
.
commit
|
commitdiff
|
tree