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
White space changes.
2008-09-22
Dan Carpenter
Wh
i
te s
p
ace ch
a
nges
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-09-22
Dan Carpe
n
ter
Use
m
erge_slis
t
() instead
o
f tryin
g
to handle it yourse
l
f
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-09-22
Dan Carpente
r
__proce
s
s_continues() is sup
p
osed to
be basica
l
l
y
the
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-09-21
Dan
C
arpenter
New
smatch_i
g
n
o
re
.
c file
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-09-21
Dan Carpe
n
ter
(
f
oo) = 1 is the same as fo
o
= 1
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-09-21
Dan Carpe
n
ter
G
enera
l
i
z
e sti
p
_cast
s
()
.
I
t's now called strip_expr
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-09-20
Dan
Carpenter
Ignore ca
s
t
s
.
foo((int *)&bar) is the
s
ame as foo
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-09-20
Da
n
Carpent
e
r
Created show
_
s
t
ate()
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-09-20
Da
n
Carpent
e
r
Ignore stuff like foo
.
bar
.
We only care ab
o
ut
foo
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-09-20
D
a
n Ca
r
pen
t
e
r
What happens be
f
ore is that parameters
would get assigned
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-09-19
Dan Carpenter
Misse
d
a cr
a
shing
b
u
g in
t
he
i
n
t =>
struct c
o
nver
s
io
n
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-09-19
Dan C
a
r
penter
I can't
b
elieve I
w
as doin
g
stacks wrong thi
s
wh
o
le
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-09-19
Dan Ca
r
pe
n
ter
Changed smatch state f
r
om
b
e
in
g
an int to
b
eing pointer
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-09-17
Dan C
a
rpenter
I
w
a
n
t
t
o reus
e
the name smatch_state
.
The curr
e
nt
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-09-17
D
a
n C
a
rpe
n
t
er
R
edo the
n
u
ll p
a
th
t
hing
.
S
o
lon
g
as
t
here
i
s one
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-09-17
Dan Ca
r
penter
Clean u
p
.
Complic
a
t
e
d
is j
u
st a boo
l
ean
.
Set
i
t to
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-09-01
D
an Carp
e
nter
Merge branch
'devel'
commit
|
commitdiff
|
tree
2008-09-01
Dan Carpenter
Save the pr
e
condi
t
i
o
ns inside the conditio
n
s so
t
hat
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-09-01
Dan
C
arpenter
T
he main
c
hange here
was to completely rewri
t
e ho
w
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-21
D
an
Carpenter
Break th
i
n
gs out int
o
f
unctions a
b
it
.
C
lean up
s
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-21
Dan C
a
rpe
n
ter
Handle while a
n
d for l
o
ops slightly
better
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-18
Dan Carpenter
I removed nullif
y
_path() earlier bu
t
that was a mistake
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-17
Dan Ca
r
penter
I don't think
t
he special_kernel_macro
s
()
f
u
nctio
n
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-17
D
an Carpenter
Add a function to do a strcmp() with
a symbol name
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-17
D
an Ca
r
penter
Remove
ev
e
ry
t
h
ing
to do
with pat
h
_id'
s
.
I could
n
't
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-17
Dan Carpent
e
r
Replace the
v
aria
b
le __negate w
i
th the funct
i
on __
n
egate()
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-17
Dan Ca
r
pente
r
Small clean up
.
M
ov
e
the pas
s
ing the
w
hole
c
ondition
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-17
Dan C
a
rp
e
n
t
er
Crap
.
I
mea
n
t to merge this ea
r
lier wh
e
n I divided
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-17
Dan Carpen
t
er
Add a co
m
ment
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-17
D
a
n
C
a
rpenter
Moved
a
ll the
logic fo
r
handling
c
onditions into a
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-17
Dan C
a
rpenter
Oops
.
I
guess I dele
t
ed
t
h
e wrong l
i
s
t
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-17
D
a
n Carpent
e
r
Don
'
t pas
s
the
c
on
t
e
nts of sizeof() to the
client
.
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-16
Dan Car
p
ent
e
r
Imp
r
ove how
t
he debug info f
o
r
me
r
g
i
n
g states gets
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-16
Dan Carpenter
T
he mai
n
t
h
ing is
t
o
handle zero comparisons better
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-16
Dan
C
a
rp
e
nter
Remove unneeded cod
e
.
T
his stuff is
handled
i
n
smatch_flow
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-16
D
an Carpenter
We n
e
ed to be able to br
e
a
k
down (foo != 0
)
for
BU
G
_ON
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-15
Dan Carpenter
Identify
for(
;
;
)
t
y
pe loops as forever loops
.
This
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-15
Dan Carpenter
Add sup
p
o
rt
f
o
r
BUG_ON()
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-15
Dan Carpenter
What I've seen is
stuff like th
i
s:
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-15
Dan Carpen
t
e
r
Anyth
i
ng that we don't handle i
s
obviously co
m
plicated
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-15
Dan Carpenter
Merge branch 'd
e
vel'
commit
|
commitdiff
|
tree
2008-08-15
Dan Carpe
n
ter
Add a com
m
ent
t
o get_v
a
riabl
e
_from_expr_simple()
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-15
Dan Carpenter
Add a comment to
g
et_variable_fr
o
m
_expr_simple
(
)
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-15
Dan Carpen
t
er
The nu
l
lify
_
pa
t
h
() her
e
is a bug
.
It
over-writes
all
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-15
D
an Carpe
n
ter
__print
_
cur_slist() is a useful function for deb
u
gging
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-15
Dan Car
p
e
nter
If
y
ou h
a
v
e somet
h
ing like
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-13
Dan C
a
rpenter
Update the
l
ine
number
s
for
each statement
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-13
Dan Carpenter
Ch
a
nge the
m
erge
r
ules f
o
r
custom merge sc
r
ipts so
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-13
Dan
C
a
r
pe
n
ter
M
ove S
M
_DEBU
G
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 Ca
r
penter
Add a
c
ust
o
m merge function
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-11
Da
n
Carpenter
Update the line numbe
r
at the
v
ery start of the function
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-10
Dan C
a
rpenter
Chan
g
e
the debug out
p
ut a
b
i
t
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-09
Dan C
a
r
penter
Add
a --
d
e
b
ug option
.
I
t
h
as t
o
be the first option
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-07
Dan Ca
r
penter
Make
sure the variable name is NULL term
i
n
ated otherwis
e
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-07
Dan Carpenter
Small clean ups
.
N
o cha
n
ge in behavior
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-06
Dan Car
p
enter
Thi
s
is an off by one erro
r
really
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-05
Da
n
Carpenter
The spars
e
_initialize() function now takes a filel
i
s
t
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree