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
What happens before is that parameters would get assigned in one path but
2008-09-20
D
an Carpenter
Wh
a
t
h
appens
b
e
f
o
r
e is that pa
r
ameters
w
oul
d
g
e
t
a
ssign
e
d
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-09-19
Dan Ca
r
penter
Missed
a
crash
i
ng
bug i
n
the int => struct conversion
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-09-19
Dan Carpente
r
I can't believe I was doi
n
g
stacks wr
o
n
g this whole
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-09-19
Dan Carpent
e
r
Changed
s
match state fr
o
m
being an
i
nt to b
e
ing pointer
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-09-17
Dan Carpenter
I want
to
r
e
use the name smatch_sta
t
e
.
The current
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-09-17
D
a
n Ca
r
p
ente
r
R
e
do the null pat
h
thin
g
.
S
o
l
o
n
g as there is one
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-09-17
Dan Carpe
n
ter
Clean up
.
Comp
l
i
cate
d
is just a boolean
.
S
e
t it
t
o
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-09-17
Dan Carpenter
Arrays are co
m
p
licated so the
y
shouldn't be returned by
Signed-off-by:
Dan Carpenter
<dcarpenter@error27@gmail.com>
commit
|
commitdiff
|
tree
2008-09-17
Dan
Carpenter
If we
call s
e
t_state from inside a condit
i
on then it
.
.
.
Signed-off-by:
Dan Carpenter
<dcarpenter@usbsys.site>
commit
|
commitdiff
|
tree
2008-09-17
D
an Car
p
enter
If
th
e
po
i
nter is i
n
i
t
ialized t
o
n
o
n-null
t
hen set
.
.
.
Signed-off-by:
Dan Carpenter
<dcarpenter@usbsys.site>
commit
|
commitdiff
|
tree
2008-09-15
D
an Carpent
e
r
i
g
nore the smatch binary
.
Signed-off-by:
Dan Carpenter
<dcarpenter@error27@gmail.com>
commit
|
commitdiff
|
tree
2008-09-15
D
an
C
ar
p
ente
r
When we merge 2 slists we need to
deal wi
t
h the case
.
.
.
Signed-off-by:
Dan Carpenter
<dcarpenter@usbsys.site>
commit
|
commitdiff
|
tree
2008-09-14
Dan Ca
r
penter
Cl
e
an
u
ps
.
Signed-off-by:
Dan Carpenter
<dcarpenter@usbsys.site>
commit
|
commitdiff
|
tree
2008-09-13
Dan Car
p
e
n
ter
Add
nulli
f
y the pa
t
h when
y
ou ha
v
e for(;
;
);
Signed-off-by:
Dan Carpenter
<dcarpenter@usbsys.site>
commit
|
commitdiff
|
tree
2008-09-13
D
an Carpenter
Merge branch 'ls' into ultratmp
commit
|
commitdiff
|
tree
2008-09-13
Dan Carpenter
Mer
g
e branch 'unnullify'
i
n
to ls
commit
|
commitdiff
|
tree
2008-09-13
D
a
n Carpenter
Lots of
d
o while(0) loops do
n
't call break so it d
o
esn
.
.
.
Signed-off-by:
Dan Carpenter
<dcarpenter@usbsys.site>
commit
|
commitdiff
|
tree
2008-09-13
Dan Carpenter
R
e
move unneeded chec
k
.
Signed-off-by:
Dan Carpenter
<dcarpenter@usbsys.site>
commit
|
commitdiff
|
tree
2008-09-08
Dan
C
a
rpent
e
r
Fix
o
r
_slist_st
a
ck()
.
B
e
fore
i
t just saved o
n
e
s
tack
.
.
.
Signed-off-by:
Dan Carpenter
<dcarpenter@usbsys.site>
commit
|
commitdiff
|
tree
2008-09-08
Dan
Carpe
n
ter
crap cra
p
c
r
ap
.
do not use
.
commit
|
commitdiff
|
tree
2008-09-07
Dan Carpenter
C
l
ea
n
ups
a
nd a
d
d some _
_
unnullify_path
s
tuff
.
H
o
pefull
y
.
.
.
Signed-off-by:
Dan Carpenter
<dcarpenter@usbsys.site>
commit
|
commitdiff
|
tree
2008-09-07
D
a
n Car
p
enter
Small cl
e
anup
.
goto_s
t
a
ck should only
be used in s
m
atc
h
_sta
.
.
.
Signed-off-by:
Dan Carpenter
<dcarpenter@usbsys.site>
commit
|
commitdiff
|
tree
2008-09-07
Dan
C
arpenter
Clean ups
.
Signed-off-by:
Dan Carpenter
<dcarpenter@usbsys.site>
commit
|
commitdiff
|
tree
2008-09-06
Dan Carpe
n
ter
Fix bug saving the false_on
l
y
st
a
c
k
.
Befor
e
code li
k
e
.
.
.
Signed-off-by:
Dan Carpenter
<dcarpenter@usbsys.site>
commit
|
commitdiff
|
tree
2008-09-06
D
a
n Carpenter
Thi
s
is the st
a
rt o
f
the smatch_
e
xt
r
a stuff
.
Signed-off-by:
Dan Carpenter
<dcarpenter@usbsys.site>
commit
|
commitdiff
|
tree
2008-09-06
Dan Carpenter
Fix ove
r
write_slist() so it t
a
kes a po
i
nter to a pointer
.
.
.
Signed-off-by:
Dan Carpenter
<dcarpenter@usbsys.site>
commit
|
commitdiff
|
tree
2008-09-06
Dan Carpenter
Make smatch_e
x
tra
d
epend on smatch
.
h
Signed-off-by:
Dan Carpenter
<dcarpenter@usbsys.site>
commit
|
commitdiff
|
tree
2008-09-02
Dan
Car
p
ent
e
r
Move
i
s_zero() to sma
t
ch_helper
.
c
Signed-off-by:
Dan Carpenter
<dcarpenter@usbsys.site>
commit
|
commitdiff
|
tree
2008-09-01
Dan Ca
r
penter
Fi
x
a big bug
.
get_s
t
ate
_
sl
i
st() was a
l
way
s
ge
t
ting
.
.
.
Signed-off-by:
Dan Carpenter
<dcarpenter@usbsys.site>
commit
|
commitdiff
|
tree
2008-09-01
Dan Carpenter
Merge
.
.
/
.
.
/
smatch/d
e
vel
Signed-off-by:
Dan Carpenter
<dcarpenter@usbsys.site>
commit
|
commitdiff
|
tree
2008-09-01
Dan Carpe
n
te
r
M
erg
e
b
r
anc
h
'devel'
commit
|
commitdiff
|
tree
2008-09-01
Dan Carpenter
S
ave t
h
e pre conditions
insi
d
e the conditions so t
h
at
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-09-01
Dan Carpenter
The main cha
n
ge
h
er
e
was to
completely rewrite
how
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-21
Da
n
C
arpenter
Break
t
h
i
n
g
s out into func
t
ions a bit
.
C
lean ups
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-21
Dan Carpent
e
r
Handle while and fo
r
l
oops
s
lightly
b
etter
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-18
Dan Carpente
r
I re
m
oved nullify_path() earlier but
t
hat
was a mist
a
ke
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-17
Dan Carpe
n
ter
I don't think th
e
s
p
ecial_kernel_
m
ac
r
o
s()
f
un
c
tion
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-17
Dan
C
arpenter
Add
a
f
unction to do a
strcm
p
(
)
with a symbo
l
name
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-17
Dan Carpenter
Remove everything to
do with
p
ath_id's
.
I
couldn't
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-17
Dan Ca
r
penter
Replace the
v
ariable __
n
e
g
a
te
with
t
he
f
unction
_
_
n
egate()
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-17
Dan
C
arpent
e
r
Sm
a
ll clean up
.
Move the passing the whole conditio
n
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-17
Dan Carpenter
Cra
p
.
I meant to merge this
earlier when I divided
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-17
Dan Carpent
e
r
Add a comment
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-17
Dan Carpenter
M
o
v
ed
all the log
i
c for handling conditions int
o
a
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-17
Dan Carpenter
Oops
.
I gu
e
ss I delet
e
d th
e
wrong list
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-17
Dan Carpen
t
er
D
o
n
'
t pass th
e
c
ontent
s
of sizeof() to the
client
.
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-16
Dan Carpenter
Impr
o
ve how the debug info for me
r
ging s
t
ates gets
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-16
Dan Carpenter
The ma
i
n thing
is to handle zero compar
i
s
o
ns b
e
tte
r
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-16
Dan Carpenter
Remove unne
e
ded co
d
e
.
This st
u
f
f
is h
a
ndled in
s
m
a
t
ch_flow
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-16
D
an Carpenter
We need to b
e
a
ble t
o
break
dow
n
(
f
oo !=
0) for B
U
G_ON
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-15
D
a
n Carpenter
Identify for(;;)
type
l
oops as for
e
ver l
o
o
ps
.
Thi
s
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-15
Dan Carpenter
Add sup
p
ort for BUG_
O
N()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-15
Dan
C
a
rpent
e
r
What I've seen
is stuff like this:
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-15
Dan Car
p
e
n
ter
An
y
t
h
ing that w
e
don't h
a
ndl
e
i
s obviously complic
a
ted
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-15
Da
n
Carpente
r
Merge bran
c
h 'devel'
commit
|
commitdiff
|
tree
2008-08-15
Dan
C
a
r
penter
Add a
c
omm
e
nt to get_variable_fr
o
m_e
x
pr_
s
imple()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-15
Dan Carp
e
nter
Add
a com
m
e
nt
t
o
g
et_variab
l
e
_
fr
o
m_expr_simple()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-15
D
a
n
Car
p
enter
The n
u
lli
f
y_path() here is a bug
.
It over-write
s
all
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-15
D
a
n
Carp
e
n
ter
__print_cur_
s
lis
t
(
) is a
useful function
f
or debugging
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-15
D
an C
a
rpe
n
ter
If you
hav
e
something
l
ike
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-13
Dan
C
arpenter
U
pda
t
e the l
i
ne number
s
for each statem
e
n
t
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-13
Dan
C
a
rpenter
Change the
merge rules
f
or custom merge scripts s
o
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-13
Dan Carpenter
M
ove SM_DEBUG to a header so
every
o
ne can use it
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-13
Dan
Carpenter
Add a custom m
e
rge
f
unction
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-11
Dan C
a
rpenter
Up
d
ate
the
line number
at th
e
ve
r
y s
t
art of the
f
unction
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-10
Dan Carpent
e
r
Ch
a
n
g
e the debu
g
output a
b
i
t
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-09
D
an Carp
e
nter
Add a --debug option
.
It has to b
e
the first option
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-07
Da
n
Carpenter
Make sure th
e
v
a
riabl
e
name
is
NULL te
r
min
a
t
e
d otherwise
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-07
Da
n
Ca
r
p
ent
e
r
Small c
l
e
a
n ups
.
N
o
ch
a
nge in
behavior
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-06
Dan Carpente
r
This is an off
by one error really
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-05
Dan Carp
e
nter
The sparse_in
i
tialize() function n
o
w
take
s
a filelist
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-05
Dan
C
arpenter
Remov
e
an off by one error detec
t
ing the end
of the
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-05
Dan Ca
r
pen
t
er
P
atch it
w
ith
t
he stuf
f
from the web
commit
|
commitdiff
|
tree
2008-08-05
Dan
C
a
rpenter
This
i
s an
u
nmod
i
fied ta
r
ball
.
commit
|
commitdiff
|
tree