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 Torvalds
sp
a
rse
,
llvm:
M
ak
e
function
de
c
l
a
ration accessi
b
l
e
.
.
.
Signed-off-by:
Linus Torvalds
<torvalds@linux-foundation.org>
commit
|
commitdiff
|
tree
2011-08-28
Linus Torva
l
ds
Mak
e
'
l
inearize
_
retur
n
()' helper
fun
c
tion
Signed-off-by:
Linus Torvalds
<torvalds@linux-foundation.org>
commit
|
commitdiff
|
tree
2011-08-28
Linus
T
orvalds
Ma
k
e 'lineari
z
e_switch()' helper fun
c
tion
Signed-off-by:
Linus Torvalds
<torvalds@linux-foundation.org>
commit
|
commitdiff
|
tree
2011-08-28
Li
n
u
s
Torvald
s
Make 'lin
e
arize_it
e
rator()' helper functio
n
Signed-off-by:
Linus Torvalds
<torvalds@linux-foundation.org>
commit
|
commitdiff
|
tree
2011-04-19
Linus Torvalds
T
each
'
a
l
ready_t
o
kenize
d
(
)'
to use the stre
a
m name
.
.
.
Signed-off-by:
Linus Torvalds
<torvalds@linux-foundation.org>
commit
|
commitdiff
|
tree
2011-04-19
L
i
nus Torvalds
Add
n
ew streams to a hash
-
list based on their names
Signed-off-by:
Linus Torvalds
<torvalds@linux-foundation.org>
commit
|
commitdiff
|
tree
2009-07-18
L
inus Torvalds
Av
o
i
d "at
t
ribute 'war
n
ing'
:
unknown att
r
ibute" war
n
ing
Signed-off-by:
Linus Torvalds
<torvalds@linux-foundation.org>
commit
|
commitdiff
|
tree
2009-07-18
Linus Torv
a
l
ds
Turn off '-Wtransparent-union' by default
Signed-off-by:
Linus Torvalds
<torvalds@linux-foundation.org>
commit
|
commitdiff
|
tree
2009-07-18
Lin
u
s Torv
a
lds
Allow array decla
r
ators
to
have 'res
t
rict'
i
n them
Signed-off-by:
Linus Torvalds
<torvalds@linux-foundation.org>
commit
|
commitdiff
|
tree
2008-04-25
Linu
s
Torvalds
Simplify (an
d
warn about) rig
h
t shifts that result
.
.
.
Signed-off-by:
Linus Torvalds
<torvalds@linux-foundation.org>
commit
|
commitdiff
|
tree
2008-04-25
Lin
u
s Torvalds
Fi
x
cast instruc
t
i
on generation
Signed-off-by:
Linus Torvalds
<torvalds@linux-foundation.org>
commit
|
commitdiff
|
tree
2006-10-01
Linu
s
Tor
v
alds
Merge
b
ranch '
f
or-linus' of git://git
.
kern
e
l
.
org/
p
ub
.
.
.
commit
|
commitdiff
|
tree
2006-10-01
Linu
s
Torval
d
s
Add warning
me
s
s
a
ge for
n
a
k
e
d do-while
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2006-09-03
Linus To
r
valds
Make sparse warn
abou
t
initializers that initialize
.
.
.
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2006-08-01
Linus Torvalds
First cut at some
t
hing that a
p
proaches a san
e
-Wshadow
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2006-07-08
Linus To
r
valds
Avoid bogus gcc warnings abou
t
unused r
e
sult
s
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2006-07-08
Linus Torvald
s
Fix d
r
opped type information in "add_pseud
o
(
)"
.
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2006-06-10
Linus Tor
v
al
d
s
Fix
N
ULL ptr dereference with
bad type
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2006-05-09
Linu
s
Torva
l
ds
M
e
rge b
r
anch 'init-braces-fix' of git://git
.
kernel
.
.
.
commit
|
commitdiff
|
tree
2006-01-08
Linus
T
or
v
alds
Fix inco
r
rect cast
s
i
mplification around '~' operation
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-12-31
L
i
nus Torvalds
Mak
e
local declarations be s
t
atement
s
of the
i
r own
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-11-23
Linus Torvalds
ex
a
mple
:
OP_COPY must destroy an
y
old pse
u
d
o
state
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-11-23
Linus
T
orvald
s
Make t
h
e
"example" compiler use the new un
s
sa()
p
hase
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-11-22
Linus
To
r
valds
When taking the address of a symbol,
f
i
x up the po
i
nter
.
.
.
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-11-20
L
in
u
s
T
orvalds
Simp
l
ify s
o
m
e
m
o
re inst
r
uctions
commit
|
commitdiff
|
tree
2005-11-20
Li
n
us Torvalds
Remove totall
y
bo
g
us
p
hi-
s
ource liv
e
ness th
i
ng
.
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-11-19
L
i
nus Torv
a
lds
Evaluate
exp
r
e
ssions fully when
d
oing
type
co
m
p
a
risons
.
.
.
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-11-17
Lin
u
s Torvalds
Fix
up s
t
u
p
i
d
t
h
inko in K&R parameter parsi
n
g
.
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-11-16
L
inu
s
Torvalds
Re-na
m
e
"error()
"
funct
i
on 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
L
i
nus T
o
rvalds
Integer promotion: leave sufficiently l
a
r
g
e
i
nteger
.
.
.
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-11-04
Linus Torvalds
Make switch/
c
ase statements check type compatibility
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-11-03
Linus Torvalds
Cast a
l
l e
n
um
valu
e
s to the
final type
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-11-03
L
i
n
u
s Torvalds
Make sure w
e
keep
e
num
v
a
lu
e
s in a sufficiently larg
e
.
.
.
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-11-02
L
i
n
u
s
Torvalds
Add
"
.
gitignore
"
fi
l
e
commit
|
commitdiff
|
tree
2005-11-02
Linus Torva
l
ds
Handle
s
ymbols fro
m
"-i
n
clude
"
file
t
oo
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-09-30
Li
n
us
T
orv
a
l
d
s
Make sure to be more carefu
l
about mar
k
i
ng symbols
.
.
.
commit
|
commitdiff
|
tree
2005-09-27
L
i
n
u
s
Torvalds
Si
m
plify c
o
nst
a
nt arr
a
y (o
r
struct
u
re) deref
e
r
ences
.
.
.
commit
|
commitdiff
|
tree
2005-09-27
L
inus Torva
l
ds
Teach derefe
r
ence expansion to look
i
n
t
o
constant array
.
.
.
commit
|
commitdiff
|
tree
2005-09-24
L
i
nus
T
orvalds
Do s
t
u
pid
a
nd c
r
appy CSE on casts
.
commit
|
commitdiff
|
tree
2005-09-22
Linus Torvalds
Turn
t
he "in
c
orrect type" erro
r
back into a wa
r
n
i
n
g
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-09-15
Linus
Torvalds
Add va
r
io
u
s de
c
la
r
ations for more bui
l
tin functions
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-09-15
L
inus T
o
rvalds
Make sur
e
that when
w
e define __O
P
TIMIZE[_S
I
ZE]_ we
.
.
.
commit
|
commitdiff
|
tree
2005-09-09
Linus Torvalds
Warn
abou
t
undefined preproce
s
sor symbols at expa
n
sio
n
.
.
.
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-08-15
Linus Torval
d
s
Make
'c
g
cc' work at least h
a
lf-way be
t
te
r
commit
|
commitdiff
|
tree
2005-08-15
L
inus Torvalds
F
i
x pa
r
sin
g
of top-level asm statem
e
nts
commit
|
commitdiff
|
tree
2005-08-15
Linus Tor
v
alds
Add __OPTI
M
IZ
E
[_
S
IZE]__ pr
e
defines
commit
|
commitdiff
|
tree
2005-08-15
Linus T
o
rvald
s
Clean u
p
iterator handling
commit
|
commitdiff
|
tree
2005-08-11
Linu
s
Tor
v
alds
Make del
e
te_l
a
st_instru
c
tion() u
s
e the new undo_ptr_list_la
s
.
.
.
commit
|
commitdiff
|
tree
2005-08-11
Linu
s
Torval
d
s
Add '
u
ndo
_
ptr
_
l
ist_last()' helper functi
o
n
commit
|
commitdiff
|
tree
2005-08-06
Linus Torval
d
s
Have
m
ore bits
for "st
r
eam number" in "struct pos"
commit
|
commitdiff
|
tree
2005-08-04
Li
n
us Torval
d
s
Don't overwrite
b
uil
t
-in
m
acr
o
s
w
hen
r
edefining
t
hem
.
commit
|
commitdiff
|
tree
2005-08-04
Linus Torvald
s
Update the calling i
n
terface to "s
p
ars
e
(
)"
.
commit
|
commitdiff
|
tree
2005-08-03
Linus Torvalds
G
et clos
e
r to
p
a
rs
i
ng m
u
lt
i
pl
e
fi
l
e
s
corr
e
ctly
.
commit
|
commitdiff
|
tree
2005-08-03
Linus To
r
v
al
d
s
A
dd function to "prot
e
ct
"
allocatio
n
s
from being d
r
opped
.
.
.
commit
|
commitdiff
|
tree
2005-08-03
Lin
u
s Torvalds
Don't
f
ree e
x
pressions after preproce
s
sing
commit
|
commitdiff
|
tree
2005-08-03
Linus Torvalds
Ad
d
DEBUG mode, whi
c
h
e
nables vari
o
us expe
n
sive
d
ebug
.
.
.
commit
|
commitdiff
|
tree
2005-08-03
Linus
T
orvalds
Make
t
ypes h
a
ve file sc
o
pe, not gl
o
bal
s
c
ope
commit
|
commitdiff
|
tree
2005-08-03
Linus Torvalds
Make
"s
p
arse()" handle
multiple input
file
s
on the
.
.
.
commit
|
commitdiff
|
tree
2005-08-03
Linus
Torvalds
Make mac
r
os ha
v
e file scope
commit
|
commitdiff
|
tree
2005-08-03
Linus
Torval
d
s
W
h
e
n
d
r
op
p
ing all all
o
c
a
tio
n
s, clear the free
l
ist
too
commit
|
commitdiff
|
tree
2005-08-02
Li
n
us Torvalds
Start work on proper scoping with multiple
files
commit
|
commitdiff
|
tree
2005-07-11
L
i
nus Torva
l
ds
Don't warn about "nocast" warnings that only cha
n
ge
.
.
.
commit
|
commitdiff
|
tree
2005-07-03
Li
n
us Torvalds
Add "_
_
builtin_offs
e
tof()"
to work
with newer gcc's
commit
|
commitdiff
|
tree
2005-06-21
L
inus
T
orva
l
ds
Be more careful about linea
r
i
z
ing conditionals
commit
|
commitdiff
|
tree
2005-06-20
Linus Tor
v
alds
Initial cu
t
a
t
__b
u
iltin_exp
e
ct() implem
e
ntat
i
on
commit
|
commitdiff
|
tree
2005-06-20
Linus To
r
va
l
ds
Default to reportin
g
t
h
e
sa
m
e
G
NU C versio
n
a
s
the
.
.
.
commit
|
commitdiff
|
tree
2005-06-20
Linus Tor
v
al
d
s
F
i
x assignme
n
t and cond
i
t
ional ex
p
r
e
ssion pars
i
n
g with
.
.
.
commit
|
commitdiff
|
tree
2005-06-20
Linus
T
orv
a
l
ds
Fix SIGSEGV on a
s
s
i
gnment
t
o bad le
f
t side
.
commit
|
commitdiff
|
tree
2005-06-17
Linu
s
Torvalds
Fix up a fe
w
missing bas
e
type evaluations
commit
|
commitdiff
|
tree
2005-06-17
L
i
n
u
s Torvalds
Fix up type examination
.
commit
|
commitdiff
|
tree
2005-05-19
Li
n
us T
o
rvalds
D
o
n
't warn about
u
ndec
l
ared "
m
ain()" function
.
commit
|
commitdiff
|
tree
2005-05-19
Linus T
o
rvalds
Fix position reporting
on untermina
t
ed
p
reproce
s
sor
.
.
.
commit
|
commitdiff
|
tree
2005-05-17
Linu
s
Torvalds
Fix
S
IG
S
EGV on non-ANSI function-line declarations
.
.
.
commit
|
commitdiff
|
tree
2005-04-08
L
inus
T
o
rvalds
Give function n
a
me
i
n non-
A
NSI declarati
o
n warning
.
commit
|
commitdiff
|
tree
2005-04-08
L
i
nus T
o
rvalds
M
ake enum
s
ymbols be r
e
gular symbols with constant
.
.
.
commit
|
commitdiff
|
tree
2005-04-08
Li
n
us Torvald
s
Warn a
b
out implicit casts to/from
"noc
a
st" types
commit
|
commitdiff
|
tree
2005-04-08
Linus Torvalds
Move th
e
ptrl
i
st macr
o
s out of the s
p
arse
"lib
.
[ch
.
.
.
commit
|
commitdiff
|
tree
2005-04-08
L
i
nus Torvalds
Handle
ba
d
en
u
m e
x
pres
s
i
o
n types gracef
u
lly
.
commit
|
commitdiff
|
tree
2005-04-08
Linus Torvalds
Add supp
o
rt for context checking fu
n
ctions
.
commit
|
commitdiff
|
tree
2005-04-08
Linus Torvalds
Name static
l
ibrar
y
"libsparse
.
a" to mat
c
h sha
r
e
d library
.
.
.
commit
|
commitdiff
|
tree
2005-04-08
Linus To
r
valds
Don't
w
arn about zero-si
z
ed
"
s
i
z
eof"
commit
|
commitdiff
|
tree
2005-04-08
Linus
Torvald
s
Wa
r
n about undeclared identifiers
.
commit
|
commitdiff
|
tree
2005-04-08
Linus Torval
d
s
Support build
i
n
g sparse
a
s a shared
l
ibra
r
y
.
commit
|
commitdiff
|
tree
2005-04-08
Linus Torvalds
W
arn about sizeof of zero
s
ize
.
commit
|
commitdiff
|
tree
2005-04-08
Linu
s
Torv
a
lds
B
e
more
careful about removing i
m
plicit cas
t
s
.
commit
|
commitdiff
|
tree
2005-04-08
L
inus Torvalds
Ma
k
e sure to re-exam
i
ne a struct/unio
n
/enum ty
p
e after
commit
|
commitdiff
|
tree
2005-04-08
Lin
u
s
T
orvald
s
Make "che
c
k"
(
aka sparse) chec
k
argum
e
n
ts to some
f
uncti
o
ns
.
commit
|
commitdiff
|
tree
2005-04-08
Linus Torvalds
F
ix typo (duplic
a
te src2 shou
l
d
be
s
rc3) in sim
p
lify_range
commit
|
commitdiff
|
tree
2005-04-08
Linus Torvalds
R
e
move old stale point
e
r dereference
type mess,
that
commit
|
commitdiff
|
tree
2005-04-08
Linus Torvalds
Export
"
is_p
t
r_type()" helper fu
n
ction
t
o
others
.
commit
|
commitdiff
|
tree
2005-04-08
Linus Torvald
s
A
v
o
i
d SIGSEGV whe
n
linearizing bad expressions
.
commit
|
commitdiff
|
tree
2005-04-08
L
inus Torv
a
lds
Do
n
't drop mo
d
ifier bi
t
s fr
o
m a mem
b
er dereference
.
commit
|
commitdiff
|
tree
2005-04-08
Li
n
us Torvalds
U
se the new
p
er-instruction position
i
n
f
ormation for
.
.
.
commit
|
commitdiff
|
tree
2005-04-08
Linu
s
Torvalds
Make each ins
t
ruction have a position of its own
.
commit
|
commitdiff
|
tree
2005-04-08
Linus
Torvalds
Make range check code a b
i
t more readable
(
a
nd more
.
.
.
commit
|
commitdiff
|
tree
2005-04-08
Linus Torvalds
Add
compile-tim
e
"range-check"
i
n
f
ra
s
tructure to
sparse
commit
|
commitdiff
|
tree
2005-04-08
Linus Torvalds
Make sure we evaluate pointer
c
ompar
i
sons as u
n
signe
d
.
commit
|
commitdiff
|
tree
2005-04-08
Linus Torvalds
Shu
t
up
informational
m
essages once we've hit th
e
max
i
mum
commit
|
commitdiff
|
tree
2005-04-08
Linus
T
orv
a
lds
Make
"chec
k
" (aka "sparse") check data-dr
o
ppin
g
casts
.
commit
|
commitdiff
|
tree
next