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
Arrays are complicated so they shouldn't be returned by
2008-09-17
Dan Carp
e
nt
e
r
Ar
r
a
y
s are complicated so they
s
houl
d
n't be returned by
Signed-off-by:
Dan Carpenter
<dcarpenter@error27@gmail.com>
commit
|
commitdiff
|
tree
2008-09-17
D
an
C
ar
p
enter
If
w
e call s
e
t
_
s
tate
f
r
o
m
inside a co
n
d
i
t
i
o
n th
e
n it
.
.
.
Signed-off-by:
Dan Carpenter
<dcarpenter@usbsys.site>
commit
|
commitdiff
|
tree
2008-09-17
Dan
C
arpente
r
If the
po
i
nter
i
s initiali
z
ed to non-null
t
hen set
.
.
.
Signed-off-by:
Dan Carpenter
<dcarpenter@usbsys.site>
commit
|
commitdiff
|
tree
2008-09-15
D
a
n
Carpenter
ignore the smatch bin
a
ry
.
Signed-off-by:
Dan Carpenter
<dcarpenter@error27@gmail.com>
commit
|
commitdiff
|
tree
2008-09-15
D
an Car
p
enter
When we merge
2
slists we need to deal with the c
a
se
.
.
.
Signed-off-by:
Dan Carpenter
<dcarpenter@usbsys.site>
commit
|
commitdiff
|
tree
2008-09-14
Dan Carpenter
Cle
a
n up
s
.
Signed-off-by:
Dan Carpenter
<dcarpenter@usbsys.site>
commit
|
commitdiff
|
tree
2008-09-13
Dan Carpen
t
er
Ad
d
nul
l
i
fy the path w
h
e
n you ha
v
e f
o
r(;;);
Signed-off-by:
Dan Carpenter
<dcarpenter@usbsys.site>
commit
|
commitdiff
|
tree
2008-09-13
Dan Ca
r
p
enter
Mer
g
e bra
n
ch '
l
s' into ultra
t
mp
commit
|
commitdiff
|
tree
2008-09-13
Dan Carpenter
Merge br
a
n
c
h
'unnullif
y
' into
ls
commit
|
commitdiff
|
tree
2008-09-13
Dan
C
arpenter
Lots of do whi
l
e(0) loops don't call break so it doesn
.
.
.
Signed-off-by:
Dan Carpenter
<dcarpenter@usbsys.site>
commit
|
commitdiff
|
tree
2008-09-13
Dan Carpenter
Remove unneeded che
c
k
.
Signed-off-by:
Dan Carpenter
<dcarpenter@usbsys.site>
commit
|
commitdiff
|
tree
2008-09-08
Dan Carpenter
Fix or_sli
s
t_stack()
.
Befo
r
e it just sav
e
d one
s
tack
.
.
.
Signed-off-by:
Dan Carpenter
<dcarpenter@usbsys.site>
commit
|
commitdiff
|
tree
2008-09-08
Dan Carpenter
crap cra
p
crap
.
do not
u
s
e
.
commit
|
commitdiff
|
tree
2008-09-07
D
a
n Ca
r
pen
t
er
C
l
e
an u
p
s and
add some
__unnu
l
lif
y
_path
s
tuff
.
Hopefully
.
.
.
Signed-off-by:
Dan Carpenter
<dcarpenter@usbsys.site>
commit
|
commitdiff
|
tree
2008-09-07
Dan Carpen
t
er
Small c
l
ean
u
p
.
goto_stack s
h
ould
o
nly
b
e
u
sed in smatch_sta
.
.
.
Signed-off-by:
Dan Carpenter
<dcarpenter@usbsys.site>
commit
|
commitdiff
|
tree
2008-09-07
Dan C
a
rpente
r
Clean
u
ps
.
Signed-off-by:
Dan Carpenter
<dcarpenter@usbsys.site>
commit
|
commitdiff
|
tree
2008-09-06
Dan
Carpent
e
r
Fi
x
bug
s
avin
g
th
e
false_
o
nly stack
.
Before cod
e
like
.
.
.
Signed-off-by:
Dan Carpenter
<dcarpenter@usbsys.site>
commit
|
commitdiff
|
tree
2008-09-06
Dan Ca
r
penter
This
i
s t
h
e start
of the smatch_extra s
t
uff
.
Signed-off-by:
Dan Carpenter
<dcarpenter@usbsys.site>
commit
|
commitdiff
|
tree
2008-09-06
Dan Carpenter
Fix overwrit
e
_slist()
so it
t
akes a pointer
t
o a pointer
.
.
.
Signed-off-by:
Dan Carpenter
<dcarpenter@usbsys.site>
commit
|
commitdiff
|
tree
2008-09-06
Dan Carpenter
Make smatch_extr
a
depend on smatch
.
h
Signed-off-by:
Dan Carpenter
<dcarpenter@usbsys.site>
commit
|
commitdiff
|
tree
2008-09-02
Dan Carp
e
nter
Move
i
s_zero() to s
m
atc
h
_
h
e
lpe
r
.
c
Signed-off-by:
Dan Carpenter
<dcarpenter@usbsys.site>
commit
|
commitdiff
|
tree
2008-09-01
Dan Carpenter
Fix a big bug
.
get_state_sl
i
st() was a
l
ways getting
.
.
.
Signed-off-by:
Dan Carpenter
<dcarpenter@usbsys.site>
commit
|
commitdiff
|
tree
2008-09-01
Dan Carp
e
nter
Me
r
ge
.
.
/
.
.
/smatch/devel
Signed-off-by:
Dan Carpenter
<dcarpenter@usbsys.site>
commit
|
commitdiff
|
tree
2008-09-01
Dan C
a
rpenter
Merg
e
br
a
nch
'devel'
commit
|
commitdiff
|
tree
2008-09-01
Dan Carpenter
Save the
p
re
conditions insid
e
the c
o
nditions so that
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-09-01
Da
n
C
a
rp
e
nter
The main ch
a
nge here was
t
o completely rewr
i
te
how
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-21
Dan Carpenter
Break things out i
n
t
o
functions a
b
it
.
C
l
ean ups
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-21
Dan Car
p
enter
Handle
while a
n
d
for loops
s
l
ig
h
tly b
e
t
te
r
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-18
Dan Carpen
t
er
I
r
emoved nullify_path
(
) ear
l
ie
r
but tha
t
was a mi
s
t
a
ke
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-17
Dan Ca
r
penter
I
d
on't thin
k
the special_kernel_macros(
)
funct
i
on
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-17
Da
n
Carpenter
Add a function to d
o
a strcmp
(
)
with a
symbo
l
name
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-17
Dan C
a
rpe
n
ter
R
em
o
ve everything t
o
do with pa
t
h_id's
.
I couldn'
t
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-17
Dan Carpenter
Replace t
h
e variable __negate with the
function __n
e
ga
t
e()
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-17
Dan Carp
e
nter
Small c
l
ean u
p
.
Move the passing
t
he whole
c
ondition
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-17
Da
n
Ca
r
penter
C
r
ap
.
I meant to m
e
rg
e
t
hi
s
earlie
r
when I divided
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-17
Dan Carp
e
nter
Add a
comment
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-17
Dan Carpente
r
Moved
a
ll the logic for handling co
n
di
t
ions int
o
a
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-17
Dan Ca
r
p
e
nter
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 Carpen
t
er
Do
n
't pass th
e
contents of
sizeof() t
o
the client
.
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-16
Dan Carpe
n
ter
Improve
how the d
e
bug info
for merg
i
ng sta
t
es gets
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-16
Dan Carpenter
The main thi
n
g i
s
to hand
l
e
z
ero com
p
ariso
n
s
bett
e
r
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-16
D
a
n
C
arpenter
Remove unneeded code
.
This stuff
i
s hand
l
ed i
n
s
m
a
t
ch_flo
w
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-16
Dan Carp
e
n
t
er
We need to
b
e able t
o
break down (f
o
o != 0) f
o
r BUG_ON
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-15
Dan Carpenter
Identi
f
y for(;;) type loops
as foreve
r
loops
.
This
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-15
Dan Carpenter
Add support for BUG_ON()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-15
Dan Carpe
n
ter
What
I've s
e
en is s
t
u
ff l
i
ke t
h
is
:
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-15
Dan Carp
e
nter
Anything th
a
t we
d
on't handle is o
b
vi
o
u
s
ly com
p
licated
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-15
Dan
C
arpente
r
M
e
rg
e
branc
h
'devel'
commit
|
commitdiff
|
tree
2008-08-15
Dan Carpenter
A
dd a c
o
mment t
o
get_variable_from_expr_simple()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-15
Dan Carpen
t
er
Add a comment to get_variable_fro
m
_expr_simple()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-15
Dan Carpe
n
ter
T
he
n
ull
i
f
y_
p
a
t
h() he
r
e is a bug
.
It over-writes all
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-15
Dan
C
arpenter
__print_cur_sl
i
st
(
)
is a usefu
l
func
t
ion for debugging
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-15
D
an C
a
rpenter
If you have so
m
e
thing like
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-13
Dan Carpen
t
er
Updat
e
the line numbers
for each statemen
t
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-13
Dan Carpen
t
er
C
h
ange t
h
e me
r
ge rule
s
for custom merge scrip
t
s
so
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-13
Dan Ca
r
penter
Move SM_DEBUG
t
o
a header so ev
e
ryone c
a
n use
i
t
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-13
Dan
C
arpenter
Ad
d
a
custom merge funct
i
on
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-11
D
an
Car
p
e
nter
Update the line number
at t
h
e ve
r
y
start of t
h
e
function
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-10
D
an Carpente
r
Change
t
h
e debug output a bit
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-09
Dan
C
arpenter
Add a --de
b
u
g option
.
It has to
be the first opt
i
on
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-07
D
an Carpenter
Mak
e
sure the varia
b
l
e
name i
s
NUL
L
terminated
o
therwis
e
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-07
Dan Carpenter
Small
c
l
ea
n
ups
.
No change in
b
e
h
avior
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-06
Dan Carpenter
Th
i
s is an
off by one error really
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-05
D
an Carpenter
The
s
p
a
rse_initialize() functio
n
now takes a
file
l
ist
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-05
D
an C
a
rp
e
nt
e
r
Remove an off by one er
r
or de
t
ecting t
h
e end of the
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-05
Dan
C
a
rpenter
Patch it with the stuff from the web
commit
|
commitdiff
|
tree
2008-08-05
Dan Carpenter
This
i
s an unmodif
i
ed tar
ball
.
commit
|
commitdiff
|
tree