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
Only print something for a->foo and not a.foo
2008-09-28
Dan Car
p
enter
Only
print
s
omething for a->foo and n
o
t a
.
f
oo
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-09-25
Dan Carpenter
Ig
n
ore array declarat
i
ons
.
T
h
ose can't be N
U
LL obviously
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-09-23
Dan Carpen
t
er
M
ak
e
cur_slist
s
tatic
.
It's onl
y
used in smatch_state
s
.
c
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-09-22
D
an C
a
rpe
n
ter
W
h
i
t
e
space changes
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-09-22
Dan
C
ar
p
e
nter
Use me
r
ge_slist() ins
t
ead of
t
rying to handle i
t
y
oursel
f
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-09-22
Dan Carpenter
_
_
process_continue
s
() i
s
supposed to be basically th
e
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-09-21
Dan Carpenter
N
e
w smatch_ig
n
ore
.
c file
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-09-21
Dan Carpenter
(foo) = 1 is the s
a
me as fo
o
= 1
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-09-21
Dan Carpent
e
r
Genera
l
ize stip_casts()
.
It
'
s now
c
alled strip_exp
r
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-09-20
Dan Carpenter
Ignore c
a
s
t
s
.
foo((
i
nt *)
&
ba
r
)
is t
h
e sa
m
e
a
s fo
o
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-09-20
D
a
n
Carp
e
nter
Created show_
s
tate()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-09-20
Dan C
a
r
p
enter
Ignore st
u
ff lik
e
foo
.
bar
.
We only care abou
t
f
o
o
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-09-20
Dan Carpenter
What
h
appens before is that para
m
e
t
ers w
o
u
ld get
assigne
d
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-09-19
Dan
Ca
r
pent
e
r
Missed a crash
i
ng bug i
n
t
h
e int => struct co
n
version
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-09-19
Dan Carpenter
I c
a
n't be
l
i
e
ve I
was doing s
t
ac
k
s wrong this whole
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-09-19
Dan Carpente
r
Changed smatch state from being
an
i
nt to being pointer
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-09-17
Dan Carpenter
I wan
t
to reuse the name smat
c
h
_
sta
t
e
.
T
h
e c
u
rrent
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-09-17
Dan Carpe
n
ter
R
e
d
o
t
he nu
l
l
p
at
h
thi
n
g
.
So lo
n
g as there i
s
o
ne
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-09-17
Dan Carpenter
Clean up
.
C
omplicated
is just a
b
o
o
lean
.
S
e
t it to
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-09-17
Dan Car
p
e
nter
A
r
ray
s
are complicated so the
y
shouldn't
be
r
etu
r
ned by
Signed-off-by:
Dan Carpenter
<dcarpenter@error27@gmail.com>
commit
|
commitdiff
|
tree
2008-09-17
Dan Carpenter
If
w
e c
a
ll set_state from
inside a c
o
n
dit
i
on then i
t
.
.
.
Signed-off-by:
Dan Carpenter
<dcarpenter@usbsys.site>
commit
|
commitdiff
|
tree
2008-09-17
D
an Carp
e
nter
If t
h
e pointer
i
s
i
nitialize
d
to no
n
-nu
l
l then set
.
.
.
Signed-off-by:
Dan Carpenter
<dcarpenter@usbsys.site>
commit
|
commitdiff
|
tree
2008-09-15
Dan Carp
e
nter
ignore the smatch
b
ina
r
y
.
Signed-off-by:
Dan Carpenter
<dcarpenter@error27@gmail.com>
commit
|
commitdiff
|
tree
2008-09-15
Dan Carpenter
When
we merge 2
slists we need to
deal
with the case
.
.
.
Signed-off-by:
Dan Carpenter
<dcarpenter@usbsys.site>
commit
|
commitdiff
|
tree
2008-09-14
Dan C
a
rpenter
Clean ups
.
Signed-off-by:
Dan Carpenter
<dcarpenter@usbsys.site>
commit
|
commitdiff
|
tree
2008-09-13
Dan Car
p
e
n
ter
A
d
d
nullify
the pa
t
h when you ha
v
e for(;;)
;
Signed-off-by:
Dan Carpenter
<dcarpenter@usbsys.site>
commit
|
commitdiff
|
tree
2008-09-13
Dan Carpen
t
er
M
e
rge branch 'ls' into ultrat
m
p
commit
|
commitdiff
|
tree
2008-09-13
D
a
n C
a
rpenter
Merge branch
'unnull
i
fy' into ls
commit
|
commitdiff
|
tree
2008-09-13
D
a
n
C
a
r
p
e
nter
Lots o
f
do while(0) l
o
ops don't
c
all break s
o
it
d
oesn
.
.
.
Signed-off-by:
Dan Carpenter
<dcarpenter@usbsys.site>
commit
|
commitdiff
|
tree
2008-09-13
Dan
Carpenter
Remove unnee
d
ed check
.
Signed-off-by:
Dan Carpenter
<dcarpenter@usbsys.site>
commit
|
commitdiff
|
tree
2008-09-08
D
an
C
a
rpenter
Fix
or_slist_stack()
.
Before
i
t
j
ust saved one stack
.
.
.
Signed-off-by:
Dan Carpenter
<dcarpenter@usbsys.site>
commit
|
commitdiff
|
tree
2008-09-08
D
a
n
Carpen
t
e
r
c
rap
crap crap
.
do no
t
u
s
e
.
commit
|
commitdiff
|
tree
2008-09-07
Dan Carpe
n
t
e
r
Clean
u
ps and add
s
ome __
u
nnullify_pa
t
h stuff
.
Hopefully
.
.
.
Signed-off-by:
Dan Carpenter
<dcarpenter@usbsys.site>
commit
|
commitdiff
|
tree
2008-09-07
Da
n
C
a
r
p
enter
Small cleanu
p
.
g
o
to_sta
c
k shou
l
d o
n
ly be used in smatch_s
t
a
.
.
.
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
Dan Carpe
n
t
e
r
Fix bug
s
a
ving the false
_
only stack
.
B
e
fore
c
ode like
.
.
.
Signed-off-by:
Dan Carpenter
<dcarpenter@usbsys.site>
commit
|
commitdiff
|
tree
2008-09-06
Dan Carpenter
This is the start of the sma
t
ch_ex
t
ra stuff
.
Signed-off-by:
Dan Carpenter
<dcarpenter@usbsys.site>
commit
|
commitdiff
|
tree
2008-09-06
Dan Carpenter
Fix o
v
erwr
i
te_slist() so it takes
a
p
ointer to a
p
ointer
.
.
.
Signed-off-by:
Dan Carpenter
<dcarpenter@usbsys.site>
commit
|
commitdiff
|
tree
2008-09-06
Dan Carpenter
M
a
ke smatch
_
extra depend on smatch
.
h
Signed-off-by:
Dan Carpenter
<dcarpenter@usbsys.site>
commit
|
commitdiff
|
tree
2008-09-02
Dan Carpenter
Mo
v
e is_z
e
ro() to smat
c
h_helpe
r
.
c
Signed-off-by:
Dan Carpenter
<dcarpenter@usbsys.site>
commit
|
commitdiff
|
tree
2008-09-01
Dan Carpen
t
e
r
Fix a big bug
.
g
et_s
t
ate_slist() w
a
s al
w
ay
s
ge
t
ting
.
.
.
Signed-off-by:
Dan Carpenter
<dcarpenter@usbsys.site>
commit
|
commitdiff
|
tree
2008-09-01
Dan Carpenter
Merge
.
.
/
.
.
/
smat
c
h/devel
Signed-off-by:
Dan Carpenter
<dcarpenter@usbsys.site>
commit
|
commitdiff
|
tree
2008-09-01
Dan
C
arpen
t
er
Merge branch 'devel'
commit
|
commitdiff
|
tree
2008-09-01
Dan
C
a
rpen
t
er
Sav
e
the pre conditio
n
s inside the condit
i
ons so
t
h
at
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-09-01
Dan Carpenter
The main change
h
ere was
t
o
c
o
m
pletely rewr
i
te how
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-21
Dan
C
arpenter
Br
e
ak
thing
s
ou
t
i
nto
functions
a
bit
.
Clean ups
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-21
Dan Carpenter
Handle while and for loop
s
sli
g
htl
y
be
t
ter
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-18
Dan
C
arpenter
I
re
m
o
v
e
d
nullify_path()
earlier but
th
a
t was a mis
t
ak
e
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-17
Dan Carpe
n
ter
I don't think the special_ker
n
e
l
_macro
s
()
function
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-17
Dan Carpenter
Add
a fun
c
t
i
on t
o
d
o a strcmp()
w
it
h
a s
y
mbo
l
name
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-17
Dan C
a
rpe
n
ter
R
e
mov
e
everything to do
w
i
t
h path_id's
.
I c
o
uldn
'
t
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-17
D
an
Carp
e
n
t
er
Replace the vari
a
ble _
_
negate with the
f
u
n
ction __nega
t
e()
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-17
Dan C
a
rpenter
Small clean
u
p
.
Mo
v
e the passing the whole
c
ondi
t
ion
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-17
D
a
n C
a
rpenter
Cra
p
.
I
meant
to me
r
ge t
h
i
s
e
arlier when I divided
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-17
D
a
n
C
arpenter
Add
a
c
o
mment
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-17
Dan Carpen
t
er
Moved
all th
e
lo
g
ic f
o
r hand
l
ing
c
o
nditions into a
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-17
Dan Carpe
n
ter
Oops
.
I guess I
d
eleted the wrong list
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-17
Dan Carpen
t
er
Don't pass
t
he conten
t
s of si
z
eof
(
) to the
c
lient
.
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-16
Dan Car
p
enter
Imp
r
ov
e
how th
e
debug info f
o
r
m
erging st
a
tes
g
ets
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-16
Dan C
a
rpenter
The main thing is to han
d
le zero comparisons better
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-16
D
an Carpenter
Remove unneeded code
.
This s
t
uff
is h
a
ndled in smatch_flow
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-16
Dan Carpenter
We ne
e
d
to be
a
ble to break down (foo != 0)
for BUG_ON
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-15
D
a
n Carpent
e
r
Ide
n
tify for(;;) type loops as forever loops
.
T
h
i
s
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-15
D
a
n
Carpenter
Add su
p
p
o
rt for
B
UG_ON()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-15
Dan Carpenter
What I
'
ve
s
een is stuf
f
like thi
s
:
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-15
Dan Carpente
r
Any
t
hing t
h
at we don
'
t handle
i
s
obv
i
ously complicated
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-15
Dan Ca
r
penter
Mer
g
e
branch 'devel'
commit
|
commitdiff
|
tree
2008-08-15
Dan Car
p
enter
Ad
d
a
comme
n
t
to get_variable_from_expr_s
i
mple(
)
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-15
Dan Carpent
e
r
Add
a
c
o
m
men
t
to
get_varia
b
le_from_expr_simple()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-15
Da
n
Carpenter
The
n
ullify_path() here is
a
bug
.
I
t o
v
er
-
w
rites all
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-15
Dan Carpenter
_
_print_cur_slist() is a useful function f
o
r debuggi
n
g
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-15
Dan Carpenter
If you have something like
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-13
Dan
C
arpenter
U
pdate
t
he
l
i
n
e
number
s
for each sta
t
ement
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-13
Dan Carpenter
Chan
g
e the
me
r
g
e rules
for
c
usto
m
merge scripts so
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-13
Dan Carpent
e
r
Move SM_DE
B
UG to
a
h
e
ad
e
r so
e
v
eryone can use it
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-13
D
an
C
arpenter
Add a
custom merg
e
function
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-11
Dan C
a
r
penter
Update
t
he
line n
u
mber
a
t
the very
start of the
f
unction
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-10
Dan
C
arpenter
Change the deb
u
g
out
p
ut a bit
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-09
Dan C
a
rpenter
Add a --
d
ebug opt
i
o
n
.
It has to be
t
h
e
fi
r
st option
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-07
Dan Carpente
r
Make sure t
h
e
var
i
able name is
NULL terminated oth
e
r
w
ise
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-07
D
a
n Carpenter
Small c
l
ean ups
.
No
c
hang
e
in behavior
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-06
Dan Carpen
t
er
This is an
o
ff by one error real
l
y
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-05
Dan Carpenter
The sparse_in
i
t
ial
i
ze() function now takes a filelist
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-05
Dan
Carp
e
nter
Rem
o
ve an off by one error det
e
c
ting
t
he end of the
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2008-08-05
Dan Carpenter
Patch it wi
t
h the
s
tuf
f
from the web
commit
|
commitdiff
|
tree
2008-08-05
D
an Carpenter
This is an
unmodif
i
ed tar
b
all
.
commit
|
commitdiff
|
tree