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
ignore attributes "externally_visible" and "signal"
2009-07-18
L
i
n
us Torva
l
ds
Avoid "att
r
ibute '
w
arning': unkno
w
n attribute"
warning
Signed-off-by:
Linus Torvalds
<torvalds@linux-foundation.org>
commit
|
commitdiff
|
tree
2009-07-18
Linus T
o
rvalds
T
urn
o
f
f
'-Wtranspare
n
t-union' b
y
de
f
ault
Signed-off-by:
Linus Torvalds
<torvalds@linux-foundation.org>
commit
|
commitdiff
|
tree
2009-07-18
L
in
u
s Torval
d
s
Allow ar
r
a
y
de
c
lara
t
o
rs to have 'restri
c
t' i
n
them
Signed-off-by:
Linus Torvalds
<torvalds@linux-foundation.org>
commit
|
commitdiff
|
tree
2008-04-25
Linus Torvald
s
Simplify
(
and warn about) right shifts that
resu
l
t
.
.
.
Signed-off-by:
Linus Torvalds
<torvalds@linux-foundation.org>
commit
|
commitdiff
|
tree
2008-04-25
Linus T
o
rvalds
Fi
x
cas
t
instruct
i
o
n
g
eneration
Signed-off-by:
Linus Torvalds
<torvalds@linux-foundation.org>
commit
|
commitdiff
|
tree
2006-10-01
Linus Tor
v
alds
Merg
e
bran
c
h 'for-linus' o
f
git://git
.
kernel
.
org/pub
.
.
.
commit
|
commitdiff
|
tree
2006-10-01
Linus T
o
rvalds
Add warning message
f
or naked do
-
whi
l
e
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2006-09-03
Linus
Torvalds
Ma
k
e sparse warn
abo
u
t initializers
that initi
a
lize
.
.
.
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2006-08-01
Linus T
o
r
v
alds
F
i
r
st cut at somethin
g
t
ha
t
approaches a sane -Ws
h
adow
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2006-07-08
Linus
Torvalds
Avoid bo
g
us gcc warnings about u
n
used results
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2006-07-08
L
i
nus Torvalds
Fix dropped type information
in "add_pseudo()"
.
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2006-06-10
Linus Torvalds
Fix NULL
p
tr d
e
refe
r
en
c
e wit
h
bad type
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2006-05-09
Linus
T
orvalds
Merge branch 'init-bra
c
e
s
-fi
x
'
of g
i
t://gi
t
.
ke
r
n
e
l
.
.
.
commit
|
commitdiff
|
tree
2006-01-08
L
i
n
u
s Torvalds
Fix incorr
e
c
t cast s
i
mplification a
r
ound '~' operation
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-12-31
Linus Torvalds
Make
lo
c
al d
e
cl
a
ra
t
i
o
ns be statem
e
nts
of
t
heir
own
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-11-23
Linus To
r
valds
example: OP_COPY must destroy any old p
s
e
u
do state
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-11-23
L
i
n
us Torva
l
d
s
Make the "example" c
o
mp
i
ler us
e
the new unssa() ph
a
se
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-11-22
Linus Torvalds
W
hen
tak
i
ng the a
d
dre
s
s
o
f a symbol
,
f
i
x u
p
the point
e
r
.
.
.
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-11-20
Linus Torvalds
Si
m
plify some more inst
r
u
c
tions
commit
|
commitdiff
|
tree
2005-11-20
Linus Torvalds
Remove tota
l
ly b
o
g
u
s
phi-source liveness thing
.
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-11-19
L
i
nus
T
o
rv
a
lds
Evaluate expressions fully when doing type c
o
mparisons
.
.
.
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-11-17
Linus
To
r
valds
Fix up stupi
d
thinko in K&R parameter parsing
.
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-11-16
Linus Torvalds
R
e-nam
e
"error()" funct
i
on to "sparse_error()"
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-11-16
Linu
s
Torv
a
lds
Fix K&R argu
m
ent scoping
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-11-16
Linus To
r
va
l
ds
Integer p
r
omotion:
le
a
ve suffi
c
i
ently
l
arge i
n
teger
.
.
.
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-11-04
L
i
nus Torvalds
Make sw
i
tch/case st
a
t
e
ments
check type
co
m
pat
i
b
ility
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-11-03
Linu
s
Tor
v
alds
Cast all enum
v
a
l
ues to the fin
a
l typ
e
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-11-03
Linus Torvalds
Make sure we keep enum values in a sufficiently
l
arge
.
.
.
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-11-02
Linus T
o
rvalds
Add "
.
gitigno
r
e" file
commit
|
commitdiff
|
tree
2005-11-02
Linus Tor
v
alds
Handle s
y
m
bols from "
-
i
n
c
l
ude" fi
l
e too
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-09-30
Linus Torvalds
Make sure t
o
be more careful abo
u
t marking s
y
mbols
.
.
.
commit
|
commitdiff
|
tree
2005-09-27
Li
n
us Torvalds
Simplify con
s
t
a
nt arra
y
(
o
r structu
r
e)
d
erefer
e
nces
.
.
.
commit
|
commitdiff
|
tree
2005-09-27
L
inus
T
orvald
s
Teach dereference expansion to look i
n
to
con
s
ta
n
t array
.
.
.
commit
|
commitdiff
|
tree
2005-09-24
Linus
T
o
rvalds
Do st
u
pid an
d
c
r
ap
p
y CSE on casts
.
commit
|
commitdiff
|
tree
2005-09-22
Linus
T
o
r
valds
Turn th
e
"incorrect type" err
o
r back into a wa
r
ning
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-09-15
Linus Torvalds
Add various
declarations for more
b
uiltin
f
u
nctions
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-09-15
Linus
Torval
d
s
M
a
k
e sure
that whe
n
w
e define __OPTIM
I
ZE[_SI
Z
E]_ we
.
.
.
commit
|
commitdiff
|
tree
2005-09-09
L
i
nus Torva
l
ds
Warn about u
n
defined preproces
s
or symbo
l
s
at
e
xpansi
o
n
.
.
.
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-08-15
Lin
u
s Torvalds
Ma
k
e 'cgcc' work at least
half-way b
e
tte
r
commit
|
commitdiff
|
tree
2005-08-15
Linus Torvalds
F
ix parsing
of top-level asm statements
commit
|
commitdiff
|
tree
2005-08-15
Linu
s
Torvalds
Add __OPTIMIZE[_SIZE]__
p
r
edefines
commit
|
commitdiff
|
tree
2005-08-15
Linus Torv
a
lds
Clean up iterator handling
commit
|
commitdiff
|
tree
2005-08-11
L
inus Torval
d
s
M
a
ke
delete_last_instruction(
)
u
s
e
t
he new undo_ptr_list_las
.
.
.
commit
|
commitdiff
|
tree
2005-08-11
Li
n
u
s
Torvalds
A
dd 'u
n
do
_
ptr_list_last()' helper f
u
nction
commit
|
commitdiff
|
tree
2005-08-06
Lin
u
s Torvalds
H
ave more
b
its for "stream
n
umber" in "st
r
uct
pos"
commit
|
commitdiff
|
tree
2005-08-04
L
inus Torvalds
D
o
n
't overw
r
ite built-in mac
r
os
when redefining them
.
commit
|
commitdiff
|
tree
2005-08-04
Linus T
o
rvalds
Update
t
h
e
c
a
lling interfac
e
to
"sparse()"
.
commit
|
commitdiff
|
tree
2005-08-03
L
i
nus Tor
v
alds
Get cl
o
ser to pa
r
s
ing multiple files
co
r
rectly
.
commit
|
commitdiff
|
tree
2005-08-03
Linus Torvalds
A
d
d funct
i
on
t
o
"
pr
o
tect"
a
llocatio
n
s from being d
r
o
pped
.
.
.
commit
|
commitdiff
|
tree
2005-08-03
Linus T
o
r
v
alds
Don'
t
fre
e
expres
s
i
ons after preprocessi
n
g
commit
|
commitdiff
|
tree
2005-08-03
Linus
T
orvalds
Ad
d
DEBUG mod
e
,
w
hich enables v
a
rious expensive debug
.
.
.
commit
|
commitdiff
|
tree
2005-08-03
Linus Torvalds
Ma
k
e types
h
a
ve fil
e
scope, not g
l
obal scope
commit
|
commitdiff
|
tree
2005-08-03
L
in
u
s Tor
v
al
d
s
M
a
ke "sparse(
)
"
h
and
l
e multi
p
le input f
i
le
s
on the
.
.
.
commit
|
commitdiff
|
tree
2005-08-03
Linu
s
Tor
v
alds
Make
m
a
cros ha
v
e
f
i
l
e
scope
commit
|
commitdiff
|
tree
2005-08-03
Li
n
us Torvalds
When dropping all allocations,
clear the fre
e
list to
o
commit
|
commitdiff
|
tree
2005-08-02
Lin
u
s T
o
rval
d
s
S
tar
t
work on proper sc
o
ping with
multiple files
commit
|
commitdiff
|
tree
2005-07-11
Linus Torvalds
Do
n
't
w
arn
a
bout "nocast" warn
i
ngs that only c
h
an
g
e
.
.
.
commit
|
commitdiff
|
tree
2005-07-03
Linus
T
o
rva
l
ds
Ad
d
"
__builti
n
_offsetof()
"
to work
with n
e
w
e
r gcc's
commit
|
commitdiff
|
tree
2005-06-21
Linus
T
orvalds
Be m
o
re careful abou
t
linearizin
g
conditional
s
commit
|
commitdiff
|
tree
2005-06-20
Linus
T
o
r
v
alds
Init
i
al
c
u
t at __builti
n
_expect()
i
mplementation
commit
|
commitdiff
|
tree
2005-06-20
Linus Torv
a
l
ds
D
e
f
a
ult
t
o
reportin
g
th
e
s
ame
GNU C version
a
s the
.
.
.
commit
|
commitdiff
|
tree
2005-06-20
L
i
nus Tor
v
a
l
d
s
Fix a
s
signment and condit
i
onal expression parsing with
.
.
.
commit
|
commitdiff
|
tree
2005-06-20
Lin
u
s Torvalds
Fix SIGSEGV
on assignment to ba
d
left sid
e
.
commit
|
commitdiff
|
tree
2005-06-17
Linus Torvalds
Fix up a few missi
n
g b
a
se type e
v
aluations
commit
|
commitdiff
|
tree
2005-06-17
Linus Torvalds
Fix up
t
ype
e
xamin
a
ti
o
n
.
commit
|
commitdiff
|
tree
2005-05-19
Linus Torvalds
D
on't warn ab
o
ut undeclare
d
"ma
i
n()" fun
c
tion
.
commit
|
commitdiff
|
tree
2005-05-19
Linu
s
Torvalds
Fi
x
position report
i
ng on
u
nterminated
preproc
e
ssor
.
.
.
commit
|
commitdiff
|
tree
2005-05-17
L
i
nu
s
Torvalds
Fix SIGSE
G
V on
n
on-A
N
SI function
-
lin
e
declar
a
tions
.
.
.
commit
|
commitdiff
|
tree
2005-04-08
Lin
u
s
T
orval
d
s
Give fu
n
ctio
n
n
ame
in non-ANSI declaration war
n
in
g
.
commit
|
commitdiff
|
tree
2005-04-08
Linus Torvalds
Make e
n
um symbols be r
e
gular symbols with constan
t
.
.
.
commit
|
commitdiff
|
tree
2005-04-08
Linus
T
orv
a
lds
Wa
r
n abo
u
t
implici
t
casts
t
o/fro
m
"
noca
s
t" type
s
commit
|
commitdiff
|
tree
2005-04-08
Linu
s
Torvalds
Mo
v
e
the ptrlis
t
macr
o
s out of the sparse "lib
.
[ch
.
.
.
commit
|
commitdiff
|
tree
2005-04-08
Linu
s
Torvalds
H
a
ndle
ba
d
e
n
u
m
expression type
s
gracefully
.
commit
|
commitdiff
|
tree
2005-04-08
L
i
nus
T
orvalds
Add s
u
pport f
o
r context che
c
king funct
i
ons
.
commit
|
commitdiff
|
tree
2005-04-08
Linu
s
Torvald
s
Name
s
tatic librar
y
"libsparse
.
a" t
o
match shared library
.
.
.
commit
|
commitdiff
|
tree
2005-04-08
Li
n
us Torv
a
lds
Don't
w
arn about zero
-
sized "sizeof"
commit
|
commitdiff
|
tree
2005-04-08
Linus T
o
r
v
a
l
ds
Warn about unde
c
lared id
e
ntifiers
.
commit
|
commitdiff
|
tree
2005-04-08
Linus Torvalds
S
upport building sparse as a s
h
ared library
.
commit
|
commitdiff
|
tree
2005-04-08
Linus Torvalds
War
n
about s
i
zeof of zero siz
e
.
commit
|
commitdiff
|
tree
2005-04-08
Linus Torval
d
s
Be
more car
e
ful
a
b
o
ut
r
emovin
g
implicit cast
s
.
commit
|
commitdiff
|
tree
2005-04-08
Linu
s
Torvalds
Make sure to re-examine
a
struct/
u
nion/en
u
m
type after
commit
|
commitdiff
|
tree
2005-04-08
Linus Torvalds
Make "
c
he
c
k" (ak
a
sparse
)
check argum
e
nts to
som
e
functions
.
commit
|
commitdiff
|
tree
2005-04-08
Linus
T
orvald
s
Fix typo (duplica
t
e
s
rc2
s
h
o
uld be src3) in si
m
plify_range
commit
|
commitdiff
|
tree
2005-04-08
Li
n
us
T
o
rvalds
R
e
move old stale pointe
r
dereference ty
p
e mess, tha
t
commit
|
commitdiff
|
tree
2005-04-08
Linus Torval
d
s
Exp
o
rt "is_ptr_type()" helper f
u
nction to others
.
commit
|
commitdiff
|
tree
2005-04-08
Linus
Torvalds
Avoid SIGSEGV when
l
inearizing bad expres
s
ions
.
commit
|
commitdiff
|
tree
2005-04-08
L
inus T
o
rv
a
lds
Do
n
't drop modifier bits from a
memb
e
r derefe
r
ence
.
commit
|
commitdiff
|
tree
2005-04-08
Linus
T
orvalds
U
s
e the new per-instruction position infor
m
at
i
on for
.
.
.
commit
|
commitdiff
|
tree
2005-04-08
L
inus T
o
rv
a
lds
Ma
k
e
e
ach instruction ha
v
e
a
pos
i
tion of its own
.
commit
|
commitdiff
|
tree
2005-04-08
Linus
T
orvald
s
Make rang
e
c
heck code a bit more readable (an
d
mo
r
e
.
.
.
commit
|
commitdiff
|
tree
2005-04-08
L
inus Torvalds
A
dd compile-time "
r
a
nge-ch
e
c
k" infrastructure to
s
p
ar
s
e
commit
|
commitdiff
|
tree
2005-04-08
L
i
nus Torvalds
Make
s
ure
we
e
valuate poin
t
er c
o
mparison
s
as unsig
n
ed
.
commit
|
commitdiff
|
tree
2005-04-08
Linus
T
orvalds
Shut u
p
infor
m
atio
n
al me
s
sa
g
es onc
e
we've
h
it
the max
i
m
um
commit
|
commitdiff
|
tree
2005-04-08
L
inus Tor
v
alds
M
a
ke "c
h
eck" (aka "sp
a
rse
"
)
c
heck data-
d
ropping cast
s
.
commit
|
commitdiff
|
tree
2005-04-08
L
i
nus
T
orvalds
Make
simplifica
t
i
on remove
ca
s
ts that change neith
e
r
.
.
.
commit
|
commitdiff
|
tree
2005-04-08
Lin
u
s To
r
va
l
ds
Split OP_CAST into signed, u
n
signed and
F
P casts
.
commit
|
commitdiff
|
tree
2005-04-08
Linus To
r
val
d
s
Simpli
f
y
OP_CAST of OP_AND
.
commit
|
commitdiff
|
tree
2005-04-08
Linus
T
orvalds
Don't optimize away cast
s
too early
.
commit
|
commitdiff
|
tree
2005-04-08
Li
n
us
T
orvalds
D
uh
.
When a
fun
c
tion returns
VOID,
w
e
shou
l
d _not_
.
.
.
commit
|
commitdiff
|
tree
2005-04-08
Linus Torvalds
Fix code generation confusion bet
w
een OP_A
D
DR and th
e
commit
|
commitdiff
|
tree
next