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
Get rid of path_history. It's never going to be used.
2008-10-13
D
a
n C
a
rpenter
Get
r
id of
p
ath_hi
s
tory
.
It'
s
never going to be use
d
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-10-13
D
a
n Carpenter
M
a
ke goto_stack static
.
commit
|
commitdiff
|
tree
2008-10-13
Dan Carpenter
Spe
e
d
up m
e
rg
e
_
s
li
s
t no
w
t
h
at
the
s
lis
t
s a
r
e ordered
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-10-11
Dan
Carpenter
In
s
ert stuff onto
l
ists in a sorted
ord
e
r
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-10-11
D
an Carpent
e
r
Delete
an unu
s
ed function merge_state_stack()
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-10-08
D
an Carpenter
fi
x
: if
(
*
foo) { (*foo)->b
a
r; }
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-10-07
Dan Car
p
enter
k
malloc() a
n
d
f
riends
d
on't alwa
y
s return a no
n
-nul
l
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-10-06
Da
n
Carpenter
T
h
e
checks
f
rom here got merge
d
into check_
n
ul
l
_
deref
.
c
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-10-04
D
an Carpe
n
t
e
r
M
o
ve the stuff from check_derefed_params
.
c int
o
check_null
_
d
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-10-04
Dan Carpent
e
r
Fix bug
in or_slist_stack()
.
if (a
&
& b) wasn't being
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-09-30
Dan
Carpenter
Add a hook
a
t
the
e
nd of a
f
ile
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-09-28
Dan
C
arpenter
Forgot another strip_expr
(
) cal
l
.
.
.
:/
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-09-28
D
a
n Carpenter
Handle ass
i
g
n
meents
i
nside cond
i
tions better
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-09-28
Dan Carpenter
Only prin
t
something for a
-
>foo and not
a
.
foo
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-09-25
Dan Car
p
enter
Ignore
a
r
ra
y
declaratio
n
s
.
Those can't be N
U
LL obviou
s
ly
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-09-23
Dan
Carpente
r
Make cur_slist static
.
It's o
n
ly u
s
ed in smatc
h
_
states
.
c
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-09-22
Dan
Carpenter
White space changes
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-09-22
Dan C
a
rp
e
nter
Use merge_slist(
)
instead of trying to handle it your
s
elf
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-09-22
Da
n
Ca
r
penter
_
_process_c
o
ntin
u
es()
is suppo
s
ed
to b
e
basically the
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-09-21
D
an Carpenter
New s
m
atch
_
ignore
.
c file
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-09-21
Dan Carpente
r
(foo) = 1 is the same a
s
foo =
1
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-09-21
Dan Carpenter
G
enerali
z
e 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 Ca
r
penter
Ignor
e
cas
t
s
.
foo((int *)&ba
r
) is the same as
f
oo
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-09-20
D
an Carpenter
C
r
ea
t
e
d
sh
o
w
_
state()
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-09-20
Dan Car
p
e
n
ter
Ignore stuff like fo
o
.
bar
.
We o
n
ly care about fo
o
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-09-20
Dan C
a
r
penter
What happen
s
b
efore is
t
hat parame
t
ers wou
l
d get assigned
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-09-19
Da
n
C
arpenter
Missed a cras
h
ing b
u
g in t
h
e
i
nt
=
> struct conversion
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-09-19
Dan C
a
r
p
e
n
ter
I can't believe I was doing stacks wro
n
g this
w
hole
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-09-19
Dan Ca
r
pen
t
er
Changed
smatch
state f
r
om be
i
ng an int
to being
point
e
r
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-09-17
Dan
C
a
rpenter
I
w
a
nt to re
u
se the name
s
match_s
t
a
te
.
The curr
e
nt
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-09-17
D
a
n Carpent
e
r
Redo the null
p
a
th thing
.
S
o long as the
r
e is one
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-09-17
Dan Ca
r
pe
n
te
r
Clean u
p
.
Co
m
p
l
icated is just a
b
oole
a
n
.
Set it to
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-09-01
Dan Carpenter
M
e
rge bra
n
ch 'dev
e
l'
commit
|
commitdiff
|
tree
2008-09-01
Dan Carpenter
Save the pre c
o
nditions i
n
side the con
d
i
t
ion
s
so that
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-09-01
Dan Carpenter
The main change here
wa
s
to
completely rewrite h
o
w
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-21
D
an Carpente
r
B
reak things
o
ut into funct
i
ons a bit
.
Cle
a
n
u
ps
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-21
D
an C
a
rpenter
Handle while and for loops
s
l
i
ght
l
y better
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-18
Dan Car
p
e
nter
I removed nullify_path
(
) earlier
b
u
t that was a mistake
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-17
Dan Ca
r
p
enter
I
d
on
'
t
t
hink the
spec
i
a
l
_ke
r
nel_macros() function
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-17
Dan Carpenter
Ad
d
a fu
n
ctio
n
to do a s
t
r
c
mp() wit
h
a symbol nam
e
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-17
Dan
C
arpenter
R
e
m
ove every
t
h
i
ng to do with
p
ath_id'
s
.
I couldn't
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-17
Da
n
C
a
rpenter
Replace the variable _
_
ne
g
a
t
e with the function __negate()
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-17
Da
n
Carpen
t
er
S
mall c
l
ean up
.
Move
t
he passing
t
he whole
c
onditio
n
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-17
Dan Car
p
enter
Crap
.
I
m
eant to merge this earlier when
I di
v
ided
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-17
Dan Carpenter
Add a co
m
ment
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-17
Dan Carpent
e
r
Moved all the
logic for
h
andling condit
i
ons into a
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-17
D
a
n Carp
e
n
ter
O
o
ps
.
I guess
I deleted the
w
rong list
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-17
Dan Carpenter
Do
n
'
t pas
s
the contents
of sizeof() to the client
.
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-16
Dan Carpe
n
ter
Im
p
rove how the
d
e
b
ug info fo
r
m
erging
s
tates gets
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-16
Dan Carp
e
n
ter
The ma
i
n thing is to handle zero
c
ompar
i
s
o
ns
b
e
tter
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-16
Dan Carpente
r
R
e
m
ov
e
unne
e
ded code
.
This stuff is
h
andled in
s
ma
t
ch_f
l
ow
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-16
Dan Carpenter
We need to
b
e able to brea
k
down (foo != 0) for
B
UG_ON
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-15
Dan Carpen
t
er
Identify for(;;) type
l
o
ops a
s
f
orever
loops
.
This
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-15
Dan C
a
rpenter
A
d
d su
p
port for BU
G
_ON
(
)
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-15
Dan
C
arpenter
W
h
at
I
've
s
e
e
n
i
s stuff like th
i
s:
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-15
Dan Carpenter
Anything that we don't hand
l
e is ob
v
iously complicate
d
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-15
Dan Carpenter
M
e
rge bra
n
ch 'devel'
commit
|
commitdiff
|
tree
2008-08-15
Dan Carpen
t
er
Add a com
m
ent to get_
v
ariable_f
r
om_expr_simple()
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-15
Dan Carp
e
nt
e
r
Add a co
m
ment t
o
g
e
t_variable_from_expr
_
simple()
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-15
Dan Carp
e
nter
The nullif
y
_path
(
) her
e
is a bug
.
It ove
r
-writes
a
l
l
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-15
Dan Carpen
t
er
__prin
t
_cur_slist() is a useful f
u
nction for debugging
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-15
Dan
Carpen
t
er
If you h
a
ve so
m
ething like
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-13
Dan Carpenter
Update the line numbers
f
o
r
each state
m
en
t
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-13
Dan Carpe
n
t
er
Cha
n
g
e t
h
e
m
erg
e
rules for custom me
r
g
e
scr
i
pts so
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-13
Dan Car
p
enter
Move SM_DE
B
UG to a header so everyone can use
i
t
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-13
Dan Ca
r
pente
r
Ad
d
a cu
s
tom
merge
f
unction
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-11
Dan
Carpenter
U
p
date the line number at
the very
s
tart of t
h
e
f
unct
i
on
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-10
Dan Carpenter
C
h
ange th
e
d
ebug output
a bit
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-09
D
a
n
Carpent
e
r
Add a
--
d
ebug option
.
It has to be the first optio
n
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-07
Dan Carp
e
nter
M
a
ke sure t
h
e
v
ariable name is NULL terminated otherwi
s
e
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-07
Dan
Carpent
e
r
S
m
all
c
lean ups
.
No ch
a
nge in
b
eha
v
ior
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-06
D
a
n Carpenter
Thi
s
is an off
b
y
one error reall
y
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-05
Dan Carpenter
The sparse_initialize() funct
i
on
n
ow
take
s
a fil
e
l
i
st
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree