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
Clear the returns lists at the end of each function.
2008-09-20
Dan
Carpenter
Created s
h
ow_state()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-09-20
Dan Carpente
r
Ignor
e
stuff
like f
o
o
.
b
a
r
.
We only ca
r
e
ab
o
ut foo
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-09-20
Dan
C
arp
e
nter
What ha
p
pens before is
that param
e
ters
w
ould get ass
i
gned
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-09-19
Dan Carpe
n
ter
Missed a
crashin
g
bug in the int => struct co
n
versio
n
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-09-19
D
a
n Carpenter
I can'
t
be
l
ieve I was doing s
t
a
c
ks wrong t
h
is whole
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-09-19
Dan Car
p
enter
Changed smatch
s
tate from
b
e
i
ng a
n
i
n
t to bein
g
poi
n
t
e
r
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-09-17
D
an Carpe
n
te
r
I want to r
e
use th
e
n
a
me smatch_state
.
The current
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-09-17
Dan Carpenter
Redo the null path
t
hing
.
So long
as there
i
s one
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-09-17
D
a
n Carpenter
C
lean
u
p
.
C
o
mplicated
is
jus
t
a boolean
.
S
et it to
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-09-17
Dan Carpen
t
er
Arr
a
ys
are complicated so
the
y
s
h
ouldn't b
e
returned by
Signed-off-by:
Dan Carpenter
<dcarpenter@error27@gmail.com>
commit
|
commitdiff
|
tree
2008-09-17
Dan Car
p
ente
r
If we call set
_
state from inside a condition
t
h
e
n
it
.
.
.
Signed-off-by:
Dan Carpenter
<dcarpenter@usbsys.site>
commit
|
commitdiff
|
tree
2008-09-17
Dan Carpenter
If the pointer is initialized
to non-null
th
e
n
s
et
.
.
.
Signed-off-by:
Dan Carpenter
<dcarpenter@usbsys.site>
commit
|
commitdiff
|
tree
2008-09-15
D
an Carpenter
i
g
nor
e
th
e
smatch binary
.
Signed-off-by:
Dan Carpenter
<dcarpenter@error27@gmail.com>
commit
|
commitdiff
|
tree
2008-09-15
Dan C
a
rpenter
When we
m
erge 2 sl
i
sts we need to
deal with the case
.
.
.
Signed-off-by:
Dan Carpenter
<dcarpenter@usbsys.site>
commit
|
commitdiff
|
tree
2008-09-14
D
an Carpente
r
Clean ups
.
Signed-off-by:
Dan Carpenter
<dcarpenter@usbsys.site>
commit
|
commitdiff
|
tree
2008-09-13
Dan Carpent
e
r
A
dd n
u
l
l
ify the
path when yo
u
ha
v
e for
(
;
;
);
Signed-off-by:
Dan Carpenter
<dcarpenter@usbsys.site>
commit
|
commitdiff
|
tree
2008-09-13
Dan
Ca
r
pent
e
r
Merge branch
'ls' i
n
to ultr
a
tmp
commit
|
commitdiff
|
tree
2008-09-13
D
a
n Car
p
enter
M
e
rge
br
a
nch 'u
n
n
ulli
f
y'
into ls
commit
|
commitdiff
|
tree
2008-09-13
Dan Carpenter
Lots of do while
(
0)
l
oops
d
o
n't ca
l
l break
so it
do
e
s
n
.
.
.
Signed-off-by:
Dan Carpenter
<dcarpenter@usbsys.site>
commit
|
commitdiff
|
tree
2008-09-13
Dan Carpenter
R
e
m
ove u
n
n
eeded check
.
Signed-off-by:
Dan Carpenter
<dcarpenter@usbsys.site>
commit
|
commitdiff
|
tree
2008-09-08
Dan C
a
rpenter
Fix or_slist_stack()
.
Bef
o
r
e
it
just saved one stack
.
.
.
Signed-off-by:
Dan Carpenter
<dcarpenter@usbsys.site>
commit
|
commitdiff
|
tree
2008-09-08
Dan C
a
rpenter
crap crap crap
.
do n
o
t use
.
commit
|
commitdiff
|
tree
2008-09-07
Dan Carpenter
Cle
a
n ups and add some __
u
nn
u
llify_pat
h
stuff
.
Hopefull
y
.
.
.
Signed-off-by:
Dan Carpenter
<dcarpenter@usbsys.site>
commit
|
commitdiff
|
tree
2008-09-07
Dan Carpe
n
ter
Small c
l
e
a
nup
.
goto_
s
t
a
ck
s
h
ou
l
d on
l
y be used in
s
match_
s
ta
.
.
.
Signed-off-by:
Dan Carpenter
<dcarpenter@usbsys.site>
commit
|
commitdiff
|
tree
2008-09-07
D
a
n Carpenter
Clean ups
.
Signed-off-by:
Dan Carpenter
<dcarpenter@usbsys.site>
commit
|
commitdiff
|
tree
2008-09-06
Dan Carpente
r
F
i
x bug sa
v
ing
t
he
false
_
only stack
.
Befo
r
e code like
.
.
.
Signed-off-by:
Dan Carpenter
<dcarpenter@usbsys.site>
commit
|
commitdiff
|
tree
2008-09-06
Dan C
a
rpenter
This is the
start
of the
sma
t
ch
_
extra
stu
f
f
.
Signed-off-by:
Dan Carpenter
<dcarpenter@usbsys.site>
commit
|
commitdiff
|
tree
2008-09-06
Dan Car
p
enter
Fix ove
r
write_slist() so it takes a poin
t
er to a pointe
r
.
.
.
Signed-off-by:
Dan Carpenter
<dcarpenter@usbsys.site>
commit
|
commitdiff
|
tree
2008-09-06
Dan
C
a
rpen
t
er
Make smatch_extra de
p
e
nd
on
s
mat
c
h
.
h
Signed-off-by:
Dan Carpenter
<dcarpenter@usbsys.site>
commit
|
commitdiff
|
tree
2008-09-02
Da
n
Carpenter
M
o
ve is_ze
r
o(
)
to smatc
h
_he
l
pe
r
.
c
Signed-off-by:
Dan Carpenter
<dcarpenter@usbsys.site>
commit
|
commitdiff
|
tree
2008-09-01
Dan Carpenter
Fix
a
big
bug
.
g
et_sta
t
e_
s
list() was always gett
i
n
g
.
.
.
Signed-off-by:
Dan Carpenter
<dcarpenter@usbsys.site>
commit
|
commitdiff
|
tree
2008-09-01
Dan Car
p
enter
Merge
.
.
/
.
.
/smatch/devel
Signed-off-by:
Dan Carpenter
<dcarpenter@usbsys.site>
commit
|
commitdiff
|
tree
2008-09-01
Dan Carpenter
Merge bra
n
ch 'devel'
commit
|
commitdiff
|
tree
2008-09-01
Dan Carpenter
Sa
v
e the pre con
d
itions inside the condi
t
i
ons so t
h
at
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-09-01
Dan C
a
rpe
n
ter
The main change
h
ere
was
t
o completely
rewrite ho
w
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-21
Dan Carpenter
Brea
k
things out in
t
o functions a bit
.
Clean ups
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-21
Dan
C
arpe
n
ter
Handle while
a
nd
f
o
r loops slightly b
e
tter
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-18
Da
n
Carpen
t
e
r
I
remove
d
nullify_path() e
a
rlier but th
a
t was a mistake
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-17
Dan C
a
rpe
n
ter
I
d
on't think t
h
e special_kern
e
l
_macr
o
s() functi
o
n
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-17
Da
n
C
a
rpen
t
er
Add a function to do a strcmp()
w
i
th
a
s
y
mbol name
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-17
D
a
n Carp
e
nte
r
Remove everything to d
o
with p
a
th_id's
.
I could
n
'
t
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-17
Dan Carpenter
R
e
place the var
i
a
b
le
__
n
ega
t
e with the function __negate()
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-17
D
a
n Carpe
n
ter
S
mall clean up
.
Move the
passing th
e
whol
e
condition
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-17
Dan Carpenter
C
r
ap
.
I
m
eant to m
e
rge this
earl
i
er when I divi
d
ed
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-17
Dan Carpenter
Add a commen
t
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-17
Dan Carp
e
nter
Moved all the l
o
gic
f
or h
a
ndling condition
s
into a
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-17
Dan Carpenter
Oops
.
I
guess I delete
d
th
e
wrong li
s
t
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-17
Dan Carpenter
Don
'
t pass the c
o
ntents of sizeo
f
() t
o
t
h
e c
l
ient
.
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-16
Dan Ca
r
p
e
nter
Improve how the debu
g
inf
o
for merging stat
e
s gets
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-16
Dan Carp
e
nter
T
h
e
m
ain thing i
s
to handle zero comparisons b
e
tter
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-16
Dan Carpen
t
er
Re
m
ove unneed
e
d code
.
This stuf
f
is handled i
n
sm
a
tch_f
l
ow
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-16
D
an Carpent
e
r
We nee
d
to
be able to
break down (foo !
=
0) for BUG_ON
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-15
Dan Carpente
r
Id
e
ntif
y
for(;;)
type loops as forever loo
p
s
.
This
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-15
Dan Carpen
t
er
Add supp
o
rt fo
r
BUG_ON()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-15
D
a
n Carpen
t
er
What I
'
v
e seen is stuff like this:
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-15
Dan Carpenter
Anything that we do
n
't handle is ob
v
i
o
usly c
o
m
plicated
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-15
Da
n
Carp
e
nter
Merge branch 'devel'
commit
|
commitdiff
|
tree
2008-08-15
Dan
Carpenter
Add a c
o
mment to get_va
r
i
able_
f
rom_expr_simple
(
)
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-15
D
a
n Carpente
r
Add a c
o
mment t
o
g
e
t
_varia
b
le_from_expr_simple()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-15
Dan
C
arp
e
nter
T
h
e nullify_pa
t
h
()
her
e
is a b
u
g
.
I
t
over-writes all
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-15
Dan Carpenter
__pri
n
t_cur_slist()
i
s
a useful func
t
ion
for
d
eb
u
gging
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-15
Dan Carpenter
If you have
s
omething l
i
ke
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-13
Dan
C
arpenter
Update the
l
ine numbers for each statement
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-13
Dan Ca
r
penter
C
hang
e
the merge rules
for custom
merge scripts so
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-13
Dan Carp
e
nter
Move SM
_
DEBUG to a he
a
der so everyone ca
n
u
s
e it
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-13
Dan Carpent
e
r
A
d
d a
custom
merge function
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-11
Dan Car
p
enter
Update the
l
ine nu
m
ber
at t
h
e
very s
t
art of
t
he funct
i
on
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-10
D
a
n Carpen
t
er
Change
the debug o
u
tpu
t
a bit
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-09
Dan Carpent
e
r
Add a --deb
u
g
option
.
It has to be the
f
irst option
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-07
Dan
Car
p
ent
e
r
M
ake sure the
va
r
iable
n
a
me is
N
ULL t
e
rminated otherwis
e
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-07
Dan
C
arp
e
nter
Smal
l
clean u
p
s
.
No change in behavior
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-06
Dan Carpenter
This is an o
f
f
b
y o
n
e error really
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-05
D
an Carpe
n
ter
The
s
parse
_
in
i
tializ
e
()
fun
c
tion
n
o
w
take
s
a filelist
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-05
D
a
n
Carpent
e
r
Remove an
o
f
f
by one
e
rror detec
t
ing
t
h
e
end of the
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-05
Dan Carpenter
Patch i
t
with the stuff from the web
commit
|
commitdiff
|
tree
2008-08-05
Dan Carpenter
T
h
is is
an unmod
i
fied tar ball
.
commit
|
commitdiff
|
tree