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
Dan Carpenter
Get rid of p
a
th_history
.
It's never going to be
used
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-10-13
Dan Carpenter
M
a
ke goto_stack static
.
commit
|
commitdiff
|
tree
2008-10-13
Da
n
Carpent
e
r
S
peed up merge_slist
now that the sl
i
sts are ord
e
red
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-10-11
Dan Carpenter
Insert stuf
f
onto li
s
ts in a sorted order
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-10-11
Dan Carpen
t
er
Delete an unused function merg
e
_state_stack()
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-10-08
Dan Carpenter
fix:
i
f
(
*foo) { (*foo
)
-
>
bar; }
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-10-07
Dan Carpenter
kmal
l
oc() and f
r
ien
d
s don't always re
t
ur
n
a non-null
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-10-06
D
an
C
arpente
r
T
he checks from here got merged
int
o
che
c
k_null_deref
.
c
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-10-04
Dan Carpenter
Move the
stuff f
r
om c
h
eck_d
e
ref
e
d
_
pa
r
ams
.
c
int
o
check_null_d
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-10-04
Dan Car
p
enter
Fix bu
g
in
o
r
_slist_
s
t
ac
k
()
.
if (a && b) wasn't being
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-09-30
Dan Carpente
r
A
d
d a hook at
t
h
e
end of a fi
l
e
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-09-28
Dan Ca
r
p
en
t
er
Forgot another
strip_expr() call
.
.
.
:/
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-09-28
Dan Ca
r
pent
e
r
Handle assignm
e
ents
i
n
side
condi
t
ions bet
t
er
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-09-28
Dan
C
arpenter
Only
p
rint s
o
methin
g
fo
r
a
-
>
foo and no
t
a
.
fo
o
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-09-25
Dan C
a
rpenter
I
g
nore array
d
eclarations
.
Those
c
a
n't be N
U
LL obvious
l
y
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-09-23
Dan Carpenter
Make cur_slist static
.
I
t
's o
n
ly used in smatch_
s
tate
s
.
c
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-09-22
Dan
C
arp
e
nter
White space ch
a
n
ges
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-09-22
Da
n
Ca
r
penter
Use merge_slist() ins
t
ead of trying
to
h
andle it yourself
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-09-22
Dan
Carpenter
__pr
o
c
ess_
c
o
n
tinues
(
) is suppo
s
ed
to b
e
basically the
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-09-21
Dan Ca
r
penter
New smatch_ign
o
re
.
c file
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-09-21
D
a
n C
a
rpenter
(foo)
=
1
is the same as
f
o
o =
1
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-09-21
Da
n
Carpenter
Generalize stip_c
a
sts()
.
It's now called s
t
rip_expr
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-09-20
Dan Carpenter
Ignore cas
t
s
.
foo((int *)&bar
)
is the sam
e
as
f
oo
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-09-20
Dan
Carpenter
Created sh
o
w_state()
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-09-20
D
a
n Carp
e
n
t
er
Ignore
stuff like foo
.
b
a
r
.
We only care a
b
out foo
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-09-20
Dan C
a
rpenter
What happens
before is that par
a
m
e
ters would ge
t
assigned
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-09-19
Dan Carpe
n
ter
Misse
d
a crashing bug in the i
n
t => struct con
v
ersion
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-09-19
Dan
C
ar
p
enter
I can't
b
elieve I was do
i
ng stacks wrong t
h
is whole
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-09-19
Dan
C
arpenter
C
h
anged smatch sta
t
e from being an int to being po
i
nter
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-09-17
Dan Carpenter
I wa
n
t t
o
re
u
se t
h
e na
m
e sma
t
c
h
_state
.
The current
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-09-17
Dan
Carpenter
Re
d
o the null path
t
hing
.
So long as t
h
e
re is one
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-09-17
D
a
n
C
arpenter
Clean up
.
Comp
l
i
ca
t
e
d
is just a
b
oolean
.
Set
it to
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-09-01
Dan Carpen
t
er
Merge branch 'de
v
el'
commit
|
commitdiff
|
tree
2008-09-01
Dan Carpenter
S
a
ve the p
r
e cond
i
tions ins
i
d
e
the
co
n
ditions
so that
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-09-01
Da
n
Carpenter
T
he
main change here was
t
o
comp
l
e
t
ely rew
r
ite how
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-21
Dan Carpenter
Break things
out into function
s
a bit
.
Clean
up
s
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-21
Dan Ca
r
penter
Handle while
and for loo
p
s
slightl
y
better
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-18
Dan Carpenter
I r
e
m
o
ved n
u
llify_path(
)
earlier
b
ut that w
a
s
a
mista
k
e
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-17
Dan Carpen
t
er
I don't think the
s
p
ecial_ker
n
e
l
_macro
s
() function
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-17
Dan
C
arpenter
Add a
fun
c
tion t
o
do a st
r
c
mp() with a s
y
mbol name
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-17
Dan Carpent
e
r
Remove everyt
h
in
g
to
do with
p
a
th_id's
.
I couldn
'
t
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-17
Dan C
a
rpent
e
r
Re
p
la
c
e
t
h
e
v
a
riable __nega
t
e with th
e
function __
n
egate()
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-17
Dan Carpenter
Sm
a
ll clean up
.
Move t
h
e passin
g
the whol
e
condition
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-17
Da
n
C
arpe
n
ter
Crap
.
I m
e
ant to m
e
r
ge t
h
is earlier when I divided
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-17
Dan Carpenter
Add a comment
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-17
Dan Carpenter
Mov
e
d al
l
the logic for handling cond
i
tions into a
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-17
Dan
Carpenter
Oops
.
I gues
s
I deleted the wrong l
i
st
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-17
Dan
Ca
r
penter
D
o
n
't
p
a
s
s th
e
contents of sizeof() to the cl
i
ent
.
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-16
Dan Carpen
t
er
Improve how the debug inf
o
for merging
states gets
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-16
Dan
C
a
r
p
enter
T
h
e
mai
n
thin
g
is to handle zero compar
i
s
o
ns
better
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-16
D
a
n
C
arpe
n
t
er
Rem
o
ve
u
nneede
d
c
ode
.
This stuff is
h
an
d
led in smatch_
f
low
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-16
Dan Carpenter
We ne
e
d to be able to break
d
own (fo
o
!
=
0) for
B
UG_ON
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-15
Dan
C
arpenter
I
d
entify for(;;) t
y
p
e
loops as
forever loops
.
T
hi
s
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-15
Dan Carpenter
Add s
u
pport f
o
r
BU
G
_ON
(
)
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-15
D
an Carpen
t
er
What I've seen is stuff l
i
ke
t
his
:
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-15
D
a
n Carpenter
A
n
ything that
w
e
don't ha
n
dle is
obviousl
y
com
p
licated
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-15
D
a
n
Carpente
r
Merge branch 'devel'
commit
|
commitdiff
|
tree
2008-08-15
Dan Car
p
ente
r
Add a commen
t
to get_va
r
iable_from_expr_simple()
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-15
Da
n
Carpenter
Add a comment to
g
et_
v
a
r
i
a
ble
_
f
r
om_expr
_
simple()
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-15
Dan Carpen
t
er
The nu
l
lify
_
path() here is a bu
g
.
It
ov
e
r-w
r
ites all
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-15
Dan
Carpenter
_
_
p
rint_
c
u
r_sli
s
t
() is a use
f
ul function for debugg
i
ng
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-15
Dan Carpent
e
r
If
y
ou have something
l
i
ke
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-13
Dan Carpenter
U
p
d
ate the
l
i
ne numbers for
each
stat
e
ment
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-13
Dan Carp
e
nter
C
h
ange the mer
g
e
rules
for custom
merg
e
s
c
ripts so
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-13
Dan C
a
rp
e
nter
Mov
e
SM_DEBUG to a header so ever
y
one
can u
s
e it
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-13
D
an
Ca
r
penter
Add
a
cu
s
tom merge fun
c
tion
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-11
Dan C
a
rpenter
U
p
d
a
te the lin
e
number at the very
sta
r
t of the func
t
io
n
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-10
Dan Ca
r
penter
Change
the debug output a bit
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-09
D
a
n
C
a
rpenter
A
dd a --debu
g
option
.
It has to
be the first option
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-07
Dan Ca
r
p
e
nt
e
r
Ma
k
e
s
ure the
v
a
r
iable
name is
N
U
L
L
ter
m
inated
otherwise
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-07
Dan Car
p
ente
r
S
m
al
l
cl
e
an ups
.
N
o
change in b
e
havio
r
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-06
Dan
Carpenter
T
h
is
is a
n
off b
y
one er
r
or really
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-05
Dan
Carpe
n
ter
The sparse_initi
a
l
i
z
e
(
)
function no
w
takes a f
i
lelist
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree