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
fixes to the -> possible setting.
2008-09-17
D
a
n C
a
r
penter
Clean up
.
Complicated
is
j
u
st a bo
o
le
a
n
.
Set it
t
o
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-09-17
Dan Carpenter
Arrays are com
p
lica
t
ed
so they shoul
d
n't be returned b
y
Signed-off-by:
Dan Carpenter
<dcarpenter@error27@gmail.com>
commit
|
commitdiff
|
tree
2008-09-17
D
a
n
Ca
r
penter
If we call set_st
a
te from
i
n
s
i
de a conditio
n
then i
t
.
.
.
Signed-off-by:
Dan Carpenter
<dcarpenter@usbsys.site>
commit
|
commitdiff
|
tree
2008-09-17
Dan
Carp
e
nter
If the pointer
is ini
t
ialized to
n
on-nu
l
l then
se
t
.
.
.
Signed-off-by:
Dan Carpenter
<dcarpenter@usbsys.site>
commit
|
commitdiff
|
tree
2008-09-15
Dan Car
p
e
n
t
er
ig
n
o
r
e
t
h
e
s
match
b
i
nary
.
Signed-off-by:
Dan Carpenter
<dcarpenter@error27@gmail.com>
commit
|
commitdiff
|
tree
2008-09-15
Dan Carpente
r
When w
e
merge
2 slists we ne
e
d to dea
l
with the ca
s
e
.
.
.
Signed-off-by:
Dan Carpenter
<dcarpenter@usbsys.site>
commit
|
commitdiff
|
tree
2008-09-14
D
a
n
C
a
r
p
e
n
t
er
Clea
n
ups
.
Signed-off-by:
Dan Carpenter
<dcarpenter@usbsys.site>
commit
|
commitdiff
|
tree
2008-09-13
Dan Carpenter
Ad
d
null
i
fy the path when you have
f
or(;;)
;
Signed-off-by:
Dan Carpenter
<dcarpenter@usbsys.site>
commit
|
commitdiff
|
tree
2008-09-13
Dan Carpenter
M
e
rge branch
'ls' into
ultratmp
commit
|
commitdiff
|
tree
2008-09-13
Dan Carpe
n
ter
Merge
branch '
u
nnu
l
lify'
i
nto ls
commit
|
commitdiff
|
tree
2008-09-13
Dan Carpenter
Lo
t
s
o
f
d
o
whil
e
(0) loops d
o
n't call brea
k
so it doesn
.
.
.
Signed-off-by:
Dan Carpenter
<dcarpenter@usbsys.site>
commit
|
commitdiff
|
tree
2008-09-13
Dan Carpent
e
r
Remo
v
e unneeded che
c
k
.
Signed-off-by:
Dan Carpenter
<dcarpenter@usbsys.site>
commit
|
commitdiff
|
tree
2008-09-08
Dan Carpenter
Fi
x
or_sl
i
st
_
stac
k
()
.
B
efo
r
e it just saved
one stack
.
.
.
Signed-off-by:
Dan Carpenter
<dcarpenter@usbsys.site>
commit
|
commitdiff
|
tree
2008-09-08
Dan Carpenter
crap cra
p
crap
.
do not use
.
commit
|
commitdiff
|
tree
2008-09-07
Dan Carpenter
Clean ups and add so
m
e __unnullify_path st
u
ff
.
Hopefully
.
.
.
Signed-off-by:
Dan Carpenter
<dcarpenter@usbsys.site>
commit
|
commitdiff
|
tree
2008-09-07
Dan C
a
rpenter
Small cleanup
.
g
oto_st
a
ck
should only be used in smatc
h
_sta
.
.
.
Signed-off-by:
Dan Carpenter
<dcarpenter@usbsys.site>
commit
|
commitdiff
|
tree
2008-09-07
Dan Carpenter
Clean
ups
.
Signed-off-by:
Dan Carpenter
<dcarpenter@usbsys.site>
commit
|
commitdiff
|
tree
2008-09-06
D
an Carpenter
F
ix bug savin
g
the
f
alse_o
n
ly stack
.
Before
c
o
de
l
ike
.
.
.
Signed-off-by:
Dan Carpenter
<dcarpenter@usbsys.site>
commit
|
commitdiff
|
tree
2008-09-06
Dan Carpenter
This is th
e
start of
t
he smatch_extra stuff
.
Signed-off-by:
Dan Carpenter
<dcarpenter@usbsys.site>
commit
|
commitdiff
|
tree
2008-09-06
Dan
Ca
r
p
enter
Fix
o
ver
w
rite_slist() so it takes a poi
n
ter to a poin
t
er
.
.
.
Signed-off-by:
Dan Carpenter
<dcarpenter@usbsys.site>
commit
|
commitdiff
|
tree
2008-09-06
Dan Carpenter
M
a
ke sma
t
ch_extra
d
epend on smatch
.
h
Signed-off-by:
Dan Carpenter
<dcarpenter@usbsys.site>
commit
|
commitdiff
|
tree
2008-09-02
D
a
n Carpenter
M
ove is_zero() to sm
a
tch_helpe
r
.
c
Signed-off-by:
Dan Carpenter
<dcarpenter@usbsys.site>
commit
|
commitdiff
|
tree
2008-09-01
Dan Carpe
n
t
e
r
Fix a big
b
ug
.
get_state_sli
s
t() was
always getting
.
.
.
Signed-off-by:
Dan Carpenter
<dcarpenter@usbsys.site>
commit
|
commitdiff
|
tree
2008-09-01
Dan Carpe
n
ter
M
erge
.
.
/
.
.
/
s
match/devel
Signed-off-by:
Dan Carpenter
<dcarpenter@usbsys.site>
commit
|
commitdiff
|
tree
2008-09-01
Dan Carpenter
M
e
rge branch 'devel'
commit
|
commitdiff
|
tree
2008-09-01
Dan Carpenter
Save
t
he pr
e
c
o
nditio
n
s
ins
i
de the c
o
nditions so that
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-09-01
Dan Carpenter
T
h
e main chan
g
e here was t
o
co
m
pletely
rew
r
ite how
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-21
Dan Car
p
ente
r
Break th
i
ngs
o
ut into functions a bit
.
Clean ups
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-21
Dan Carpenter
H
and
l
e while and for loops sl
i
gh
t
ly better
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-18
Dan Carpenter
I removed nu
l
lify_
p
ath() e
a
rlier but that was a mista
k
e
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-17
Dan
Carpenter
I don't think the s
p
e
cial_
k
ern
e
l
_
macros() funct
i
on
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-17
Dan
C
a
r
p
en
t
er
Add a funct
i
on to do a s
t
rcmp() with a
symbol
name
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-17
D
an C
a
rp
e
nter
Remove e
v
ery
t
hing t
o
do with
path_id's
.
I could
n
't
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-17
Dan Carpenter
R
eplace the
va
r
ia
b
le __neg
a
t
e
with the func
t
ion __negate()
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-17
Dan Carpenter
Small clean up
.
Move
t
he passing th
e
whol
e
c
onditi
o
n
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-17
Dan Ca
r
pent
e
r
Cra
p
.
I meant to
m
er
g
e this earlier
w
h
e
n I
divided
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-17
Dan
Carpent
e
r
A
dd
a
commen
t
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-17
Dan Car
p
enter
Moved all
t
he logic
f
o
r
h
andling
c
o
nditi
o
ns i
n
to a
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-17
Dan Ca
r
penter
Oops
.
I g
u
es
s
I dele
t
e
d
t
he wrong
l
ist
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-17
Da
n
Carpent
e
r
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 Carpenter
Improve how the debug
i
n
fo for
merging
states gets
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-16
Dan C
a
rpenter
The main th
i
ng is to hand
l
e zero
c
o
mpari
s
ons
b
e
tter
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-16
D
a
n Carp
e
nter
Re
m
o
v
e
u
nneeded
c
o
d
e
.
This stuff is handled
i
n
smatc
h
_
f
low
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-16
Dan Ca
r
p
e
nt
e
r
We nee
d
to be able
t
o break
down (foo != 0
)
fo
r
BUG_ON
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-15
D
an Carpen
t
er
Iden
t
ify for(;;) t
y
pe loops as
f
oreve
r
l
oops
.
Thi
s
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-15
Dan Ca
r
pe
n
ter
Add support for
B
UG_ON()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-15
Da
n
Carpenter
What I've s
e
en is stuff like this:
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-15
Dan Carpenter
Anything that we d
o
n
't
h
andle is
obviously
complicat
e
d
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-15
D
an Ca
r
penter
Mer
g
e branch 'd
e
vel
'
commit
|
commitdiff
|
tree
2008-08-15
Dan Car
p
enter
Ad
d
a comment to get_vari
a
ble_f
r
om_e
x
p
r
_simp
l
e()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-15
Dan Carp
e
nter
A
dd a c
o
mmen
t
to
g
et_
v
ariable_
f
rom_expr_simple()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-15
Dan Carp
e
n
t
er
The nullify_path() here
is a bug
.
It over-writes all
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-15
Da
n
Carpen
t
er
__print_cur_sl
i
st
(
) is a useful fu
n
c
t
ion for d
e
b
ugging
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-15
Dan Carpenter
If yo
u
have something
l
ik
e
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-13
Dan
Carpenter
Update
the line numbers for e
a
ch statement
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-13
Da
n
Carpenter
Change the merge ru
l
es for custom merge s
c
ripts so
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-13
Dan Carpe
n
ter
Move SM_DEBUG to
a hea
d
er
s
o everyone can use it
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-13
Dan Carpenter
Add
a custom merge func
t
i
o
n
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-11
D
a
n C
a
rpenter
Upd
a
te the
l
ine n
u
mber at t
h
e very star
t
of the function
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-10
Dan Carpenter
Change
the debug output
a bit
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-09
Dan Ca
r
penter
Add a --debug optio
n
.
It has to be t
h
e fi
r
s
t option
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-07
Dan Car
p
enter
Make sure the
v
ariab
l
e name
i
s
NU
L
L
terminated
o
therwise
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-07
Dan Carpen
t
er
Sm
a
ll
clean
u
ps
.
No
change in beh
a
vior
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-06
Dan Carpenter
Thi
s
i
s
an off
by one
err
o
r
r
e
ally
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-05
Dan Carpenter
The sparse_initi
a
lize()
func
t
ion now takes a filelist
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-05
D
a
n
C
arpenter
Re
m
ove
an
of
f
by one error dete
c
ting the end of t
h
e
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-05
D
a
n Carpe
n
te
r
Patch it with th
e
stuff from
t
h
e
web
commit
|
commitdiff
|
tree
2008-08-05
D
a
n Carpenter
T
his is an
u
nmodified ta
r
ba
l
l
.
commit
|
commitdiff
|
tree