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
I want to reuse the name smatch_state. The current use is only needed
2008-09-17
Dan
C
a
r
penter
I w
a
nt to
reuse the
n
ame smatch_state
.
The curr
e
n
t
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-09-17
D
a
n Carpenter
R
ed
o
th
e
null p
a
th thing
.
S
o
long
as there is
o
ne
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-09-17
D
an C
a
r
p
e
nt
e
r
C
l
e
a
n up
.
Compli
c
ated is just a boolean
.
Set it to
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-09-17
Dan Carpenter
Arrays are co
m
plic
a
t
e
d so they
s
houldn't
be returned by
Signed-off-by:
Dan Carpenter
<dcarpenter@error27@gmail.com>
commit
|
commitdiff
|
tree
2008-09-17
Dan
Ca
r
pent
e
r
If we call se
t
_state from i
n
side a condition then it
.
.
.
Signed-off-by:
Dan Carpenter
<dcarpenter@usbsys.site>
commit
|
commitdiff
|
tree
2008-09-17
Dan Carpenter
If
t
he pointer is in
i
t
ialized to non-n
u
ll then
set
.
.
.
Signed-off-by:
Dan Carpenter
<dcarpenter@usbsys.site>
commit
|
commitdiff
|
tree
2008-09-15
Dan Carpent
e
r
i
gnor
e
the s
m
atch binary
.
Signed-off-by:
Dan Carpenter
<dcarpenter@error27@gmail.com>
commit
|
commitdiff
|
tree
2008-09-15
Dan Car
p
ente
r
When we mer
g
e
2 slists we need to
deal
w
it
h
the case
.
.
.
Signed-off-by:
Dan Carpenter
<dcarpenter@usbsys.site>
commit
|
commitdiff
|
tree
2008-09-14
Da
n
Carpenter
C
lean ups
.
Signed-off-by:
Dan Carpenter
<dcarpenter@usbsys.site>
commit
|
commitdiff
|
tree
2008-09-13
Dan Ca
r
pent
e
r
Add nullify the path when you have for(;;);
Signed-off-by:
Dan Carpenter
<dcarpenter@usbsys.site>
commit
|
commitdiff
|
tree
2008-09-13
Dan
Carpenter
Merge
branch
'
ls' into ultr
a
tmp
commit
|
commitdiff
|
tree
2008-09-13
Dan Carpen
t
er
M
erge branc
h
'unnullify'
i
nto ls
commit
|
commitdiff
|
tree
2008-09-13
Dan Ca
r
pen
t
er
Lots
of do wh
i
le(0) lo
o
ps don
'
t call br
e
a
k
so it
d
oesn
.
.
.
Signed-off-by:
Dan Carpenter
<dcarpenter@usbsys.site>
commit
|
commitdiff
|
tree
2008-09-13
Dan C
a
rpenter
Remove unneed
e
d
check
.
Signed-off-by:
Dan Carpenter
<dcarpenter@usbsys.site>
commit
|
commitdiff
|
tree
2008-09-08
D
a
n Carpenter
Fix or_slist_stack()
.
Before
i
t
just save
d
one
st
a
ck
.
.
.
Signed-off-by:
Dan Carpenter
<dcarpenter@usbsys.site>
commit
|
commitdiff
|
tree
2008-09-08
Dan Carpenter
cr
a
p cra
p
crap
.
do
not use
.
commit
|
commitdiff
|
tree
2008-09-07
Dan Carpenter
Clean up
s
and ad
d
s
o
me _
_
unnull
i
fy_path stuff
.
Ho
p
efully
.
.
.
Signed-off-by:
Dan Carpenter
<dcarpenter@usbsys.site>
commit
|
commitdiff
|
tree
2008-09-07
Dan C
a
r
p
e
n
ter
Small cleanup
.
goto_s
t
ack should only be us
e
d in
sma
t
c
h
_st
a
.
.
.
Signed-off-by:
Dan Carpenter
<dcarpenter@usbsys.site>
commit
|
commitdiff
|
tree
2008-09-07
Dan Carpen
t
er
C
l
ean ups
.
Signed-off-by:
Dan Carpenter
<dcarpenter@usbsys.site>
commit
|
commitdiff
|
tree
2008-09-06
Da
n
Carp
e
n
t
er
Fix bug s
a
ving the false
_
only stack
.
Before code like
.
.
.
Signed-off-by:
Dan Carpenter
<dcarpenter@usbsys.site>
commit
|
commitdiff
|
tree
2008-09-06
Dan Carpenter
This
is t
h
e start of the smatch_ex
t
ra st
u
ff
.
Signed-off-by:
Dan Carpenter
<dcarpenter@usbsys.site>
commit
|
commitdiff
|
tree
2008-09-06
Dan Carpenter
Fi
x
overwrite_slist() s
o
it takes a pointe
r
to a point
e
r
.
.
.
Signed-off-by:
Dan Carpenter
<dcarpenter@usbsys.site>
commit
|
commitdiff
|
tree
2008-09-06
Dan Carpen
t
er
Make smatc
h
_extr
a
depend on
s
match
.
h
Signed-off-by:
Dan Carpenter
<dcarpenter@usbsys.site>
commit
|
commitdiff
|
tree
2008-09-02
Da
n
Carpen
t
er
M
o
v
e
is_zero
(
)
to smatch_h
e
lpe
r
.
c
Signed-off-by:
Dan Carpenter
<dcarpenter@usbsys.site>
commit
|
commitdiff
|
tree
2008-09-01
D
an Carpenter
Fix a big bug
.
g
et_s
t
at
e
_slist()
w
a
s
alw
a
ys getting
.
.
.
Signed-off-by:
Dan Carpenter
<dcarpenter@usbsys.site>
commit
|
commitdiff
|
tree
2008-09-01
Dan Carpente
r
Merge
.
.
/
.
.
/smatc
h
/d
e
vel
Signed-off-by:
Dan Carpenter
<dcarpenter@usbsys.site>
commit
|
commitdiff
|
tree
2008-09-01
Dan
Carpenter
M
e
rge branch 'd
e
vel'
commit
|
commitdiff
|
tree
2008-09-01
Dan Carpente
r
Save the pre co
n
dit
i
o
n
s i
n
side th
e
conditions so tha
t
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-09-01
Da
n
Carpe
n
t
e
r
Th
e
mai
n
ch
a
nge he
r
e wa
s
t
o
c
omp
l
etely rewrite
how
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-21
Dan Carpen
t
er
Brea
k
things out into
f
unctions a
b
it
.
Cl
e
an
u
ps
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-21
D
a
n Carpenter
Ha
n
d
le while and for loops slig
h
tly better
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-18
Dan
C
a
r
penter
I
removed nullify_path() ear
l
ie
r
b
u
t that was a mist
a
ke
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-17
Dan Carpenter
I don
'
t thin
k
the spe
c
ial_kernel_macro
s
() funct
i
on
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-17
Dan Carpenter
Add
a function to do a strcmp(
)
w
i
t
h a
s
y
m
bol nam
e
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-17
Da
n
Carpenter
Remove everything
t
o do with path_i
d
's
.
I
c
ouldn'
t
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-17
Dan Carpent
e
r
Rep
l
ace t
h
e
var
i
a
b
le _
_
negate with the func
t
ion __nega
t
e()
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-17
Dan Car
p
enter
Sm
a
ll clean up
.
Move th
e
passing
t
he whole condition
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-17
Da
n
Carpenter
Crap
.
I
m
eant to merge t
h
i
s
earli
e
r
when I divided
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-17
D
an Carpenter
Add a comment
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-17
Da
n
Carpenter
Moved all the logic fo
r
h
andling conditions into a
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-17
Dan Carpenter
Oop
s
.
I guess I deleted th
e
wrong list
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-17
Dan Carpenter
Don't
p
a
s
s
the cont
e
nts o
f
sizeof() to t
h
e client
.
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-16
D
an Ca
r
pente
r
Im
p
rove how the debug info for
merging s
t
ates get
s
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-16
Dan Carpenter
T
h
e main t
h
ing is to
handl
e
ze
r
o comparisons better
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-16
Dan
C
a
r
pe
n
ter
Remove unneeded code
.
This stuff i
s
handled
i
n
smatch
_
f
l
o
w
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-16
Dan Carpe
n
t
e
r
We need to b
e
a
ble to break
d
own (foo != 0) for BUG_ON
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-15
Da
n
C
arpen
t
er
I
de
n
tify for(
;
;) type loops as for
e
ver loops
.
This
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-15
D
an Carpenter
Add support for BUG_ON()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-15
Dan Carpen
t
e
r
Wha
t
I've seen is stuff lik
e
t
his
:
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-15
Dan C
a
rpenter
A
nything that we don't handle
i
s o
b
viou
s
l
y
com
p
licated
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-15
Dan Carpenter
M
e
rge b
r
anch
'
devel'
commit
|
commitdiff
|
tree
2008-08-15
D
a
n Carpente
r
A
d
d a com
m
ent to
g
et_vari
a
ble_from_exp
r
_
s
imple()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-15
Dan Carpen
t
er
A
d
d a comment t
o
get_variable_
f
rom_
e
xpr_simple
(
)
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-15
Dan Carpenter
The nullify_path() he
r
e is a bug
.
It
o
ver-writes
all
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-15
Da
n
Carpenter
__pri
n
t_cur_slist()
is a useful functio
n
for debugging
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-15
Dan Car
p
en
t
er
If you have som
e
thing lik
e
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-13
Dan Carpenter
Up
d
ate the line
n
umbers for each statement
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-13
Dan Carpenter
Change the
merge r
u
les for custom merge scripts
so
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-13
Dan Carp
e
nter
Move S
M
_
D
EBUG to
a
he
a
der so everyone can use i
t
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-13
Dan Carpenter
Add a c
u
st
o
m merge function
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-11
Dan Carpenter
Update the line number at
t
he very start of the functi
o
n
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-10
Dan Carpenter
C
h
ange t
h
e debug output
a
bit
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-09
Dan Carpente
r
Add a --
d
ebug optio
n
.
It
h
as to
be the f
i
rs
t
option
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-07
Dan Carpenter
M
ake s
u
re the variable name is NULL terminated ot
h
erwise
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-07
Dan
Carpenter
S
m
a
ll c
l
ean
u
ps
.
No
c
hange in b
e
havior
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-06
D
a
n Carpenter
This is an o
f
f by one error
r
e
ally
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-05
Dan Carpenter
The sparse_initial
i
ze()
f
unction
now tak
e
s
a
filelist
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-05
Dan Carpen
t
er
Remove an off
b
y o
n
e e
r
ror
d
etecting the end of t
h
e
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-05
Dan Carpenter
Patch it wit
h
t
h
e stuff from
t
h
e
web
commit
|
commitdiff
|
tree
2008-08-05
D
an C
a
rp
e
nter
This is
a
n
u
nmod
i
fied tar ball
.
commit
|
commitdiff
|
tree