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
sparse 0.4.3 finial
2009-07-18
Linus
Torvalds
A
v
oid
"attribu
t
e 'warning': unk
n
own a
t
tribu
t
e
"
w
arning
Signed-off-by:
Linus Torvalds
<torvalds@linux-foundation.org>
commit
|
commitdiff
|
tree
2009-07-18
Linus Torvalds
Turn
o
ff '-Wtrans
p
arent-union' by default
Signed-off-by:
Linus Torvalds
<torvalds@linux-foundation.org>
commit
|
commitdiff
|
tree
2009-07-18
Linus Torva
l
d
s
Allow array declarators to have 'r
e
strict
'
in them
Signed-off-by:
Linus Torvalds
<torvalds@linux-foundation.org>
commit
|
commitdiff
|
tree
2008-04-25
Linus Torvalds
Simp
l
if
y
(a
n
d w
a
r
n about) right shifts that result
.
.
.
Signed-off-by:
Linus Torvalds
<torvalds@linux-foundation.org>
commit
|
commitdiff
|
tree
2008-04-25
Lin
u
s Torvalds
Fix ca
s
t instruction generation
Signed-off-by:
Linus Torvalds
<torvalds@linux-foundation.org>
commit
|
commitdiff
|
tree
2006-10-01
L
i
n
us Torvalds
Merge branch 'for-linus' of git://
g
it
.
kern
e
l
.
org/pub
.
.
.
commit
|
commitdiff
|
tree
2006-10-01
Li
n
u
s Torvalds
Add wa
r
ning message for naked do
-
while
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2006-09-03
Linus
Tor
v
alds
Make sp
a
rse wa
r
n
about initializer
s
that i
n
i
t
i
a
l
ize
.
.
.
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2006-08-01
Linus To
r
valds
First
c
u
t
at somet
h
ing that ap
p
r
oaches
a sane -Wshadow
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2006-07-08
Lin
u
s To
r
v
alds
Avoid bogus gcc warnin
g
s
a
bout unu
s
e
d resu
l
ts
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2006-07-08
Li
n
us Torval
d
s
Fix d
r
op
p
ed
t
ype information in
"add_pseudo()
"
.
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2006-06-10
Linus
T
orvalds
Fix
N
ULL ptr derefer
e
nce with bad
t
ype
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2006-05-09
Linus To
r
valds
Merge bran
c
h 'init-braces
-
fi
x
' of g
i
t://git
.
kerne
l
.
.
.
commit
|
commitdiff
|
tree
2006-01-08
Li
n
us Tor
v
alds
Fix incorrect cast
simplifica
t
ion around '~' operation
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-12-31
L
in
u
s Torv
a
lds
Make local decl
a
r
a
tions
b
e statements of their own
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-11-23
Linus Torvalds
example: OP_COPY must
de
s
troy any ol
d
p
seudo state
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-11-23
Linus T
o
rvalds
M
a
k
e t
h
e "example" compiler use the
new unssa()
phase
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-11-22
Linus Torvalds
W
h
e
n
taking the address of a sy
m
bol, fix
u
p the poin
t
er
.
.
.
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-11-20
Linus Torvalds
Simpli
f
y
s
ome more instructions
commit
|
commitdiff
|
tree
2005-11-20
L
inus
T
orvald
s
Rem
o
ve totally
b
ogus phi-sour
c
e liv
e
ness thing
.
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-11-19
Linus Torvalds
Evaluate expres
s
ions fully when
doing type comparisons
.
.
.
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-11-17
Linus Torval
d
s
F
ix u
p
stupid thinko
in K&
R
p
a
rameter parsing
.
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-11-16
Linus
Tor
v
ald
s
Re-name "error()"
f
u
n
ct
i
on to "sparse_error()"
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-11-16
Linus Torvalds
Fix K&R argument sco
p
ing
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-11-16
Linus Torvalds
Integer promotion:
leave sufficiently large i
n
teger
.
.
.
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-11-04
Linus
T
o
rvald
s
Make swi
t
ch/c
a
s
e statements
c
heck
type co
m
p
a
tib
i
lity
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-11-03
Linus
T
orvalds
C
a
s
t
all
e
n
um values
t
o the final type
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-11-03
Li
n
us Torvald
s
Mak
e
sur
e
we keep enum values in a su
f
ficie
n
tly larg
e
.
.
.
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-11-02
Linus To
r
val
d
s
A
dd "
.
gitignore"
f
ile
commit
|
commitdiff
|
tree
2005-11-02
Linus Torva
l
ds
Hand
l
e symbols from "-includ
e
" file
too
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-09-30
L
i
nus
T
orvalds
M
ake sur
e
to be
m
o
r
e
c
areful about marking symbols
.
.
.
commit
|
commitdiff
|
tree
2005-09-27
Linus Torvalds
Sim
p
lify constant a
r
ray (or st
r
ucture) derefere
n
ces
.
.
.
commit
|
commitdiff
|
tree
2005-09-27
L
i
n
u
s Torva
l
ds
T
e
ach derefer
e
nce expansio
n
to look into constant array
.
.
.
commit
|
commitdiff
|
tree
2005-09-24
Linu
s
To
r
valds
Do st
u
pid an
d
crappy CSE
on
cast
s
.
commit
|
commitdiff
|
tree
2005-09-22
L
i
nus Torva
l
ds
Turn the "incorrect ty
p
e"
e
rror
b
ack into a
w
arn
i
n
g
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-09-15
Linus Torval
d
s
Add various declar
a
tions for
more
b
ui
l
tin f
u
nctions
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-09-15
Linus Torvalds
Make sure that when
w
e define __OPTIMIZE[_SIZE]_ we
.
.
.
commit
|
commitdiff
|
tree
2005-09-09
Lin
u
s Torvalds
Warn about un
d
efin
e
d
preprocessor symbol
s
at ex
p
a
n
sio
n
.
.
.
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-08-15
Linus Torv
a
l
d
s
Make
'
c
g
cc' work at least half-
w
ay better
commit
|
commitdiff
|
tree
2005-08-15
Linus To
r
valds
Fix parsing of top
-
level asm statements
commit
|
commitdiff
|
tree
2005-08-15
Linus T
o
rvalds
A
d
d __OPTIMIZ
E
[
_SIZ
E
]__ prede
f
i
nes
commit
|
commitdiff
|
tree
2005-08-15
Linus To
r
valds
Clean up
i
terator handling
commit
|
commitdiff
|
tree
2005-08-11
L
i
nus Torvalds
Make de
l
ete_last_instr
u
ction() use the new und
o
_ptr_li
s
t_las
.
.
.
commit
|
commitdiff
|
tree
2005-08-11
Linus Torva
l
ds
Add 'undo_ptr_list_la
s
t
()' helper f
u
nction
commit
|
commitdiff
|
tree
2005-08-06
Lin
u
s
T
orvalds
Have more b
i
ts for "
s
t
re
a
m number" i
n
"st
r
uct pos"
commit
|
commitdiff
|
tree
2005-08-04
L
i
nus T
o
rval
d
s
Don't overwrite built
-
in macros when
redefining t
h
e
m
.
commit
|
commitdiff
|
tree
2005-08-04
Linus Torvalds
Update the calling interface t
o
"sparse()"
.
commit
|
commitdiff
|
tree
2005-08-03
Lin
u
s
Torvalds
Get closer to pa
r
sing multipl
e
files correct
l
y
.
commit
|
commitdiff
|
tree
2005-08-03
Linus To
r
v
a
lds
Add funct
i
o
n
to "protect" al
l
ocat
i
ons
f
r
om b
e
ing dr
o
pped
.
.
.
commit
|
commitdiff
|
tree
2005-08-03
Linus Torval
d
s
Don't free expressions afte
r
preprocessing
commit
|
commitdiff
|
tree
2005-08-03
Linus Torvalds
Add DEBUG mod
e
, which
e
nable
s
var
i
ous expensiv
e
debug
.
.
.
commit
|
commitdiff
|
tree
2005-08-03
Linus Torv
a
lds
Make
types
h
a
ve file scop
e
,
not glob
a
l sco
p
e
commit
|
commitdiff
|
tree
2005-08-03
Linus To
r
v
alds
Ma
k
e
"s
p
ars
e
()" h
a
ndl
e
m
ultiple input files o
n
the
.
.
.
commit
|
commitdiff
|
tree
2005-08-03
Linu
s
Torva
l
ds
Make ma
c
r
os have file sco
p
e
commit
|
commitdiff
|
tree
2005-08-03
Linu
s
Torvalds
When dropping all all
o
c
ations, clear the freelist to
o
commit
|
commitdiff
|
tree
2005-08-02
Linus Torva
l
ds
Star
t
work on
proper
scopi
n
g wit
h
multip
l
e
f
iles
commit
|
commitdiff
|
tree
2005-07-11
Linus Torvald
s
Don'
t
war
n
about "noc
a
st" war
n
ings that
only
change
.
.
.
commit
|
commitdiff
|
tree
2005-07-03
Linus Torv
a
lds
A
dd "__built
i
n_offsetof
(
)" to work with newer gcc's
commit
|
commitdiff
|
tree
2005-06-21
L
i
n
us Torvalds
Be mo
r
e
c
areful
a
bout
l
inearizing cond
i
tionals
commit
|
commitdiff
|
tree
2005-06-20
Linus
Torva
l
ds
In
i
tia
l
cu
t
at __buil
t
i
n_
e
xpect() im
p
l
e
ment
a
tion
commit
|
commitdiff
|
tree
2005-06-20
Linus Torvalds
De
f
ault t
o
reporting the same G
N
U C v
e
rsi
o
n as the
.
.
.
commit
|
commitdiff
|
tree
2005-06-20
L
inus Torvalds
Fi
x
a
ssignm
e
n
t
and
c
ondition
a
l expres
s
i
on parsin
g
with
.
.
.
commit
|
commitdiff
|
tree
2005-06-20
Linus Torvalds
Fix SIGSEGV on
assignmen
t
to b
a
d l
e
f
t
sid
e
.
commit
|
commitdiff
|
tree
2005-06-17
Linus Torvalds
Fi
x
up a few mi
s
sing base type evaluations
commit
|
commitdiff
|
tree
2005-06-17
Linus
T
orv
a
lds
F
i
x up ty
p
e
ex
a
mination
.
commit
|
commitdiff
|
tree
2005-05-19
Linus Torvalds
Don't warn abo
u
t und
e
c
l
a
r
ed "main()" function
.
commit
|
commitdiff
|
tree
2005-05-19
L
i
nus Torvald
s
Fix position reporting on un
t
er
m
inate
d
preproc
e
ssor
.
.
.
commit
|
commitdiff
|
tree
2005-05-17
Lin
u
s Torvalds
Fix SIGSEGV
on
non-ANSI function-line declarations
.
.
.
commit
|
commitdiff
|
tree
2005-04-08
Linus Torvalds
Gi
v
e functio
n
na
m
e i
n
n
o
n-ANSI declaration warning
.
commit
|
commitdiff
|
tree
2005-04-08
Linu
s
Torvald
s
M
ake enum symbols be reg
u
lar sy
m
bol
s
with constant
.
.
.
commit
|
commitdiff
|
tree
2005-04-08
Li
n
us Torvalds
Warn about impl
i
cit casts t
o
/from "nocast" types
commit
|
commitdiff
|
tree
2005-04-08
Lin
u
s Torvalds
Move the ptrlist macr
o
s
o
ut
o
f the sp
a
rse "lib
.
[ch
.
.
.
commit
|
commitdiff
|
tree
2005-04-08
Linus Torvalds
Handle
b
ad enum expression types gracefully
.
commit
|
commitdiff
|
tree
2005-04-08
Lin
u
s
T
orvalds
Add su
p
p
ort for context check
i
ng function
s
.
commit
|
commitdiff
|
tree
2005-04-08
Linus Tor
v
alds
Nam
e
sta
t
ic library "libspar
s
e
.
a" t
o
m
atch shar
e
d li
b
rary
.
.
.
commit
|
commitdiff
|
tree
2005-04-08
Linus Tor
v
alds
D
on't warn about zero-sized "sizeof"
commit
|
commitdiff
|
tree
2005-04-08
Linu
s
Torvald
s
War
n
about u
n
declared identifiers
.
commit
|
commitdiff
|
tree
2005-04-08
Linus Torvalds
Support buildi
n
g spar
s
e
a
s a s
h
ared library
.
commit
|
commitdiff
|
tree
2005-04-08
L
inus T
o
rvalds
Warn
ab
o
ut si
z
eof of zero
size
.
commit
|
commitdiff
|
tree
2005-04-08
Linus Torvalds
Be more
c
areful about
r
e
m
o
ving implic
i
t
casts
.
commit
|
commitdiff
|
tree
2005-04-08
Linus To
r
v
a
l
d
s
Make sure to r
e
-
e
xamine a struct/union/e
n
um type after
commit
|
commitdiff
|
tree
2005-04-08
Linus Torvalds
Make "check" (aka sparse
)
check arguments to s
o
m
e
functions
.
commit
|
commitdiff
|
tree
2005-04-08
Linus Torva
l
ds
Fix
typo (dup
l
ica
t
e
src
2
should be src3) in simp
l
ify_range
commit
|
commitdiff
|
tree
2005-04-08
Li
n
us Torvalds
Re
m
o
v
e old stal
e
pointer
d
er
e
ference
typ
e
mess,
t
ha
t
commit
|
commitdiff
|
tree
2005-04-08
Linus Torvalds
Exp
o
rt "is_ptr
_
typ
e
()
"
help
e
r
func
t
i
o
n to ot
h
ers
.
commit
|
commitdiff
|
tree
2005-04-08
L
i
nus Tor
v
alds
Avoid SIG
S
EGV w
h
en linearizing bad
e
xpres
s
ions
.
commit
|
commitdiff
|
tree
2005-04-08
Linus Torvald
s
Don
'
t drop mo
d
ifier b
i
ts from a
member de
r
eference
.
commit
|
commitdiff
|
tree
2005-04-08
Linus To
r
valds
Use the new per-instruc
t
ion position info
r
mation
for
.
.
.
commit
|
commitdiff
|
tree
2005-04-08
Linus Torvalds
Make each instruction have a positio
n
of its
own
.
commit
|
commitdiff
|
tree
2005-04-08
Linus T
o
rvalds
Make rang
e
ch
e
ck code a bit
m
ore readable (
a
nd mor
e
.
.
.
commit
|
commitdiff
|
tree
2005-04-08
L
inus T
o
rv
a
ld
s
Add compile-time "range-c
h
ec
k
" inf
r
as
t
ructure to sparse
commit
|
commitdiff
|
tree
2005-04-08
L
i
nus
T
orvalds
Make sure we evalu
a
te pointer comparisons a
s
uns
i
gned
.
commit
|
commitdiff
|
tree
2005-04-08
Linu
s
To
r
valds
Shut u
p
informational messages once
we've
h
it the
max
i
m
u
m
commit
|
commitdiff
|
tree
2005-04-08
Linus T
o
rvalds
Make "check" (aka "
s
pars
e
") check
data-dropping casts
.
commit
|
commitdiff
|
tree
2005-04-08
L
i
nus
T
orv
a
lds
Make simplific
a
tion
r
emove casts that chan
g
e neither
.
.
.
commit
|
commitdiff
|
tree
2005-04-08
L
i
nu
s
Torvalds
Split OP_CAST into
s
igned, uns
i
gned and
F
P
casts
.
commit
|
commitdiff
|
tree
2005-04-08
Linu
s
Torvald
s
Sim
p
l
i
fy OP_CAST of OP_AND
.
commit
|
commitdiff
|
tree
2005-04-08
Linus Torvalds
Don't optimize away casts too early
.
commit
|
commitdiff
|
tree
2005-04-08
L
i
n
us T
o
rvalds
D
uh
.
Whe
n
a function return
s
VOID, w
e
shou
l
d _no
t
_
.
.
.
commit
|
commitdiff
|
tree
2005-04-08
Linus Torval
d
s
Fix code
g
ene
r
ation
c
on
f
usion
b
e
t
w
een O
P
_ADDR
and the
commit
|
commitdiff
|
tree
next