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
make sparse headers self-compilable...
2009-07-18
Lin
u
s Torvalds
A
void "attri
b
ute 'warning': unknown attribute
"
warning
Signed-off-by:
Linus Torvalds
<torvalds@linux-foundation.org>
commit
|
commitdiff
|
tree
2009-07-18
Lin
u
s Torvalds
Turn off '-
W
transpar
e
nt-
u
nion' by defau
l
t
Signed-off-by:
Linus Torvalds
<torvalds@linux-foundation.org>
commit
|
commitdiff
|
tree
2009-07-18
Linus T
o
rvalds
Allow array declarators t
o
have
'rest
r
ict' in the
m
Signed-off-by:
Linus Torvalds
<torvalds@linux-foundation.org>
commit
|
commitdiff
|
tree
2008-04-25
Linus
Torvalds
Simplify (and
warn abo
u
t) right shi
f
ts
that resu
l
t
.
.
.
Signed-off-by:
Linus Torvalds
<torvalds@linux-foundation.org>
commit
|
commitdiff
|
tree
2008-04-25
Lin
u
s Torval
d
s
F
i
x
cast in
s
t
r
u
c
tion genera
t
ion
Signed-off-by:
Linus Torvalds
<torvalds@linux-foundation.org>
commit
|
commitdiff
|
tree
2006-10-01
Linus Torvalds
Merge branch 'fo
r
-linus' of gi
t
://git
.
ke
r
nel
.
org/pub
.
.
.
commit
|
commitdiff
|
tree
2006-10-01
Lin
u
s Torvalds
Add wa
r
n
i
ng messag
e
for
n
aked
do-wh
i
le
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2006-09-03
Linus
T
orvalds
Make sp
a
rse warn
abo
u
t
initia
l
izers t
h
a
t
initi
a
lize
.
.
.
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2006-08-01
Linus
T
orv
a
l
d
s
First cut at so
m
ething that approaches a san
e
-
Wshadow
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2006-07-08
Linus
T
or
v
a
lds
Avoi
d
bogu
s
g
c
c warnings about unused results
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2006-07-08
Lin
u
s Torvalds
Fix dro
p
pe
d
type
i
n
f
ormation in "add_p
s
eu
d
o()"
.
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2006-06-10
Linus Torvalds
Fix NU
L
L p
t
r dereference with
b
ad type
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2006-05-09
Linus
T
o
rva
l
ds
Merge branch '
i
nit-braces-
f
ix'
of
git:/
/
git
.
kern
e
l
.
.
.
commit
|
commitdiff
|
tree
2006-01-08
Linus Torvalds
Fix incorrect cast simplification aroun
d
'~'
o
p
e
r
a
tion
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-12-31
Linus T
o
r
v
alds
Make l
o
cal dec
l
aratio
n
s be
state
m
ents
of their own
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-11-23
Li
n
us Torvalds
exam
p
le: OP_COPY must d
e
stroy a
n
y
ol
d
pseudo st
a
te
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-11-23
Linus To
r
v
alds
Make the "e
x
amp
l
e
"
c
om
p
il
e
r use
t
h
e new
unssa() phase
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-11-22
Linus Torvalds
When
t
aking
t
h
e address of a sy
m
bol
,
fix up the po
i
nter
.
.
.
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-11-20
Linus Torvalds
Si
m
plify some more instructions
commit
|
commitdiff
|
tree
2005-11-20
Linus Torvald
s
Remo
v
e totally bogus phi-so
u
rce liv
e
ness t
h
in
g
.
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-11-19
L
inus To
r
valds
Evaluate expressions fully whe
n
doing type compa
r
isons
.
.
.
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-11-17
L
i
nus Torvalds
Fix up stupi
d
thinko in K&R param
e
ter parsing
.
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-11-16
Linu
s
Torvalds
Re-name "erro
r
()" f
u
nc
t
ion to
"
s
p
arse_error()"
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-11-16
Linus Torvalds
Fix K
&
R argument scoping
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-11-16
Linus
T
orvalds
In
t
eger promot
i
on:
leave suffi
c
iently lar
g
e
integ
e
r
.
.
.
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-11-04
Linu
s
Torvalds
M
ake switch/case stat
e
me
n
ts ch
e
ck typ
e
compatibil
i
ty
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-11-03
Linus Torvalds
Cast all enum values to the final type
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-11-03
Linus
To
r
valds
Make sure
w
e keep
e
num values in
a s
u
ff
i
ciently
l
arge
.
.
.
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-11-02
Linus Tor
v
alds
Add "
.
gitignore" file
commit
|
commitdiff
|
tree
2005-11-02
L
i
nu
s
Torvalds
Han
d
le sy
m
bols
from
"
-include" file too
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-09-30
Linus
To
r
valds
Make su
r
e to
be more c
a
reful about m
a
rking sym
b
o
ls
.
.
.
commit
|
commitdiff
|
tree
2005-09-27
L
i
nus
T
orva
l
ds
Simplify
cons
t
a
n
t
array (or structure) der
e
feren
c
es
.
.
.
commit
|
commitdiff
|
tree
2005-09-27
L
i
nus
Torvalds
T
eac
h
derefere
n
ce e
x
pansio
n
to look into consta
n
t array
.
.
.
commit
|
commitdiff
|
tree
2005-09-24
Li
n
u
s Tor
v
alds
D
o
stupid and crappy
C
SE on cast
s
.
commit
|
commitdiff
|
tree
2005-09-22
L
i
n
us Torvalds
Turn t
h
e "inc
o
rrect type" er
r
or back into
a warni
n
g
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-09-15
Linus Torvalds
Add various declarations f
o
r more builtin functions
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-09-15
Linus Torvalds
Ma
k
e sure that
when
w
e
def
i
ne __OPTIMIZE[_SIZE]_
w
e
.
.
.
commit
|
commitdiff
|
tree
2005-09-09
Linus Torvalds
Warn about undefined preproces
s
or sy
m
bols a
t
e
x
pansion
.
.
.
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-08-15
Linus Torvalds
Make
'
cgcc'
w
ork at least
h
a
lf-way better
commit
|
commitdiff
|
tree
2005-08-15
Linus Torvalds
Fix parsing of top-leve
l
asm stat
e
ments
commit
|
commitdiff
|
tree
2005-08-15
Linus Torval
d
s
Add
__OPTIMIZE[_SIZE]__ predefines
commit
|
commitdiff
|
tree
2005-08-15
Linus Torva
l
ds
C
l
ea
n
up iterator han
d
ling
commit
|
commitdiff
|
tree
2005-08-11
Linus T
o
rva
l
d
s
Make delete_last
_
in
s
truction()
u
s
e
the n
e
w und
o
_pt
r
_lis
t
_las
.
.
.
commit
|
commitdiff
|
tree
2005-08-11
Li
n
us Torv
a
lds
Add 'un
d
o_ptr_list_la
s
t()'
h
e
lp
e
r fun
c
ti
o
n
commit
|
commitdiff
|
tree
2005-08-06
Linus Torvalds
Hav
e
more b
i
t
s
for "stream number" in "struct po
s
"
commit
|
commitdiff
|
tree
2005-08-04
L
inus Torvalds
Don't overw
r
ite built-
i
n
macros when
redefining the
m
.
commit
|
commitdiff
|
tree
2005-08-04
L
i
nus
Torvald
s
Update the c
a
lling interface
t
o "sparse()"
.
commit
|
commitdiff
|
tree
2005-08-03
Li
n
us Torv
a
l
d
s
Get clos
e
r
t
o parsing mul
t
i
p
l
e files correctl
y
.
commit
|
commitdiff
|
tree
2005-08-03
Linus
T
o
rva
l
ds
Add f
u
n
c
tion to "protect" allocations from being
drop
p
ed
.
.
.
commit
|
commitdiff
|
tree
2005-08-03
Linus Torva
l
d
s
Don't free exp
r
essions a
f
t
e
r
p
reprocessi
n
g
commit
|
commitdiff
|
tree
2005-08-03
Linus Torvald
s
Add
D
EBUG mode, which enables various expensive deb
u
g
.
.
.
commit
|
commitdiff
|
tree
2005-08-03
L
inus T
o
r
valds
Make types have f
i
le sc
o
pe, not global scope
commit
|
commitdiff
|
tree
2005-08-03
Linus
Torvalds
Ma
k
e
"sp
a
rse()" handle
m
ul
t
i
ple input files on th
e
.
.
.
commit
|
commitdiff
|
tree
2005-08-03
L
inus
T
o
rva
l
ds
Make macros have f
i
l
e
scope
commit
|
commitdiff
|
tree
2005-08-03
Linus T
o
rvalds
Wh
e
n
drop
p
ing all alloc
a
ti
o
ns,
c
l
ear th
e
freelist too
commit
|
commitdiff
|
tree
2005-08-02
Linus Torvalds
St
a
rt
work o
n
p
r
oper scoping wi
t
h mul
t
iple fil
e
s
commit
|
commitdiff
|
tree
2005-07-11
Linu
s
Torva
l
ds
Don't warn about "nocast" warnings t
h
at only change
.
.
.
commit
|
commitdiff
|
tree
2005-07-03
L
i
nus Torvalds
Ad
d
"_
_
b
uilti
n
_
offsetof()" t
o
w
ork
w
i
th newer gcc's
commit
|
commitdiff
|
tree
2005-06-21
Linus Torvalds
Be mor
e
ca
r
e
f
ul about li
n
ea
r
izing
co
n
ditiona
l
s
commit
|
commitdiff
|
tree
2005-06-20
Linus Torvalds
Initial cut at __bui
l
tin_expect() im
p
lementati
o
n
commit
|
commitdiff
|
tree
2005-06-20
Linus T
o
r
v
alds
Defau
l
t
to reportin
g
the
same G
N
U C version a
s
t
h
e
.
.
.
commit
|
commitdiff
|
tree
2005-06-20
Linus Torvalds
Fix
a
ssignm
e
nt a
n
d
conditi
o
nal expre
s
s
ion parsing wit
h
.
.
.
commit
|
commitdiff
|
tree
2005-06-20
Linus Torvalds
Fix
SIGS
E
GV on assignmen
t
to
b
ad l
e
f
t
side
.
commit
|
commitdiff
|
tree
2005-06-17
L
inus Torvalds
Fix up a few mis
s
ing base type evaluations
commit
|
commitdiff
|
tree
2005-06-17
Linus Torvalds
Fix up t
y
pe
examina
t
ion
.
commit
|
commitdiff
|
tree
2005-05-19
Li
n
us
Torv
a
lds
Don't warn about und
e
c
l
are
d
"main()
"
f
u
nction
.
commit
|
commitdiff
|
tree
2005-05-19
Linus T
o
rvalds
F
i
x
p
o
sition rep
o
rtin
g
on
untermin
a
t
ed preprocessor
.
.
.
commit
|
commitdiff
|
tree
2005-05-17
Li
n
u
s
Torvalds
Fix
SIGSEG
V
on non-ANS
I
funct
i
on-l
i
ne declarations
.
.
.
commit
|
commitdiff
|
tree
2005-04-08
Linus Torvalds
Give function name
i
n
non-ANS
I
d
ecl
a
r
ation
w
arning
.
commit
|
commitdiff
|
tree
2005-04-08
Linus
T
orvalds
M
ake enum
s
y
mbols
b
e r
e
g
u
la
r
symbols with constant
.
.
.
commit
|
commitdiff
|
tree
2005-04-08
Linus T
o
rvalds
Warn
a
b
out implici
t
c
asts to/from "
n
o
c
ast"
t
ypes
commit
|
commitdiff
|
tree
2005-04-08
L
inus Torval
d
s
Move the ptrl
i
st macros ou
t
of the spars
e
"lib
.
[ch
.
.
.
commit
|
commitdiff
|
tree
2005-04-08
Linus Torvalds
Handle bad enum expression
t
ypes g
r
acefully
.
commit
|
commitdiff
|
tree
2005-04-08
Linus Torvalds
Add support for conte
x
t checking fu
n
c
tions
.
commit
|
commitdiff
|
tree
2005-04-08
Linus Torva
l
d
s
Name static
library "libsparse
.
a" to match
s
hared libr
a
r
y
.
.
.
commit
|
commitdiff
|
tree
2005-04-08
Linus Torvalds
Don't warn about ze
r
o-size
d
"sizeof"
commit
|
commitdiff
|
tree
2005-04-08
Linus
T
or
v
alds
Warn about
undeclared
i
dentifiers
.
commit
|
commitdiff
|
tree
2005-04-08
Linus Torvalds
Sup
p
ort building spa
r
se as a
s
hare
d
lib
r
ary
.
commit
|
commitdiff
|
tree
2005-04-08
Linus To
r
valds
Warn
a
bout siz
e
of o
f
z
e
ro
siz
e
.
commit
|
commitdiff
|
tree
2005-04-08
Lin
u
s Torv
a
l
d
s
Be
more carefu
l
about removing
i
mplicit c
a
sts
.
commit
|
commitdiff
|
tree
2005-04-08
Linu
s
Torvalds
M
ake s
u
re to
r
e
-
examine a struct/union/
e
num type after
commit
|
commitdiff
|
tree
2005-04-08
Linus Torvalds
M
ake "check"
(aka spars
e
)
check argume
n
ts
t
o s
o
me functio
n
s
.
commit
|
commitdiff
|
tree
2005-04-08
Lin
u
s
Torvalds
Fix ty
p
o (duplicate src2 s
h
o
uld be src3)
i
n
s
implify_range
commit
|
commitdiff
|
tree
2005-04-08
Linus Torv
a
lds
Remove o
l
d stale pointe
r
dereference ty
p
e mess, that
commit
|
commitdiff
|
tree
2005-04-08
Linus Torva
l
ds
E
x
p
ort "is_ptr_type()" he
l
per
f
un
c
tion to o
t
her
s
.
commit
|
commitdiff
|
tree
2005-04-08
Linus To
r
val
d
s
Av
o
id SI
G
SEGV when line
a
riz
i
n
g
bad expression
s
.
commit
|
commitdiff
|
tree
2005-04-08
Linus Torvalds
Don't drop modifie
r
b
its
from a me
m
b
e
r dereferen
c
e
.
commit
|
commitdiff
|
tree
2005-04-08
Linus Torvalds
Use the new per-instr
u
cti
o
n position info
r
mation for
.
.
.
commit
|
commitdiff
|
tree
2005-04-08
Linus Torval
d
s
Make eac
h
in
s
truction
have
a
p
o
sition of its o
w
n
.
commit
|
commitdiff
|
tree
2005-04-08
Linus
T
or
v
alds
Make range c
h
eck
code a bit
m
ore r
e
ada
b
le (and more
.
.
.
commit
|
commitdiff
|
tree
2005-04-08
Linus T
o
rvalds
Add compile-time "
r
ange-check"
i
nf
r
ast
r
uc
t
ure
to spa
r
se
commit
|
commitdiff
|
tree
2005-04-08
Linus
T
o
r
valds
Ma
k
e s
u
re
w
e
evaluate
p
ointer comparisons
a
s
u
ns
i
gned
.
commit
|
commitdiff
|
tree
2005-04-08
L
inus Torvalds
Shut up i
n
formation
a
l messages once w
e
've hit the max
i
mum
commit
|
commitdiff
|
tree
2005-04-08
Linus
T
orvalds
Mak
e
"check" (
a
ka "sparse
"
) ch
e
ck
data-dropping c
a
s
ts
.
commit
|
commitdiff
|
tree
2005-04-08
Linus Torvalds
M
a
ke sim
p
lific
a
tion r
e
mo
v
e c
a
sts
tha
t
c
h
an
g
e neither
.
.
.
commit
|
commitdiff
|
tree
2005-04-08
Linus
T
orval
d
s
Split OP_
C
AST
i
nto sig
n
ed, unsigned and FP casts
.
commit
|
commitdiff
|
tree
2005-04-08
L
i
nus Torvald
s
S
i
m
p
lif
y
OP_CAST of
OP_AND
.
commit
|
commitdiff
|
tree
2005-04-08
L
i
nus To
r
valds
Don't o
p
timize away
c
a
s
t
s
too ea
r
ly
.
commit
|
commitdiff
|
tree
2005-04-08
Linus Torv
a
l
d
s
Duh
.
When a
func
t
io
n
re
t
u
r
n
s
V
O
ID,
w
e
s
hould _not_
.
.
.
commit
|
commitdiff
|
tree
2005-04-08
L
i
nus Torvalds
Fix
c
ode g
e
n
e
ratio
n
c
o
nfusion between OP_AD
D
R and the
commit
|
commitdiff
|
tree
next