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
Li
n
u
s
Torvald
s
A
void "attrib
u
te 'warning': unk
n
own attribute" warn
i
ng
Signed-off-by:
Linus Torvalds
<torvalds@linux-foundation.org>
commit
|
commitdiff
|
tree
2009-07-18
Linus Torvalds
T
u
rn off '-
W
t
ransparent-union' by def
a
ul
t
Signed-off-by:
Linus Torvalds
<torvalds@linux-foundation.org>
commit
|
commitdiff
|
tree
2009-07-18
Li
n
us Torvalds
Allow
arr
a
y declarat
o
rs to
have 'restrict' in them
Signed-off-by:
Linus Torvalds
<torvalds@linux-foundation.org>
commit
|
commitdiff
|
tree
2008-04-25
Li
n
us
T
orva
l
ds
Simplify (
a
nd w
a
rn abo
u
t) right shifts
t
h
at
resul
t
.
.
.
Signed-off-by:
Linus Torvalds
<torvalds@linux-foundation.org>
commit
|
commitdiff
|
tree
2008-04-25
L
inus Torvalds
Fix cast in
s
tructio
n
g
e
neration
Signed-off-by:
Linus Torvalds
<torvalds@linux-foundation.org>
commit
|
commitdiff
|
tree
2006-10-01
Li
n
us Tor
v
alds
M
e
r
ge branch 'for-linus' of
git
:
//git
.
k
e
rn
e
l
.
org/
p
ub
.
.
.
commit
|
commitdiff
|
tree
2006-10-01
Linus
To
r
vald
s
Add warn
i
ng m
e
ssage for
n
ake
d
do-wh
i
le
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2006-09-03
L
i
n
us Torvalds
Make
s
p
arse warn about init
i
al
i
zers
that initialize
.
.
.
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2006-08-01
Linus Torva
l
d
s
First cu
t
at something
th
a
t appr
o
aches a
s
a
ne
-Wshadow
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2006-07-08
Linus Torvalds
Avoi
d
b
ogus gcc w
a
rni
n
gs a
b
out un
u
sed
r
esults
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2006-07-08
Linu
s
Torvalds
Fix droppe
d
type in
f
ormation in "add_p
s
eudo()"
.
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2006-06-10
L
inus T
o
rvalds
Fix NULL ptr
d
er
e
ference with bad
t
y
p
e
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2006-05-09
Linus Torvalds
Merge branch 'init-brace
s
-f
i
x
'
of
git://git
.
k
e
rnel
.
.
.
commit
|
commitdiff
|
tree
2006-01-08
Linus Torvalds
F
i
x
incorrect ca
s
t simpl
i
fication
around
'
~' operation
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-12-31
Linus
T
orva
l
ds
Mak
e
local declarations be s
t
ate
m
ents of their own
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-11-23
Linu
s
T
o
r
v
alds
examp
l
e:
OP_COPY
mu
s
t destr
o
y any old pseudo state
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-11-23
Linus Torvalds
Ma
k
e
t
he "example" compiler u
s
e t
h
e new unssa()
phase
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-11-22
L
i
nus To
r
v
a
ld
s
W
h
e
n
t
aking the address of a
s
ymb
o
l,
f
ix up
t
he point
e
r
.
.
.
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-11-20
Linus Torvalds
S
implify some more instruction
s
commit
|
commitdiff
|
tree
2005-11-20
Linus Torvalds
Remove to
t
ally bog
u
s
p
hi-source
liveness t
h
i
ng
.
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-11-19
Lin
u
s
Torv
a
lds
Evaluate expressions fully when do
i
ng type comparisons
.
.
.
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-11-17
Linus Torvalds
Fix
u
p stupid thinko in K&R pa
r
ameter parsing
.
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-11-16
Linus Torvalds
R
e
-name "error()" fu
n
ction to "
s
p
a
r
se_
e
rr
o
r
(
)
"
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-11-16
Li
n
us Torvalds
Fix K&R a
r
gument scop
i
ng
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-11-16
Li
n
us Torvalds
Integer promot
i
o
n: leave
suffici
e
ntly large integer
.
.
.
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-11-04
Li
n
us Torvalds
Ma
k
e switch/case
statements
c
heck t
y
p
e compatib
i
li
t
y
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-11-03
L
i
nu
s
Torvalds
Cast a
l
l e
n
u
m valu
e
s to the final type
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-11-03
Linu
s
T
or
v
alds
Ma
k
e sure we ke
e
p enum v
a
lues in a suffi
c
ien
t
ly large
.
.
.
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-11-02
Linus Torva
l
ds
Add "
.
gitignore" file
commit
|
commitdiff
|
tree
2005-11-02
Linus Torva
l
ds
H
a
n
dle symbols
f
r
om "-include" fi
l
e too
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-09-30
Linus Torvalds
Make sure to b
e
m
o
re ca
r
eful a
b
o
u
t marking
s
ymbols
.
.
.
commit
|
commitdiff
|
tree
2005-09-27
Linus To
r
valds
Simpl
i
fy con
s
tant array (or structure
)
dere
f
erenc
e
s
.
.
.
commit
|
commitdiff
|
tree
2005-09-27
Linus Torvalds
Teach d
e
reference expansion to look into c
o
nstant ar
r
a
y
.
.
.
commit
|
commitdiff
|
tree
2005-09-24
Linus Torvalds
D
o stupid a
n
d cra
p
py CS
E
on cas
t
s
.
commit
|
commitdiff
|
tree
2005-09-22
Linus To
r
val
d
s
Turn the "inc
o
rrect
type"
error back into
a
w
arning
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-09-15
Linus To
r
valds
A
d
d
v
arious
decla
r
ations for mo
r
e
b
uiltin
functions
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-09-15
Li
n
us T
o
rvalds
Make
s
u
r
e tha
t
when
w
e define __
O
PTIMIZE[_SIZE]_ we
.
.
.
commit
|
commitdiff
|
tree
2005-09-09
Linus
T
o
rv
a
lds
Warn
a
bout un
d
efined p
r
eprocessor sym
b
ols at
e
xpans
i
on
.
.
.
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-08-15
L
i
nus
To
r
valds
M
a
k
e
'c
g
c
c
' w
o
rk
a
t
l
east
half-way better
commit
|
commitdiff
|
tree
2005-08-15
Linu
s
Tor
v
alds
Fix
p
a
rs
i
ng of
top
-
level asm statements
commit
|
commitdiff
|
tree
2005-08-15
Linus Torvalds
Ad
d
_
_OP
T
I
M
I
Z
E[_S
I
ZE]__ predefines
commit
|
commitdiff
|
tree
2005-08-15
Linus Torvalds
C
l
ean u
p
itera
t
o
r ha
n
dling
commit
|
commitdiff
|
tree
2005-08-11
Linus Torvalds
Make delete_
l
ast_ins
t
ruc
t
i
on() use
th
e
n
ew und
o
_ptr
_
list_las
.
.
.
commit
|
commitdiff
|
tree
2005-08-11
Linus Torvalds
Add 'undo_ptr_list_last()'
helper fun
c
tion
commit
|
commitdiff
|
tree
2005-08-06
Linus Torva
l
ds
Hav
e
more
b
its for "stream number" in "struct pos"
commit
|
commitdiff
|
tree
2005-08-04
Linus
T
orval
d
s
Don
'
t o
v
erwrite built-i
n
macros when redefining them
.
commit
|
commitdiff
|
tree
2005-08-04
Linus To
r
va
l
ds
Upda
t
e th
e
calli
n
g interface
to "sp
a
rse()"
.
commit
|
commitdiff
|
tree
2005-08-03
Linus
T
o
rvalds
Get c
l
ose
r
to
parsing multiple fi
l
e
s correct
l
y
.
commit
|
commitdiff
|
tree
2005-08-03
Linus Torvalds
A
dd
f
unction t
o
"prot
e
ct" allocations from being
d
ropped
.
.
.
commit
|
commitdiff
|
tree
2005-08-03
Linus Torvalds
Don't free
e
xpressio
n
s after preproce
s
sing
commit
|
commitdiff
|
tree
2005-08-03
Linus Torvald
s
Add
D
E
B
U
G mode, which enab
l
es var
i
ous
expensive de
b
ug
.
.
.
commit
|
commitdiff
|
tree
2005-08-03
Linu
s
Torvalds
Make typ
e
s h
a
ve file scope, not glo
b
al scope
commit
|
commitdiff
|
tree
2005-08-03
Linus Torval
d
s
Make "sparse()" hand
l
e
m
ultiple input
f
iles
on the
.
.
.
commit
|
commitdiff
|
tree
2005-08-03
Linus Torvalds
M
a
ke macros have file s
c
ope
commit
|
commitdiff
|
tree
2005-08-03
Linus Torvalds
W
hen
d
ropping all
a
llocations, clear the freelist too
commit
|
commitdiff
|
tree
2005-08-02
Linus Torval
d
s
Start work on
proper scopi
n
g
with multiple
f
i
l
es
commit
|
commitdiff
|
tree
2005-07-11
Linus Torva
l
d
s
Don't warn about
"nocast" warnings tha
t
onl
y
chan
g
e
.
.
.
commit
|
commitdiff
|
tree
2005-07-03
Lin
u
s Torva
l
ds
Add "_
_
builtin_o
f
f
setof()" to wor
k
with
n
ewer gcc's
commit
|
commitdiff
|
tree
2005-06-21
Linus Torvalds
B
e
more carefu
l
about
line
a
rizin
g
conditi
o
na
l
s
commit
|
commitdiff
|
tree
2005-06-20
L
i
nu
s
T
orvalds
Initial cut at
_
_
b
u
i
l
tin_ex
p
e
ct()
i
mple
m
entati
o
n
commit
|
commitdiff
|
tree
2005-06-20
Linus
T
orvalds
Def
a
ul
t
to
repo
r
t
in
g
t
h
e
same GNU C ver
s
ion as the
.
.
.
commit
|
commitdiff
|
tree
2005-06-20
Linus
Torvalds
Fix assignment
and conditional expression
parsing with
.
.
.
commit
|
commitdiff
|
tree
2005-06-20
Linu
s
To
r
valds
Fix SIGSEGV on
assignment to bad
l
eft side
.
commit
|
commitdiff
|
tree
2005-06-17
Linus Torvalds
Fix up a fe
w
missin
g
b
a
se t
y
pe evalu
a
ti
o
ns
commit
|
commitdiff
|
tree
2005-06-17
L
i
nus Torvalds
Fix up type exam
i
n
ation
.
commit
|
commitdiff
|
tree
2005-05-19
Linus Torvalds
D
o
n't warn about un
d
eclared "m
a
in()"
f
u
nction
.
commit
|
commitdiff
|
tree
2005-05-19
Linus To
r
valds
Fi
x
position report
i
n
g
on u
n
terminated preproces
s
or
.
.
.
commit
|
commitdiff
|
tree
2005-05-17
Lin
u
s Torvalds
Fi
x
SIGSEGV on non-ANSI fu
n
ction
-
line declarations
.
.
.
commit
|
commitdiff
|
tree
2005-04-08
Linus Tor
v
alds
G
i
ve func
t
i
o
n name in non-ANSI decl
a
rati
o
n
warning
.
commit
|
commitdiff
|
tree
2005-04-08
L
i
nus T
o
r
v
alds
Make enum
s
ymbo
l
s be regular symbols
w
ith constan
t
.
.
.
commit
|
commitdiff
|
tree
2005-04-08
Li
n
us To
r
v
a
l
d
s
W
a
rn about implic
i
t cast
s
to/from "nocast" types
commit
|
commitdiff
|
tree
2005-04-08
Linus
To
r
val
d
s
Move the p
t
rlist macros o
u
t of the sparse "lib
.
[ch
.
.
.
commit
|
commitdiff
|
tree
2005-04-08
Linus
Tor
v
al
d
s
Handle
ba
d
enum expression types gracefu
l
ly
.
commit
|
commitdiff
|
tree
2005-04-08
Linus
T
o
rvald
s
Add
support for co
n
text checking func
t
i
o
ns
.
commit
|
commitdiff
|
tree
2005-04-08
L
inus Torvalds
Name
s
tatic
librar
y
"
l
ibspars
e
.
a" to match shared librar
y
.
.
.
commit
|
commitdiff
|
tree
2005-04-08
L
i
nus Torv
a
lds
Don't warn abo
u
t z
e
ro-sized "sizeo
f
"
commit
|
commitdiff
|
tree
2005-04-08
Li
n
us T
o
r
valds
Warn abou
t
undeclared ident
i
f
i
ers
.
commit
|
commitdiff
|
tree
2005-04-08
L
i
nus Torva
l
d
s
S
u
pport building sparse as
a shared library
.
commit
|
commitdiff
|
tree
2005-04-08
Linus Torvalds
Warn
a
bout sizeof
o
f z
e
ro size
.
commit
|
commitdiff
|
tree
2005-04-08
L
i
nu
s
Torvalds
B
e
m
o
r
e
c
a
reful about removing
impli
c
it casts
.
commit
|
commitdiff
|
tree
2005-04-08
L
i
nus Torva
l
ds
Make sure to
r
e-exami
n
e
a
s
t
ruct/union/enu
m
typ
e
after
commit
|
commitdiff
|
tree
2005-04-08
L
i
n
u
s Torvalds
Mak
e
"check
"
(
a
ka sparse) check
argume
n
ts
to so
m
e functions
.
commit
|
commitdiff
|
tree
2005-04-08
Linus Torvalds
Fix typo (d
u
plic
a
t
e
src2
shoul
d
b
e
src3) in simplify
_
r
ange
commit
|
commitdiff
|
tree
2005-04-08
Linus Torvalds
Remove old stale
p
ointer
d
er
e
f
e
r
enc
e
type m
e
ss,
t
ha
t
commit
|
commitdiff
|
tree
2005-04-08
Linus Torvalds
Export "
i
s_ptr_
t
y
pe()" h
e
lper
functio
n
t
o
o
thers
.
commit
|
commitdiff
|
tree
2005-04-08
Linus Torvalds
Avoid SIGSEGV when lin
e
arizing bad expression
s
.
commit
|
commitdiff
|
tree
2005-04-08
Linu
s
To
r
vald
s
Don't drop modifi
e
r bits from a member de
r
ef
e
r
enc
e
.
commit
|
commitdiff
|
tree
2005-04-08
Lin
u
s
Torvalds
U
se the ne
w
p
e
r-
i
nstruction posi
t
ion i
n
f
ormation for
.
.
.
commit
|
commitdiff
|
tree
2005-04-08
Linus Torvalds
Make each instruction
have
a position of its own
.
commit
|
commitdiff
|
tree
2005-04-08
Linus Torvalds
Make range check cod
e
a bi
t
mo
r
e readable (and m
o
r
e
.
.
.
commit
|
commitdiff
|
tree
2005-04-08
L
inus Torv
a
l
d
s
Add compil
e
-ti
m
e "ra
n
ge-check" infrastr
u
cture to
s
par
s
e
commit
|
commitdiff
|
tree
2005-04-08
Linus
T
orvalds
Make sure we evaluate point
e
r comparisons as u
n
signed
.
commit
|
commitdiff
|
tree
2005-04-08
Linus Torvalds
S
hut
u
p info
r
m
ational messages once
we'
v
e
h
it the maximum
commit
|
commitdiff
|
tree
2005-04-08
Linus To
r
valds
Make "check" (
a
k
a
"sparse") check data-dropping casts
.
commit
|
commitdiff
|
tree
2005-04-08
L
inus Torva
l
ds
Mak
e
simpl
i
fica
t
ion remove cas
t
s that ch
a
ng
e
neither
.
.
.
commit
|
commitdiff
|
tree
2005-04-08
Linus Torvalds
Split OP_CAST into
signed, unsig
n
ed and FP casts
.
commit
|
commitdiff
|
tree
2005-04-08
Linus Torvalds
Simplify
OP_CAST of OP_AND
.
commit
|
commitdiff
|
tree
2005-04-08
Lin
u
s Torvalds
Don't optimize away casts too early
.
commit
|
commitdiff
|
tree
2005-04-08
Linus To
r
valds
Duh
.
When a function r
e
turns VOID, we should _n
o
t_
.
.
.
commit
|
commitdiff
|
tree
2005-04-08
Linus Torvalds
Fix code gene
r
ation
c
onfusion between OP_ADDR and
the
commit
|
commitdiff
|
tree
next