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
Call the merge_hook() instead of setting the state to &undefined.
2008-09-21
D
an Carpenter
(foo)
= 1
is the sam
e
as
foo = 1
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-09-21
D
an
Carpent
e
r
Generalize stip_casts()
.
It's now called strip
_
e
x
pr
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-09-20
Da
n
Carp
e
n
ter
I
g
nore
c
a
sts
.
foo((int *)&
b
ar) is th
e
same as foo
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-09-20
D
an Carpenter
Crea
t
e
d show
_
s
t
ate
(
)
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-09-20
D
an Car
p
e
n
ter
Ignore stuf
f
li
k
e foo
.
b
a
r
.
We only care about foo
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-09-20
D
a
n Carpenter
What h
a
ppens before
i
s that parameters would get
a
ssigned
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-09-19
Da
n
C
a
rpen
t
er
Missed a crashing bug in the int =>
s
truct conversio
n
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-09-19
Dan
C
arpe
n
ter
I c
a
n't
believe
I
wa
s
doi
n
g stacks wr
o
ng th
i
s
whole
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-09-19
Dan
C
arpen
t
er
Changed smatch state f
r
om being a
n
in
t
to being
pointer
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-09-17
Dan Car
p
enter
I
want t
o
r
eus
e
the na
m
e sma
t
ch_state
.
The current
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-09-17
Da
n
Carpenter
Re
d
o the null path
t
hing
.
So
l
ong as there is o
n
e
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-09-17
Dan Carpe
n
ter
Clea
n
up
.
Compl
i
cat
e
d is j
u
s
t a boolean
.
S
e
t
i
t
to
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-09-17
Dan
C
arpenter
Arrays a
r
e compl
i
cated so t
h
ey shouldn't be returned
by
Signed-off-by:
Dan Carpenter
<dcarpenter@error27@gmail.com>
commit
|
commitdiff
|
tree
2008-09-17
Dan Carpen
t
e
r
If we
c
a
l
l
s
et_state f
r
om inside a condition then
i
t
.
.
.
Signed-off-by:
Dan Carpenter
<dcarpenter@usbsys.site>
commit
|
commitdiff
|
tree
2008-09-17
Dan Ca
r
pent
e
r
If the pointer is initialized to non-
n
ull then se
t
.
.
.
Signed-off-by:
Dan Carpenter
<dcarpenter@usbsys.site>
commit
|
commitdiff
|
tree
2008-09-15
Dan Carpenter
i
g
nore the smatch b
i
nary
.
Signed-off-by:
Dan Carpenter
<dcarpenter@error27@gmail.com>
commit
|
commitdiff
|
tree
2008-09-15
Dan C
a
rpenter
When we merge 2
slists we need t
o
d
e
al with the
c
ase
.
.
.
Signed-off-by:
Dan Carpenter
<dcarpenter@usbsys.site>
commit
|
commitdiff
|
tree
2008-09-14
Dan Carp
e
nter
Clean ups
.
Signed-off-by:
Dan Carpenter
<dcarpenter@usbsys.site>
commit
|
commitdiff
|
tree
2008-09-13
Dan
C
a
rpente
r
Add
n
u
l
l
ify
the path when you have
f
or(;;);
Signed-off-by:
Dan Carpenter
<dcarpenter@usbsys.site>
commit
|
commitdiff
|
tree
2008-09-13
Dan Carpenter
Merge bra
n
c
h
'ls' into ult
r
atmp
commit
|
commitdiff
|
tree
2008-09-13
D
a
n
Carpenter
Merge
branch '
u
nn
u
llif
y
'
i
nto ls
commit
|
commitdiff
|
tree
2008-09-13
Dan Carpenter
L
ots of do while(0) loops
d
on't c
a
ll b
r
eak so it doesn
.
.
.
Signed-off-by:
Dan Carpenter
<dcarpenter@usbsys.site>
commit
|
commitdiff
|
tree
2008-09-13
Dan Carpenter
Remove un
n
eed
e
d check
.
Signed-off-by:
Dan Carpenter
<dcarpenter@usbsys.site>
commit
|
commitdiff
|
tree
2008-09-08
Dan C
a
r
p
enter
Fix or_slist_stack()
.
Bef
o
re it just saved one stack
.
.
.
Signed-off-by:
Dan Carpenter
<dcarpenter@usbsys.site>
commit
|
commitdiff
|
tree
2008-09-08
Dan Carpente
r
crap
c
rap crap
.
d
o no
t
u
se
.
commit
|
commitdiff
|
tree
2008-09-07
Dan Carpenter
Cle
a
n ups and add
some __unnulli
f
y_path s
t
uff
.
Hopefully
.
.
.
Signed-off-by:
Dan Carpenter
<dcarpenter@usbsys.site>
commit
|
commitdiff
|
tree
2008-09-07
Dan Carpe
n
t
e
r
Small cleanup
.
goto_
s
t
a
ck should only be us
e
d in smatc
h
_sta
.
.
.
Signed-off-by:
Dan Carpenter
<dcarpenter@usbsys.site>
commit
|
commitdiff
|
tree
2008-09-07
Dan
C
a
rpen
t
er
Clean ups
.
Signed-off-by:
Dan Carpenter
<dcarpenter@usbsys.site>
commit
|
commitdiff
|
tree
2008-09-06
Dan Carpen
t
er
Fi
x
bug
s
av
i
ng the fals
e
_onl
y
s
t
ack
.
B
e
f
ore
c
o
de lik
e
.
.
.
Signed-off-by:
Dan Carpenter
<dcarpenter@usbsys.site>
commit
|
commitdiff
|
tree
2008-09-06
D
an Carpenter
This
is t
h
e start
of the smatch
_
extra stuff
.
Signed-off-by:
Dan Carpenter
<dcarpenter@usbsys.site>
commit
|
commitdiff
|
tree
2008-09-06
Dan Ca
r
penter
Fix overwrite_sl
i
st() s
o
it takes a pointer to a pointer
.
.
.
Signed-off-by:
Dan Carpenter
<dcarpenter@usbsys.site>
commit
|
commitdiff
|
tree
2008-09-06
Dan Carpenter
Make smatch_
e
x
t
ra de
p
end on smatch
.
h
Signed-off-by:
Dan Carpenter
<dcarpenter@usbsys.site>
commit
|
commitdiff
|
tree
2008-09-02
Dan Carpente
r
Move
is_zero() to smatc
h
_
helper
.
c
Signed-off-by:
Dan Carpenter
<dcarpenter@usbsys.site>
commit
|
commitdiff
|
tree
2008-09-01
Dan Carpente
r
F
i
x
a
b
ig bu
g
.
get_sta
t
e_slist() was alwa
y
s g
e
tting
.
.
.
Signed-off-by:
Dan Carpenter
<dcarpenter@usbsys.site>
commit
|
commitdiff
|
tree
2008-09-01
Dan Car
p
e
nter
Merge
.
.
/
.
.
/smat
c
h/devel
Signed-off-by:
Dan Carpenter
<dcarpenter@usbsys.site>
commit
|
commitdiff
|
tree
2008-09-01
D
an Carpenter
Merge b
r
a
nch
'
de
v
el'
commit
|
commitdiff
|
tree
2008-09-01
Dan Ca
r
pen
t
e
r
Save th
e
pre
cond
i
tio
n
s inside the condi
t
ions so th
a
t
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-09-01
Dan
C
a
r
p
e
nter
The main chang
e
h
e
re
w
as to completely rewrite ho
w
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-21
Dan Car
p
en
t
er
Brea
k
things
out i
n
to
functions a
b
i
t
.
Clean
ups
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-21
Da
n
C
arpenter
Handle while an
d
for loops slightly be
t
ter
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-18
Dan Carpe
n
ter
I
removed nullify
_
path()
ear
l
ier but that was a mistake
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-17
Dan Carpen
t
er
I
d
on't think
the
s
pec
i
al_k
e
r
nel_macr
o
s() fu
n
c
t
ion
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-17
D
a
n Carpenter
A
dd a function to do a strcmp() with a s
y
m
b
ol name
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-17
Dan Carpen
t
e
r
Remo
v
e everyth
i
ng t
o
do
w
ith p
a
th_id'
s
.
I couldn'
t
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-17
Dan Carpenter
Replace th
e
variable __negat
e
wi
t
h
the function __negate()
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-17
Dan C
a
rpe
n
te
r
Small clean up
.
M
o
ve th
e
pas
s
i
n
g the whole con
d
it
i
on
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-17
Dan Carpenter
Crap
.
I m
e
ant to merge this e
a
rlier when I divided
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-17
Dan Carpente
r
A
dd a com
m
ent
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-17
Dan Carp
e
nter
Moved
all the logic f
o
r handling conditions
i
nto a
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-17
Dan
C
ar
p
enter
Oops
.
I guess I deleted
the wrong list
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-17
Dan Car
p
enter
Don't pass the contents of sizeof
(
) to the client
.
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-16
Dan Carpen
t
er
Improv
e
how th
e
debug info for m
e
r
ging states
g
ets
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-16
D
an Carpe
n
te
r
The main thing
i
s
to
h
and
l
e
zero comparisons bet
t
er
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-16
Dan Carpent
e
r
R
emove unneeded code
.
This stuff is handled
i
n s
m
at
c
h_flow
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-16
Dan
C
arpenter
We need to
be able
to bre
a
k down (foo != 0) for B
U
G_ON
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-15
Dan Carpenter
Identify for(;;) type loops as
forever
loo
p
s
.
This
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-15
Dan Carpenter
A
d
d support for BUG_ON()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-15
D
an Ca
r
pent
e
r
Wh
a
t I've
s
een is st
u
f
f
like this:
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-15
Dan Carpenter
A
nyth
i
ng t
h
at we don't h
a
ndl
e
is obvi
o
usly c
o
mplicated
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-15
D
an Carpenter
Merge branch 'd
e
vel'
commit
|
commitdiff
|
tree
2008-08-15
Dan Carpenter
Add a comment
to
g
et_variable_f
r
om_expr_simple()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-15
Dan Carpenter
Add
a
comment to ge
t
_va
r
iable_from_expr_simple()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-15
Dan Ca
r
pen
t
er
The n
u
llify_
p
at
h
()
here is a bug
.
It over-write
s
a
ll
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-15
Dan Carpe
n
ter
__pri
n
t_cur
_
sl
i
s
t
(
) is a usefu
l
func
t
i
o
n
f
or
d
e
buggi
n
g
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-15
Dan
Carpenter
If you
have
s
omethi
n
g li
k
e
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-13
Dan
C
arpente
r
Upda
t
e
t
he line
numb
e
rs for each
s
t
at
e
ment
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-13
Dan Ca
r
penter
C
h
ange
the merge ru
l
es f
o
r custom merge script
s
so
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-13
Dan C
a
rpenter
Move S
M
_DEBUG to
a
header so everyon
e
can use it
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-13
D
a
n
Carpenter
A
d
d a c
u
stom merge functi
o
n
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-11
Da
n
C
a
rpenter
Updat
e
the line
n
umber a
t
the v
e
ry s
t
art of
t
h
e
func
t
ion
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-10
D
an C
a
rpente
r
C
h
ange the debug output a bit
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-09
Da
n
Carpenter
Add a -
-
debug option
.
It has t
o
be the first o
p
tion
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-07
Dan Carpe
n
ter
M
a
k
e s
u
re th
e
variable nam
e
i
s
N
ULL
t
e
rminated o
t
he
r
wise
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-07
Dan Carp
e
nter
Small clean u
p
s
.
No change in beha
v
ior
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-06
Da
n
Carpenter
This is
a
n
o
f
f b
y
one error
r
eally
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-05
Dan Carpenter
The s
p
a
rse
_
initia
l
ize() fu
n
ction now takes a fileli
s
t
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-05
Dan Carpe
n
ter
Re
m
ove an of
f
by one
e
rror dete
c
ting
t
he en
d
of t
h
e
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-05
D
an
C
arpente
r
Pat
c
h it with the stuff from
the web
commit
|
commitdiff
|
tree
2008-08-05
Dan Carpenter
This is an unmodified
t
a
r b
a
ll
.
commit
|
commitdiff
|
tree