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
New smatch_ignore.c file.
2008-09-21
Dan Carpenter
New smatch_ignore
.
c
file
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-09-21
Dan Carpenter
(fo
o
) = 1 is the same as foo
= 1
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-09-21
Dan
Carpenter
Gen
e
ra
l
ize stip_casts()
.
It's now call
e
d
strip_expr
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-09-20
Dan Carpente
r
Ignore casts
.
foo((int *)&bar) is the same
a
s
foo
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-09-20
Dan Ca
r
pent
e
r
C
reated show_state()
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-09-20
Dan Carp
e
nter
I
g
n
ore stuff lik
e
foo
.
bar
.
We only c
a
r
e
about foo
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-09-20
Dan Carpenter
What happens
before is th
a
t parameter
s
would get assigned
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-09-19
Dan C
a
r
penter
Miss
e
d
a
c
rashing bug i
n
t
he int => struc
t
conversion
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-09-19
Dan Carpenter
I can'
t
believe
I
w
as doing stack
s
wrong this whol
e
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-09-19
Dan Ca
r
pent
e
r
Chan
g
e
d
s
mat
c
h sta
t
e from bein
g
an
i
n
t
to being poin
t
er
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-09-17
Dan Carpente
r
I want to reuse
t
h
e name smatch_stat
e
.
The current
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-09-17
Dan Carpenter
R
e
do th
e
null path t
h
i
ng
.
So lon
g
as there is one
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-09-17
D
an Carp
e
n
t
er
C
lean up
.
C
o
mpli
c
ated is
just
a boolea
n
.
Set it
t
o
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-09-01
Da
n
Carpenter
Merge br
a
n
c
h 'devel'
commit
|
commitdiff
|
tree
2008-09-01
Dan Ca
r
penter
Sa
v
e the p
r
e con
d
itio
n
s inside the c
o
nditio
n
s
so that
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-09-01
Dan Ca
r
penter
The main
c
h
ange here
w
as to
c
ompletely rewr
i
te how
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-21
Dan Car
p
en
t
e
r
Break thin
g
s out into
f
unctions
a bit
.
Clean up
s
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-21
Dan Car
p
ent
e
r
Handle
while
and for loops slightly b
e
t
t
er
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-18
Dan Carpe
n
ter
I re
m
oved nullify_path() e
a
r
l
ie
r
but that w
a
s
a
mistake
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-17
Dan Carpent
e
r
I don't think
t
he
special_kernel_macros
(
) function
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-17
Dan Carp
e
nt
e
r
A
d
d a f
u
n
c
tion to
do a st
r
cmp() with a symbol name
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-17
D
a
n Carpenter
Remove eve
r
ything 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 Ca
r
p
e
nter
Rep
l
ac
e
the variabl
e
__n
e
gate with the
fu
n
ction __negate()
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-17
Dan Carpente
r
Sm
a
ll clea
n
up
.
Move th
e
p
a
s
s
i
ng the wh
o
le
c
ondition
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-17
Dan Carpenter
Cra
p
.
I meant
t
o
merg
e
t
h
i
s
earl
i
e
r
wh
e
n I divided
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-17
D
an Carp
e
nter
Add a comme
n
t
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-17
D
an Carpe
n
t
er
Moved all the l
o
gic f
o
r ha
n
dli
n
g condi
t
ions into
a
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-17
Dan
Carpenter
Oops
.
I guess I deleted the w
r
ong list
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-17
Dan C
a
rpe
n
ter
Don't pass the contents
o
f sizeof() to the clie
n
t
.
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-16
Dan C
a
rpenter
Improve
h
ow the debug info fo
r
mer
g
ing s
t
a
tes gets
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-16
Dan Carpente
r
The m
a
in thing is t
o
handle
zero compa
r
isons better
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-16
Dan Carpenter
Remove u
n
needed code
.
Th
i
s stuff is hand
l
ed in sma
t
ch_flow
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-16
Dan
C
arpenter
W
e need to be a
b
le to bre
a
k down (foo != 0)
f
o
r B
U
G_ON
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-15
Da
n
C
arpent
e
r
Identify for(;;) type loops as
forever loops
.
This
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-15
Da
n
Carpenter
Add supp
o
rt for BUG_ON()
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-15
Dan Car
p
enter
Wha
t
I
've seen
i
s
s
tu
f
f like this:
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-15
Dan Carpenter
An
y
thing that we don
'
t
handle is
obviously
com
p
licated
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-15
D
an Car
p
ent
e
r
M
e
r
g
e branch 'devel'
commit
|
commitdiff
|
tree
2008-08-15
Dan Carpenter
Add a
commen
t
to
g
et_v
a
ri
a
ble_from_expr_simple()
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-15
Dan Carpenter
A
d
d a comment
to get_variable
_
from_
e
xpr_
s
imple()
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-15
Dan Carpenter
The nullif
y
_path() here is a bug
.
It over-wr
i
te
s
all
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-15
Dan Carpen
t
er
__print_c
u
r_slis
t
() is
a useful fun
c
tion for de
b
ugging
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-15
D
an Carpenter
If y
o
u have somethi
n
g like
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-13
Dan Ca
r
penter
Update the line nu
m
bers for
e
ach statement
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-13
Da
n
Carpenter
C
h
ange the merg
e
rule
s
for custom me
r
ge sc
r
i
p
ts so
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-13
Dan Ca
r
penter
Move
SM_
D
EBUG to
a header
s
o
eve
r
y
one can use
i
t
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-13
Dan Carpenter
Add a custom
merge
f
u
n
ct
i
on
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-11
Dan Carpen
t
er
Upda
t
e the line numbe
r
a
t
t
h
e very start of the fu
n
ction
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-10
Dan C
a
rpenter
C
hange the
debug out
p
ut a bit
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-09
Dan Carpenter
Add a --deb
u
g option
.
It has
t
o
be the fi
r
st option
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-07
Dan
Carpenter
Make sure the variable
n
ame
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
C
a
rpenter
Small clean ups
.
No change in
behavior
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-06
Dan Carpenter
This is an
off by on
e
error
r
eally
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-05
Dan Carpenter
The
s
parse_initialize() function
now takes a filelist
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree