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: Add GCC pre-defined macros for user-space
2009-07-18
Linus Torval
d
s
Avoi
d
"attribute 'wa
r
ning':
unk
n
own attribute"
w
arn
i
ng
Signed-off-by:
Linus Torvalds
<torvalds@linux-foundation.org>
commit
|
commitdiff
|
tree
2009-07-18
Lin
u
s
Torva
l
ds
Turn off '-Wtransp
a
rent-unio
n
' b
y
default
Signed-off-by:
Linus Torvalds
<torvalds@linux-foundation.org>
commit
|
commitdiff
|
tree
2009-07-18
Linus Torvalds
A
l
l
ow a
r
ray declarators t
o
have
're
s
tr
i
ct' in the
m
Signed-off-by:
Linus Torvalds
<torvalds@linux-foundation.org>
commit
|
commitdiff
|
tree
2008-04-25
Linus Torvald
s
Simplify
(and wa
r
n about) rig
h
t shifts tha
t
result
.
.
.
Signed-off-by:
Linus Torvalds
<torvalds@linux-foundation.org>
commit
|
commitdiff
|
tree
2008-04-25
Linus
Torvalds
F
ix cast instruction gen
e
ration
Signed-off-by:
Linus Torvalds
<torvalds@linux-foundation.org>
commit
|
commitdiff
|
tree
2006-10-01
Linus Torvalds
Merge
branc
h
'
f
or
-
l
i
nus' of git://git
.
kernel
.
org/pub
.
.
.
commit
|
commitdiff
|
tree
2006-10-01
Linus
T
orval
d
s
A
d
d warning message for n
a
ked do-while
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2006-09-03
Linus
T
orvalds
Make sp
a
rse warn
a
bo
u
t i
n
itialize
r
s that i
n
i
ti
a
lize
.
.
.
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2006-08-01
Linus
T
orvalds
F
i
rst cut at somet
h
i
ng that
app
r
oaches a sane -Ws
h
adow
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2006-07-08
Linus Torvalds
Av
o
id bogus gcc warnings about unused results
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2006-07-08
L
inus To
r
valds
Fix dropped t
y
pe informati
o
n in "add_ps
e
udo()"
.
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2006-06-10
Linus
T
o
rva
l
ds
Fix NULL ptr
d
e
refere
n
ce
with bad ty
p
e
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2006-05-09
Li
n
us Torvalds
M
erge branc
h
'in
i
t-b
r
aces-fix
'
of git://git
.
k
e
rnel
.
.
.
commit
|
commitdiff
|
tree
2006-01-08
L
i
nus
T
o
r
v
al
d
s
F
i
x
incorre
c
t cast simplif
i
cation
a
r
ound '~' operatio
n
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-12-31
Linus
T
orvalds
Make
l
ocal de
c
lara
t
ions be s
t
ateme
n
t
s
of their own
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-11-23
Linus Torvalds
exam
p
le:
OP_COP
Y
must de
s
troy any
old
p
seudo state
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-11-23
Linus Torv
a
l
d
s
Make th
e
"example" compile
r
us
e
the new unssa() phase
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-11-22
L
inus
T
orva
l
ds
When taking the ad
d
res
s
o
f a symbol, fi
x
u
p the point
e
r
.
.
.
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-11-20
Linus Torvalds
Simplify
s
ome
more i
n
structi
o
n
s
commit
|
commitdiff
|
tree
2005-11-20
Linus Torvalds
Remove totally bogu
s
phi-sourc
e
liveness thing
.
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-11-19
Linus To
r
valds
Eval
u
a
te expressions fu
l
ly when doi
n
g type com
p
aris
o
ns
.
.
.
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-11-17
Linus Torvalds
Fix up stupid thi
n
ko in
K
&R par
a
mete
r
pars
i
n
g
.
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-11-16
Linus Torvalds
R
e-
n
ame "error
(
)" f
u
n
ction to "spars
e
_error()
"
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-11-16
L
i
n
u
s Torvalds
F
ix K&R argument
scopin
g
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-11-16
Linus
To
r
v
alds
In
t
e
g
e
r
p
r
omotio
n
: leave
s
u
f
f
ic
i
ently large
i
nteger
.
.
.
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-11-04
Linus Torvalds
Make swi
t
ch/case
s
tatements c
h
eck type
compatibi
l
i
ty
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-11-03
L
i
nus Tor
v
alds
Cast all en
u
m values
t
o t
h
e
f
inal type
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-11-03
Lin
u
s Torval
d
s
M
ake su
r
e
we keep enum
values in a
sufficiently large
.
.
.
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-11-02
Li
n
us Torvalds
Add "
.
gitign
o
re" f
i
le
commit
|
commitdiff
|
tree
2005-11-02
L
i
nus
Torval
d
s
Handle sym
b
o
l
s fro
m
"
-
inclu
d
e" file too
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-09-30
Linu
s
T
orva
l
d
s
Make sur
e
to be mor
e
careful a
b
out
marking sym
b
ols
.
.
.
commit
|
commitdiff
|
tree
2005-09-27
Linus Tor
v
alds
Simplify
c
o
ns
t
a
nt
array
(
or structure) derefe
r
ences
.
.
.
commit
|
commitdiff
|
tree
2005-09-27
Linus Torv
a
lds
Teac
h
derefere
n
ce expa
n
sion to lo
o
k in
t
o constant
a
rray
.
.
.
commit
|
commitdiff
|
tree
2005-09-24
Linus
Torvalds
D
o
stu
p
id an
d
crappy CSE on
casts
.
commit
|
commitdiff
|
tree
2005-09-22
Linus Torvalds
Turn the "incorrect type" error back into a warning
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-09-15
Linus Torvalds
Add
var
i
ous decl
a
rat
i
o
ns fo
r
more builtin
func
t
ions
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-09-15
Linus Torvalds
Make sure t
h
at w
h
en w
e
defi
n
e __OPTIMIZE[_SIZE]_ we
.
.
.
commit
|
commitdiff
|
tree
2005-09-09
Linu
s
Torvalds
Warn about undefined preprocessor symbo
l
s at expansion
.
.
.
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-08-15
L
i
n
u
s Torvalds
M
a
k
e 'cgcc'
work
a
t
least half-way better
commit
|
commitdiff
|
tree
2005-08-15
Lin
u
s Torva
l
ds
Fi
x
parsing of
to
p
-lev
e
l a
s
m statem
e
nts
commit
|
commitdiff
|
tree
2005-08-15
Linus
T
orval
d
s
Add __OPTIMIZ
E
[_SI
Z
E]
_
_
predef
i
nes
commit
|
commitdiff
|
tree
2005-08-15
Linus Torvalds
C
l
ean up i
t
era
t
or handling
commit
|
commitdiff
|
tree
2005-08-11
Linus Torv
a
lds
Make dele
t
e_las
t
_instruc
t
ion()
use the new undo
_
p
t
r
_
list_la
s
.
.
.
commit
|
commitdiff
|
tree
2005-08-11
L
inu
s
To
r
vald
s
Add
'undo
_
ptr_list_l
a
st
(
)' helper function
commit
|
commitdiff
|
tree
2005-08-06
L
i
nus
T
o
r
v
alds
Have mor
e
bi
t
s
for "
s
tream number" in "struct
pos"
commit
|
commitdiff
|
tree
2005-08-04
Linus Torvald
s
Don't o
v
erwrite built-in macros
when rede
f
i
n
ing
t
hem
.
commit
|
commitdiff
|
tree
2005-08-04
Linus Torvalds
Upda
t
e
the calling interface to "sparse()"
.
commit
|
commitdiff
|
tree
2005-08-03
Linus Torvalds
Get closer to
p
arsing mu
l
tiple files corre
c
tly
.
commit
|
commitdiff
|
tree
2005-08-03
Linus
Torvalds
Add
function t
o
"prote
c
t" allo
c
ations fro
m
be
i
n
g dro
p
ped
.
.
.
commit
|
commitdiff
|
tree
2005-08-03
Linus Tor
v
alds
D
o
n't f
r
ee e
x
pressions aft
e
r p
r
epro
c
e
s
sing
commit
|
commitdiff
|
tree
2005-08-03
L
i
n
us Torvalds
Add DEBUG mode, w
h
ich
enables various expensive
d
ebu
g
.
.
.
commit
|
commitdiff
|
tree
2005-08-03
L
i
n
us Torvalds
Make types ha
v
e file scope
,
not glo
b
a
l s
c
o
pe
commit
|
commitdiff
|
tree
2005-08-03
L
inus
T
orvalds
Make "
s
parse()"
h
andle multip
l
e input files o
n
the
.
.
.
commit
|
commitdiff
|
tree
2005-08-03
Linus Torv
a
l
ds
M
ake m
a
cros
hav
e
file scope
commit
|
commitdiff
|
tree
2005-08-03
Linus Torv
a
lds
When dropping all all
o
cations, c
l
ear the freelist t
o
o
commit
|
commitdiff
|
tree
2005-08-02
Linus Torvalds
Start work on pr
o
per scoping
w
ith multipl
e
files
commit
|
commitdiff
|
tree
2005-07-11
Linus Torvalds
Don't w
a
rn about "nocast" warnings that only change
.
.
.
commit
|
commitdiff
|
tree
2005-07-03
Linus To
r
val
d
s
Add "__builti
n
_offsetof()
"
to work with newer gc
c
's
commit
|
commitdiff
|
tree
2005-06-21
L
i
n
us
T
orvald
s
B
e more careful about linearizing conditionals
commit
|
commitdiff
|
tree
2005-06-20
Linus Torvalds
Initial cut
a
t
__bu
i
lti
n
_
expe
c
t() implementation
commit
|
commitdiff
|
tree
2005-06-20
Linus Torvald
s
D
e
fault to reporti
n
g
th
e
sam
e
GNU C v
e
r
s
ion as the
.
.
.
commit
|
commitdiff
|
tree
2005-06-20
Linus Torvalds
Fix assignm
e
nt and conditio
n
al
e
xpression
p
arsing with
.
.
.
commit
|
commitdiff
|
tree
2005-06-20
L
i
nus Tor
v
alds
Fix
S
I
G
SEGV on a
s
signment
to ba
d
l
e
ft
s
ide
.
commit
|
commitdiff
|
tree
2005-06-17
Linus
T
o
r
valds
Fix up a few m
i
ss
i
ng base t
y
pe
e
valuations
commit
|
commitdiff
|
tree
2005-06-17
Linus
T
or
v
a
l
ds
Fix up type ex
a
mination
.
commit
|
commitdiff
|
tree
2005-05-19
L
inus T
o
rvald
s
D
on't warn about u
n
d
e
cl
a
r
ed "m
a
i
n()" f
u
nc
t
ion
.
commit
|
commitdiff
|
tree
2005-05-19
Linus Torvalds
Fix position reporting on
unterminated
preprocessor
.
.
.
commit
|
commitdiff
|
tree
2005-05-17
Li
n
us Torvalds
Fix SIGSEGV on no
n
-ANSI function-lin
e
dec
l
a
r
a
tion
s
.
.
.
commit
|
commitdiff
|
tree
2005-04-08
Linus
Torval
d
s
Give function
name in non-ANSI
declaration warning
.
commit
|
commitdiff
|
tree
2005-04-08
Linus Torvalds
Make enu
m
symbo
l
s
b
e regular symbol
s
wi
t
h const
a
nt
.
.
.
commit
|
commitdiff
|
tree
2005-04-08
Linus Torvalds
Warn about imp
l
icit casts to/from "nocast" ty
p
es
commit
|
commitdiff
|
tree
2005-04-08
Linus Torva
l
ds
Move the ptrlist macros out of t
h
e spar
s
e "lib
.
[
ch
.
.
.
commit
|
commitdiff
|
tree
2005-04-08
Lin
u
s Torvalds
Handle bad
enum expr
e
s
s
i
o
n
t
ype
s
g
r
ac
e
fu
l
ly
.
commit
|
commitdiff
|
tree
2005-04-08
Linus
T
orvalds
A
d
d support for conte
x
t checking
functions
.
commit
|
commitdiff
|
tree
2005-04-08
Linus
T
or
v
alds
Name static
lib
r
ary "libspar
s
e
.
a" to
m
atc
h
shared library
.
.
.
commit
|
commitdiff
|
tree
2005-04-08
Linus Torv
a
lds
D
o
n't
warn about zero
-
s
i
zed
"sizeof"
commit
|
commitdiff
|
tree
2005-04-08
Linus Torv
a
lds
Warn
a
bout unde
c
lared identifiers
.
commit
|
commitdiff
|
tree
2005-04-08
Linus
Torvalds
Support
b
uil
d
ing s
p
arse as a shared
l
i
b
rary
.
commit
|
commitdiff
|
tree
2005-04-08
Li
n
us Tor
v
al
d
s
War
n
abo
u
t
s
iz
e
of of zero size
.
commit
|
commitdiff
|
tree
2005-04-08
Linus Torvalds
Be mo
r
e careful about removin
g
implicit
c
a
sts
.
commit
|
commitdiff
|
tree
2005-04-08
Linu
s
Tor
v
al
d
s
M
a
ke sure to re-examine a
struct/
u
nion
/
enum type afte
r
commit
|
commitdiff
|
tree
2005-04-08
Linus Torvalds
Ma
k
e "check" (aka
s
par
s
e) check a
r
guments to some fu
n
ctions
.
commit
|
commitdiff
|
tree
2005-04-08
Linu
s
Torva
l
ds
Fix
typo (duplica
t
e src2 shou
l
d
b
e src3)
i
n simpli
f
y_
r
ange
commit
|
commitdiff
|
tree
2005-04-08
Lin
u
s To
r
valds
Remov
e
old stale
p
ointer dereference type
m
ess, that
commit
|
commitdiff
|
tree
2005-04-08
L
inus Torval
d
s
Expo
r
t "is_ptr_type()" hel
p
er fun
c
tion
to others
.
commit
|
commitdiff
|
tree
2005-04-08
Linus Torval
d
s
A
v
oid
SIGSEGV when linearizing bad exp
r
essions
.
commit
|
commitdiff
|
tree
2005-04-08
Linus Torvalds
Don't drop
m
odi
f
ier
bits
from a member
de
r
eference
.
commit
|
commitdiff
|
tree
2005-04-08
L
i
nus Torvalds
Use
t
he new per-instru
c
tion
p
osition infor
m
ation for
.
.
.
commit
|
commitdiff
|
tree
2005-04-08
L
inus Torvalds
Make
e
a
c
h instruction have a
p
ositi
o
n
o
f its own
.
commit
|
commitdiff
|
tree
2005-04-08
Linus Torvalds
Ma
k
e
rang
e
check
c
ode a b
i
t more read
a
ble (and more
.
.
.
commit
|
commitdiff
|
tree
2005-04-08
Linus T
o
rvalds
Add compile-tim
e
"range-
c
heck" inf
r
ast
r
ucture to s
p
a
r
se
commit
|
commitdiff
|
tree
2005-04-08
Li
n
us Torva
l
d
s
Make s
u
r
e
we eva
l
uate pointer compar
i
s
ons as uns
i
gn
e
d
.
commit
|
commitdiff
|
tree
2005-04-08
Linus Torval
d
s
Sh
u
t up informa
t
ional mess
a
ges o
n
ce we'
v
e
h
it the max
i
mum
commit
|
commitdiff
|
tree
2005-04-08
L
i
nus Torv
a
lds
Make "chec
k
" (aka "sparse") check dat
a
-
dropping c
a
sts
.
commit
|
commitdiff
|
tree
2005-04-08
Linus Torval
d
s
Make sim
p
lification remove casts that change nei
t
her
.
.
.
commit
|
commitdiff
|
tree
2005-04-08
Linus
Tor
v
alds
Spli
t
OP_CAST in
t
o signed,
u
nsigned a
n
d FP casts
.
commit
|
commitdiff
|
tree
2005-04-08
Li
n
us
T
orvalds
Sim
p
lify OP_CA
S
T of OP_A
N
D
.
commit
|
commitdiff
|
tree
2005-04-08
Linu
s
Torvalds
Do
n
't op
t
im
i
ze away
ca
s
ts
to
o
ear
l
y
.
commit
|
commitdiff
|
tree
2005-04-08
Linus Torvalds
Duh
.
W
h
en a fun
c
tio
n
r
e
turns VOI
D
, we should _not_
.
.
.
commit
|
commitdiff
|
tree
2005-04-08
Linus Torv
a
lds
Fix code gen
e
r
ati
o
n conf
u
sion between OP_ADDR and the
commit
|
commitdiff
|
tree
next