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
Add __builtin_stpcpy, __sync_synchronize, __sync_bool_compare_and_swap to declare_bui...
2012-02-04
Linus T
o
rv
a
lds
sparse, llvm: Make fun
c
tion declaration a
c
cessible
.
.
.
Signed-off-by:
Linus Torvalds
<torvalds@linux-foundation.org>
commit
|
commitdiff
|
tree
2011-08-28
L
inus Torv
a
lds
Make 'linear
i
z
e
_return()' helper f
u
n
ction
Signed-off-by:
Linus Torvalds
<torvalds@linux-foundation.org>
commit
|
commitdiff
|
tree
2011-08-28
Lin
u
s Torvalds
Make '
l
ine
a
rize_switch()' helper fun
c
tion
Signed-off-by:
Linus Torvalds
<torvalds@linux-foundation.org>
commit
|
commitdiff
|
tree
2011-08-28
Linus Torvalds
Ma
k
e 'linear
i
z
e
_i
t
e
r
ator()' h
e
lper functio
n
Signed-off-by:
Linus Torvalds
<torvalds@linux-foundation.org>
commit
|
commitdiff
|
tree
2011-04-19
Linus
Torvalds
Teach 'already_tokenized()' to
u
se the s
t
ream name
.
.
.
Signed-off-by:
Linus Torvalds
<torvalds@linux-foundation.org>
commit
|
commitdiff
|
tree
2011-04-19
Linus
T
o
r
valds
Add n
e
w
str
e
ams to a has
h
-list based
o
n
their
n
ames
Signed-off-by:
Linus Torvalds
<torvalds@linux-foundation.org>
commit
|
commitdiff
|
tree
2009-07-18
Linus
T
o
r
valds
Avoi
d
"attribute 'warni
n
g': unk
n
own attribute" warnin
g
Signed-off-by:
Linus Torvalds
<torvalds@linux-foundation.org>
commit
|
commitdiff
|
tree
2009-07-18
Linus
T
o
rva
l
ds
Turn off '-Wtransparent-union' by de
f
ault
Signed-off-by:
Linus Torvalds
<torvalds@linux-foundation.org>
commit
|
commitdiff
|
tree
2009-07-18
L
inu
s
Torvalds
Allow array declarators to have 'r
e
s
trict' in them
Signed-off-by:
Linus Torvalds
<torvalds@linux-foundation.org>
commit
|
commitdiff
|
tree
2008-04-25
L
i
n
us Torvalds
Simpl
i
f
y (a
n
d warn abou
t
)
right shifts
that res
u
lt
.
.
.
Signed-off-by:
Linus Torvalds
<torvalds@linux-foundation.org>
commit
|
commitdiff
|
tree
2008-04-25
L
i
nus Torvald
s
Fix c
a
st in
s
t
r
u
ction generation
Signed-off-by:
Linus Torvalds
<torvalds@linux-foundation.org>
commit
|
commitdiff
|
tree
2006-10-01
Linus To
r
va
l
ds
Merge b
r
a
n
ch 'for-
l
inus' o
f
git:
/
/g
i
t
.
k
er
n
el
.
org
/
p
u
b
.
.
.
commit
|
commitdiff
|
tree
2006-10-01
Linus Tor
v
alds
A
d
d
warn
i
ng
m
essage for naked do-while
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2006-09-03
Linu
s
Torvalds
M
a
ke
s
par
s
e
w
a
r
n
about initializers that
i
nitia
l
ize
.
.
.
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2006-08-01
Lin
u
s Torvald
s
First cut at somet
h
ing
that appr
o
ach
e
s a sane -Wshadow
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2006-07-08
Linus Tor
v
alds
Avo
i
d bogus gcc warnings abo
u
t
unuse
d
results
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2006-07-08
Linus Torv
a
lds
Fix drop
p
ed t
y
pe information in "ad
d
_pseudo
(
)"
.
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2006-06-10
Linus
T
orvalds
Fix NULL pt
r
dereference w
i
t
h b
a
d type
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2006-05-09
Linus To
r
v
al
d
s
Merge
b
ranch 'i
n
it
-
br
a
c
e
s-fix' of git://g
i
t
.
k
ernel
.
.
.
commit
|
commitdiff
|
tree
2006-01-08
Linus Tor
v
al
d
s
Fi
x
incor
r
ect cast simpli
f
ication around '~' o
p
e
rat
i
on
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-12-31
Linus Torvalds
M
ak
e
l
ocal declara
t
ions
b
e statements of
t
he
i
r own
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-11-23
Linus Torvalds
ex
a
mple: OP_COPY m
u
st de
s
tro
y
an
y
ol
d
pse
u
do state
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-11-23
Li
n
us
T
orva
l
ds
M
ake the "ex
a
m
ple
"
c
ompiler u
s
e th
e
new un
s
sa(
)
phas
e
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-11-22
Linus T
o
r
valds
When t
a
king the address
of
a
symbol, fix up the poi
n
t
e
r
.
.
.
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-11-20
Linus Torvalds
Sim
p
l
ify some more ins
t
ruction
s
commit
|
commitdiff
|
tree
2005-11-20
Linus Torvalds
Rem
o
ve
totally bogus phi-source livene
s
s thing
.
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-11-19
Linus Tor
v
alds
Eval
u
ate expressions f
u
lly
w
hen
d
oing type
c
omparisons
.
.
.
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-11-17
L
i
nus Torvalds
Fix
up s
t
upid thinko
in
K&
R
p
a
ra
m
eter pars
i
n
g
.
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-11-16
Li
n
us Torvalds
Re-name "e
r
r
or()" functio
n
to "sparse_error()"
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-11-16
Linus Torvald
s
Fix K&R argument scoping
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-11-16
Linus Torvalds
I
nteger promotio
n
:
leave suf
f
iciently large int
e
ger
.
.
.
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-11-04
Linu
s
Torv
a
l
d
s
Make switch
/
case
statem
e
nts check
t
y
pe c
o
mpatibility
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-11-03
Linus
Torvalds
Ca
s
t a
l
l
enum values
to the fi
n
al
type
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-11-03
Linus Torvalds
Make sure
we keep enum valu
e
s i
n
a
s
u
ff
i
c
iently
lar
g
e
.
.
.
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-11-02
Linu
s
Torvalds
A
d
d "
.
g
i
tignor
e
" file
commit
|
commitdiff
|
tree
2005-11-02
Linus Torvalds
Hand
l
e s
y
mb
o
ls from "-
i
n
clu
d
e" file too
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-09-30
Li
n
us Torvalds
Make sure to be more careful abo
u
t markin
g
symb
o
ls
.
.
.
commit
|
commitdiff
|
tree
2005-09-27
Lin
u
s To
r
valds
S
implify constant
a
rray (or
s
tructure) der
e
fere
n
ces
.
.
.
commit
|
commitdiff
|
tree
2005-09-27
Linu
s
Torvalds
T
each d
e
re
f
erence expan
s
ion to look into const
a
nt a
r
ra
y
.
.
.
commit
|
commitdiff
|
tree
2005-09-24
Linus
Torvalds
Do
st
u
pid and crappy CSE on casts
.
commit
|
commitdiff
|
tree
2005-09-22
Linus Torv
a
lds
Turn
the "
i
ncor
r
ect type" error
back i
n
to a wa
r
ning
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-09-15
Linus Torvald
s
Add various
d
eclaratio
n
s for
m
o
re
b
uiltin function
s
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-09-15
Li
n
u
s
Torvalds
Make su
r
e
t
hat
w
hen we de
f
ine __OPTIMIZE[_
S
IZE]_ we
.
.
.
commit
|
commitdiff
|
tree
2005-09-09
Lin
u
s T
o
rvalds
Wa
r
n about undefi
n
ed prep
r
ocess
o
r symbols at expansion
.
.
.
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-08-15
Linus Torva
l
d
s
Make 'cgcc' work at
least half-way bet
t
er
commit
|
commitdiff
|
tree
2005-08-15
Linus
Torvalds
Fix pars
i
n
g
of top-level asm statements
commit
|
commitdiff
|
tree
2005-08-15
L
inus Torvalds
Add __OPTIMIZ
E
[_SIZE]__ prede
f
ines
commit
|
commitdiff
|
tree
2005-08-15
Linus Torvald
s
Clean up iterator
h
an
d
ling
commit
|
commitdiff
|
tree
2005-08-11
L
inus Torvalds
Make del
e
te_last_instruc
t
io
n
(
) use th
e
new und
o
_ptr_list_las
.
.
.
commit
|
commitdiff
|
tree
2005-08-11
Linus Torvalds
Add 'undo_ptr_
l
ist_la
s
t()' helper function
commit
|
commitdiff
|
tree
2005-08-06
Linus Torva
l
ds
H
ave mor
e
bits for "stream
number" i
n
"str
u
ct pos"
commit
|
commitdiff
|
tree
2005-08-04
Linus Torvalds
Don
'
t overwrite built-in macros when redef
i
ning
them
.
commit
|
commitdiff
|
tree
2005-08-04
Linus Torvalds
Update the calling
interfac
e
t
o
"sparse()"
.
commit
|
commitdiff
|
tree
2005-08-03
Linus
To
r
valds
Get closer to parsing multiple
file
s
cor
r
ectly
.
commit
|
commitdiff
|
tree
2005-08-03
Linus Torvalds
Add fun
c
ti
o
n to "protect" alloc
a
tions from be
i
ng d
r
o
p
pe
d
.
.
.
commit
|
commitdiff
|
tree
2005-08-03
Linus Tor
v
ald
s
Don
'
t fr
e
e e
x
pressions
after preprocessing
commit
|
commitdiff
|
tree
2005-08-03
Linus Torvalds
Ad
d
DEBUG mode, which enables
va
r
ious expensiv
e
d
e
bug
.
.
.
commit
|
commitdiff
|
tree
2005-08-03
Linus To
r
valds
Make types have file scope, not gl
o
bal scope
commit
|
commitdiff
|
tree
2005-08-03
Li
n
us T
o
rva
l
d
s
Ma
k
e "sparse()" handle multiple in
p
ut files on
t
he
.
.
.
commit
|
commitdiff
|
tree
2005-08-03
Linus To
r
valds
Ma
k
e mac
r
os hav
e
file
s
c
o
pe
commit
|
commitdiff
|
tree
2005-08-03
Lin
u
s Torvalds
When dropping all allocations, clear the fre
e
list too
commit
|
commitdiff
|
tree
2005-08-02
L
i
nus
To
r
va
l
ds
Start work on
p
roper
s
c
oping with multiple files
commit
|
commitdiff
|
tree
2005-07-11
Linus
Torv
a
l
ds
Don't warn about "nocast"
warnings t
h
at only chan
g
e
.
.
.
commit
|
commitdiff
|
tree
2005-07-03
Linus Tor
v
alds
A
d
d
"
__builtin_offsetof()" t
o
work
w
it
h
newer gcc
'
s
commit
|
commitdiff
|
tree
2005-06-21
Li
n
us Torv
a
l
ds
B
e
m
o
r
e
ca
r
eful abo
u
t
linearizing c
o
ndit
i
onals
commit
|
commitdiff
|
tree
2005-06-20
Linus Torvalds
Initial cut at __builtin_expect() i
m
plementation
commit
|
commitdiff
|
tree
2005-06-20
Linus Torvald
s
De
f
au
l
t
t
o r
e
portin
g
the same GNU C vers
i
on as
t
he
.
.
.
commit
|
commitdiff
|
tree
2005-06-20
L
i
nus Torv
a
l
d
s
Fix assig
n
m
e
nt and c
o
n
d
itional expr
e
ssion parsing w
i
th
.
.
.
commit
|
commitdiff
|
tree
2005-06-20
Linus
T
o
rvalds
Fix SIGSEGV on ass
i
g
nment to bad left
s
ide
.
commit
|
commitdiff
|
tree
2005-06-17
L
i
nus
Torvalds
Fix up a few m
i
ssing base type evaluatio
n
s
commit
|
commitdiff
|
tree
2005-06-17
Linus Torvalds
Fix up
ty
p
e examinatio
n
.
commit
|
commitdiff
|
tree
2005-05-19
Linus Tor
v
alds
Don'
t
warn abo
u
t undeclared "ma
i
n()" func
t
ion
.
commit
|
commitdiff
|
tree
2005-05-19
Linus Torvalds
F
i
x
position rep
o
rt
i
ng on
u
n
t
ermina
t
ed preprocessor
.
.
.
commit
|
commitdiff
|
tree
2005-05-17
L
inu
s
Torvalds
F
ix SIGSEGV
on
n
on-ANSI function-l
i
ne declarat
i
ons
.
.
.
commit
|
commitdiff
|
tree
2005-04-08
Linus
To
r
v
alds
Give
f
un
c
tion name in non-ANS
I
d
eclarat
i
o
n war
n
i
ng
.
commit
|
commitdiff
|
tree
2005-04-08
Linus T
o
r
val
d
s
Make en
u
m
s
ymbols
be
re
g
ular
symbols with constant
.
.
.
commit
|
commitdiff
|
tree
2005-04-08
Linus T
o
rva
l
ds
W
arn about implic
i
t
c
a
s
ts
t
o/
f
rom "no
c
ast"
t
ypes
commit
|
commitdiff
|
tree
2005-04-08
Linus Torvalds
M
o
v
e
t
he ptrlist macros out of the s
p
arse
"lib
.
[ch
.
.
.
commit
|
commitdiff
|
tree
2005-04-08
Li
n
us
Torv
a
lds
Hand
l
e bad enum expression
types g
r
acef
u
lly
.
commit
|
commitdiff
|
tree
2005-04-08
Linus Torvalds
A
d
d suppo
r
t
for context ch
e
cking functions
.
commit
|
commitdiff
|
tree
2005-04-08
Linus Tor
v
alds
Name static libr
a
ry "libsparse
.
a" to match share
d
lib
r
a
ry
.
.
.
commit
|
commitdiff
|
tree
2005-04-08
Linus Tor
v
alds
D
o
n't warn about zer
o
-size
d
"
s
izeof"
commit
|
commitdiff
|
tree
2005-04-08
Lin
u
s
T
orvalds
Warn a
b
out undeclared
i
d
e
ntif
i
ers
.
commit
|
commitdiff
|
tree
2005-04-08
Linus Torval
d
s
S
u
p
po
r
t building
sparse as
a sha
r
ed library
.
commit
|
commitdiff
|
tree
2005-04-08
Linus Torvalds
Warn about sizeof of ze
r
o size
.
commit
|
commitdiff
|
tree
2005-04-08
Linus Torvalds
B
e
more
c
areful about removing imp
l
i
cit casts
.
commit
|
commitdiff
|
tree
2005-04-08
L
i
nu
s
Torva
l
ds
Make sure
t
o re-examine a struct/union/enum type after
commit
|
commitdiff
|
tree
2005-04-08
Linus Torval
d
s
Make "check" (aka spa
r
se)
c
heck arg
u
ments to
s
ome fu
n
ction
s
.
commit
|
commitdiff
|
tree
2005-04-08
Lin
u
s To
r
valds
Fix typo (duplicate s
r
c2
s
hould b
e
src3) in simplify_
r
ange
commit
|
commitdiff
|
tree
2005-04-08
Linus
Torvalds
Remo
v
e
o
l
d stale pointer derefere
n
ce ty
p
e mess,
t
hat
commit
|
commitdiff
|
tree
2005-04-08
Linus
T
orvalds
Export "is_ptr_typ
e
()"
helper function to o
t
hers
.
commit
|
commitdiff
|
tree
2005-04-08
Linus Tor
v
alds
Avoid SI
G
S
E
GV whe
n
linearizing
b
ad e
x
pressio
n
s
.
commit
|
commitdiff
|
tree
2005-04-08
Linus Torvalds
Don
'
t
d
rop modifier bits f
r
o
m
a
m
embe
r
dereference
.
commit
|
commitdiff
|
tree
2005-04-08
Linu
s
Torvalds
U
se the
n
ew per-
i
nstr
u
ction position
i
nformation f
o
r
.
.
.
commit
|
commitdiff
|
tree
2005-04-08
Linus Torvalds
Make each instruction have a positi
o
n of
its ow
n
.
commit
|
commitdiff
|
tree
2005-04-08
Linus Torva
l
d
s
Make range check code a bit mo
r
e readable
(an
d
mo
r
e
.
.
.
commit
|
commitdiff
|
tree
2005-04-08
L
i
nus
Torvalds
Add compile-time "range-c
h
eck"
i
nfrastructu
r
e to sparse
commit
|
commitdiff
|
tree
2005-04-08
Linus Torvalds
Make sure we e
v
aluat
e
pointer compar
i
son
s
as
u
nsigned
.
commit
|
commitdiff
|
tree
2005-04-08
Li
n
us Torvalds
S
hut up
informational messa
g
es once we've hit t
h
e maximum
commit
|
commitdiff
|
tree
2005-04-08
Linus Torv
a
ld
s
Make "
c
heck
"
(aka "sparse") check data-dr
o
pping c
a
sts
.
commit
|
commitdiff
|
tree
next