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
Insert stuff onto lists in a sorted order.
2008-10-11
Dan Carpente
r
I
nse
r
t
stu
f
f o
n
to lists in a sorted order
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-10-11
Dan Car
p
enter
Delet
e
an
unused f
u
nction merge_state_stack()
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-10-08
D
an Carpenter
fix: if (*f
o
o
) { (*foo)->bar; }
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-10-07
Da
n
Car
p
enter
k
mal
l
oc() and friends don
'
t alwa
y
s
r
eturn a non-
n
u
ll
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-10-06
D
an Carpenter
The checks from he
r
e got merged into check_
n
ull_deref
.
c
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-10-04
Da
n
C
arpenter
Move the stuff fr
o
m check_
d
erefed_params
.
c into che
c
k_nu
l
l_d
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-10-04
Dan C
a
rp
e
nter
Fix
b
ug in or
_
slist_sta
c
k()
.
if
(a && b) w
a
s
n't being
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-09-30
Dan Carpen
t
er
Add
a
hook a
t
the end of a file
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-09-28
D
a
n Carpenter
F
orgot another
s
trip_expr() call
.
.
.
:/
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-09-28
Dan Carpenter
Handle a
s
signmeen
t
s
insi
d
e condit
i
o
ns bett
e
r
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-09-28
Dan Carpen
t
er
On
l
y
p
rint somethi
n
g for a->fo
o
and not
a
.
f
o
o
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-09-25
Dan Carpen
t
e
r
Ignore array declarations
.
Those can'
t
b
e
NULL ob
v
iously
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-09-23
Dan
C
a
rpenter
Make
c
ur_s
l
ist stat
i
c
.
It's onl
y
used in smatch_states
.
c
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-09-22
Dan C
a
rpenter
Wh
i
te spa
c
e ch
a
nges
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-09-22
Dan Carpenter
Use merge_slist()
i
nstea
d
o
f trying
t
o han
d
l
e
it yo
u
rse
l
f
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-09-22
Da
n
Car
p
enter
__process
_
c
ontinues
(
) is su
p
p
o
se
d
to be basica
l
ly the
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-09-21
Dan
Carpenter
New smatc
h
_ignore
.
c file
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-09-21
Dan Ca
r
pe
n
t
e
r
(foo
)
= 1
is the same
a
s fo
o
= 1
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-09-21
Dan Carp
e
nter
Gene
r
alize
s
tip_cas
t
s()
.
It's now
called str
i
p_exp
r
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-09-20
Dan Carpenter
Ignore ca
s
ts
.
foo((i
n
t
*)&bar) is t
h
e same
as
f
o
o
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-09-20
D
an
C
a
r
p
e
nter
C
r
eated sh
o
w_state()
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-09-20
Da
n
Carpente
r
Ignor
e
stuff
l
i
ke foo
.
bar
.
We o
n
ly care about foo
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-09-20
Dan
Car
p
enter
W
ha
t
happens b
e
fore is
t
hat
p
a
r
ame
t
e
rs wo
u
l
d ge
t
a
s
signed
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-09-19
D
a
n Carpenter
Missed a
c
rash
i
ng bu
g
in
t
he int => struct conversion
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-09-19
Da
n
Carpenter
I
can't believ
e
I was doing stacks
w
rong th
i
s
w
h
o
le
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-09-19
Dan Carpenter
Cha
n
g
ed
smatc
h
sta
t
e from being
an int to being pointer
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-09-17
Dan
C
arpente
r
I want
t
o reuse the name smatch_state
.
The
c
u
rrent
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-09-17
D
an Car
p
enter
Redo the null path th
i
ng
.
So long as there is o
n
e
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-09-17
Dan Carpenter
Clean
up
.
Complica
t
ed is j
u
st a
b
oolean
.
S
et it to
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-09-01
Dan Carp
e
nter
Merg
e
branch 'devel'
commit
|
commitdiff
|
tree
2008-09-01
Dan Car
p
enter
Save the
p
r
e
conditions inside
the co
n
ditions s
o
t
hat
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-09-01
Dan Carpe
n
ter
The mai
n
chan
g
e here was to
c
omp
l
etely rewrite
h
ow
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-21
Dan Carpente
r
Br
e
ak
thing
s
out
i
n
to functi
o
ns a
b
it
.
Clean ups
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-21
Dan Carpenter
Ha
n
dle while
a
nd for loops slightly bett
e
r
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-18
Dan Carpenter
I removed
n
ulli
f
y
_
path() ea
r
lie
r
b
u
t that was a mistake
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-17
D
an Carpenter
I d
o
n't t
h
ink
t
he spec
i
a
l
_
k
e
r
n
e
l_macros()
fun
c
tion
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-17
Dan Carp
e
nter
Add a
f
unction to do a
strc
m
p() w
i
th a symbol
name
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-17
Dan Carpent
e
r
Remove ev
e
rythi
n
g t
o
do with
p
ath_id
'
s
.
I couldn
'
t
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-17
Dan Carpenter
Replace the vari
a
b
l
e __negate with
t
he function __negate()
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-17
Dan C
a
rpenter
Small clean up
.
Mo
v
e
the pa
s
sing the whol
e
condition
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-17
Dan Carpenter
Crap
.
I meant to mer
g
e
th
i
s earlier when I div
i
ded
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-17
Dan Car
p
enter
Add a comment
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-17
Dan Carpenter
M
oved all the logi
c
for han
d
ling co
n
dition
s
in
t
o a
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-17
D
a
n Ca
r
p
enter
O
o
ps
.
I
g
ue
s
s I del
e
ted the
w
rong list
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-17
Dan
Carpenter
Don't pass
the contents of sizeo
f
()
t
o the
client
.
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-16
D
an Carpe
n
ter
Improve
h
ow the de
b
ug info for merging st
a
te
s
gets
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-16
D
a
n Carpenter
The
m
a
i
n thing is to ha
n
dle z
e
r
o comparison
s
b
e
tter
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-16
Dan Carpenter
R
emo
v
e unne
e
ded code
.
Thi
s
stuf
f
i
s
handle
d
i
n
smatch_flow
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-16
Dan Car
p
enter
We
need
to be able to
b
r
e
a
k dow
n
(foo !=
0)
f
or
B
UG_ON
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-15
D
an Carpenter
Identify f
o
r
(;;) type loops as fo
r
ever
l
oops
.
This
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-15
D
an
C
a
r
pe
n
ter
Add support for B
U
G_ON()
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-15
D
an Carpenter
What
I
've
seen is s
t
u
ff
l
i
ke this:
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-15
Dan Carp
e
nter
Any
t
hing that we don't handle is ob
v
iously compl
i
cat
e
d
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-15
Dan
C
a
rpenter
Merge branch '
d
evel'
commit
|
commitdiff
|
tree
2008-08-15
Dan
C
a
r
p
enter
Add a comment to get_variable
_
from_
e
xpr_simple()
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-15
Da
n
Carpenter
Add a
c
o
mme
n
t
to get
_
variable_f
r
om_expr_s
i
m
ple()
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-15
Dan Car
p
ente
r
The nullify_pa
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
a
rpenter
__print_cur_slist() is a useful
fu
n
ction
f
or
d
ebugging
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-15
D
an Carp
e
nter
I
f you have som
e
th
i
ng
l
i
ke
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-13
Dan Carpenter
Upd
a
te the
l
i
ne n
u
mbers for
each state
m
ent
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-13
Dan
C
arpen
t
er
Ch
a
nge the merge
r
ules
for custom merge
scripts so
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-13
Dan
C
a
rpent
e
r
Move SM_DEBUG
t
o a h
e
ader s
o
everyone can use it
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-13
Dan Car
p
enter
Add a custom mer
g
e function
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-11
Dan Ca
r
pent
e
r
U
p
d
a
te
the li
n
e number at the ve
r
y
s
tart of the
f
u
nction
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-10
D
a
n Carpenter
Change the debug output a
bit
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-09
D
a
n Carpenter
Add a
-
-debug option
.
It has
to be the first o
p
tion
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-07
D
a
n Carpenter
Make su
r
e the varia
b
le name is NU
L
L termina
t
ed oth
e
r
w
i
s
e
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-07
Dan Carpenter
Smal
l
cl
e
an
u
p
s
.
No change in beha
v
ior
.
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 o
n
e e
r
ror r
e
a
lly
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2008-08-05
Dan Carpenter
The sparse
_
i
nitialize() fu
n
ction
n
o
w
takes a f
i
lelist
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree