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
validation/sizeof-bool: fix broken test case
2012-02-04
Linu
s
Torvalds
sparse,
l
lvm:
M
ake
f
un
c
tion dec
l
ara
t
i
on accessible
.
.
.
Signed-off-by:
Linus Torvalds
<torvalds@linux-foundation.org>
commit
|
commitdiff
|
tree
2011-08-28
Linus Tor
v
a
l
d
s
Make 'lin
e
arize_return()' h
e
lper
function
Signed-off-by:
Linus Torvalds
<torvalds@linux-foundation.org>
commit
|
commitdiff
|
tree
2011-08-28
Linus Torva
l
d
s
Mak
e
'lin
e
ariz
e
_
switch()' helper function
Signed-off-by:
Linus Torvalds
<torvalds@linux-foundation.org>
commit
|
commitdiff
|
tree
2011-08-28
Linus
T
orva
l
ds
Make
'
linearize_iterator()'
helper func
t
io
n
Signed-off-by:
Linus Torvalds
<torvalds@linux-foundation.org>
commit
|
commitdiff
|
tree
2011-04-19
Linus
Torvalds
Teach 'already_tokenized()' to us
e
th
e
stream name
.
.
.
Signed-off-by:
Linus Torvalds
<torvalds@linux-foundation.org>
commit
|
commitdiff
|
tree
2011-04-19
Linus
T
orvalds
Add
new streams to a has
h
-list b
a
sed on thei
r
n
a
mes
Signed-off-by:
Linus Torvalds
<torvalds@linux-foundation.org>
commit
|
commitdiff
|
tree
2009-07-18
Linus Tor
v
ald
s
Avoid "
a
t
tribut
e
'
w
arn
i
ng': unkno
w
n attribute" warni
n
g
Signed-off-by:
Linus Torvalds
<torvalds@linux-foundation.org>
commit
|
commitdiff
|
tree
2009-07-18
Linus
Tor
v
a
l
d
s
Turn o
f
f '-Wtranspar
e
nt-u
n
ion' by d
e
fault
Signed-off-by:
Linus Torvalds
<torvalds@linux-foundation.org>
commit
|
commitdiff
|
tree
2009-07-18
L
inus
Torvalds
Allow arr
a
y decl
a
rato
r
s to
h
ave
'
restri
c
t' in them
Signed-off-by:
Linus Torvalds
<torvalds@linux-foundation.org>
commit
|
commitdiff
|
tree
2008-04-25
Linus Torvalds
Simplify (an
d
warn about) right
s
hifts
that r
e
sult
.
.
.
Signed-off-by:
Linus Torvalds
<torvalds@linux-foundation.org>
commit
|
commitdiff
|
tree
2008-04-25
Linus Torvalds
Fix cast instruction
g
ener
a
tion
Signed-off-by:
Linus Torvalds
<torvalds@linux-foundation.org>
commit
|
commitdiff
|
tree
2006-10-01
L
i
nus Torva
l
ds
M
erge
branch 'for-li
n
us'
o
f
git
:
//git
.
ke
r
nel
.
o
r
g
/pub
.
.
.
commit
|
commitdiff
|
tree
2006-10-01
Linus Torvald
s
Add wa
r
ning
m
es
s
age
f
or nake
d
do
-
whil
e
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2006-09-03
Linus Torvald
s
M
a
ke
s
parse warn about i
n
itializers
that
i
nitialize
.
.
.
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2006-08-01
L
inus Torvalds
Fi
r
st cut at som
e
thing that approac
h
e
s
a sane -Wshadow
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2006-07-08
Linus Torvald
s
Avo
i
d
bogus gcc warnings about
u
nused results
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2006-07-08
Linus Torvalds
F
i
x dropped
typ
e
i
nfor
m
a
t
ion in "add_p
s
eudo()
"
.
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2006-06-10
Lin
u
s
Tor
v
alds
Fi
x
NUL
L
ptr der
e
ference with
bad
type
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2006-05-09
Linus
T
or
v
ald
s
Merge branch 'init-braces-fix' of gi
t
://git
.
kernel
.
.
.
commit
|
commitdiff
|
tree
2006-01-08
Linus Torv
a
lds
Fix incorrect cas
t
simplifi
c
ation aroun
d
'~' op
e
ra
t
ion
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-12-31
Li
n
us
Torvalds
Make local
d
eclarations be statements of their own
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-11-23
Linus Torvalds
example:
O
P_COPY
must des
t
roy any ol
d
p
s
e
u
d
o state
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-11-23
Linus Torva
l
ds
Make the
"exam
p
le" compiler us
e
the new unssa() p
h
ase
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-11-22
Linus Torvald
s
When taking the address of a symbol, fix up the
p
oin
t
e
r
.
.
.
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-11-20
Linus
T
or
v
a
lds
Sim
p
li
f
y som
e
mor
e
instructions
commit
|
commitdiff
|
tree
2005-11-20
Li
n
us
Torvalds
Remove
t
ot
a
lly b
o
gus p
h
i-sour
c
e
liveness thing
.
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-11-19
L
i
nus Torvalds
Evalua
t
e
expressions fully w
h
en do
i
ng type
comparisons
.
.
.
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-11-17
Linus Torv
a
lds
Fix up
s
tup
i
d thinko i
n
K
&R
p
a
r
a
meter parsing
.
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-11-16
Linus Torvalds
Re-name "error()" fu
n
c
t
ion to "spar
s
e_error(
)
"
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-11-16
Lin
u
s
T
o
rvalds
Fix
K
&R argument scoping
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-11-16
Li
n
us Torvalds
Integer promot
i
on: leave s
u
fficiently
large
inte
g
er
.
.
.
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-11-04
L
in
u
s Torvalds
Make
s
witch/case statements ch
e
ck
t
y
p
e compatibilit
y
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-11-03
Linus Torval
d
s
Cast
all enum v
a
l
u
e
s
to th
e
final typ
e
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-11-03
Linus Torva
l
ds
Make sure
w
e
k
eep
e
num val
u
es in a
s
uffic
i
ently large
.
.
.
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-11-02
Lin
u
s Torvalds
Add "
.
gitignore" file
commit
|
commitdiff
|
tree
2005-11-02
Linus T
o
rv
a
lds
Han
d
le symbols from "-
i
nclud
e
"
f
i
l
e to
o
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-09-30
Lin
u
s Torval
d
s
Make sure to be more
c
arefu
l
about mar
k
ing symbols
.
.
.
commit
|
commitdiff
|
tree
2005-09-27
Linus Torvalds
Simpli
f
y
c
onstant array (or
structure) deref
e
rences
.
.
.
commit
|
commitdiff
|
tree
2005-09-27
Linus Torvalds
Te
a
ch dereference ex
p
an
s
i
o
n
t
o
l
ook i
n
to consta
n
t a
r
ray
.
.
.
commit
|
commitdiff
|
tree
2005-09-24
L
inus Torva
l
ds
Do
stupid
a
nd c
r
appy C
S
E on casts
.
commit
|
commitdiff
|
tree
2005-09-22
Linus
T
orvalds
T
u
rn the "
i
ncorrect type
"
error ba
c
k into a warning
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-09-15
Linu
s
To
r
val
d
s
Add v
a
rious declarations for more builtin fun
c
tions
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-09-15
Linus Torva
l
ds
Make su
r
e that whe
n
we
d
efine __OPTI
M
IZE[_SIZE]
_
w
e
.
.
.
commit
|
commitdiff
|
tree
2005-09-09
Linus Torvalds
Warn about undefin
e
d p
r
e
proce
s
sor symb
o
ls at expansi
o
n
.
.
.
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-08-15
L
in
u
s
Torvalds
Make
'cgcc' work at least
half-way bette
r
commit
|
commitdiff
|
tree
2005-08-15
Linus Torvalds
Fix pars
i
ng of top-level asm statements
commit
|
commitdiff
|
tree
2005-08-15
Linus
T
orva
l
ds
Add __OP
T
IMIZE[_
S
IZE]__ predefines
commit
|
commitdiff
|
tree
2005-08-15
Li
n
us Torvalds
Clean u
p
iterator handling
commit
|
commitdiff
|
tree
2005-08-11
Linus
T
or
v
alds
M
a
ke d
e
l
ete_last_instruct
i
on() use the new
u
ndo
_
p
t
r_list_las
.
.
.
commit
|
commitdiff
|
tree
2005-08-11
L
i
n
us Torvalds
Add 'u
n
do_ptr_li
s
t_last
(
)
' help
e
r function
commit
|
commitdiff
|
tree
2005-08-06
Linu
s
Torvalds
Ha
v
e more b
i
ts f
o
r
"stream number" in "struct
po
s
"
commit
|
commitdiff
|
tree
2005-08-04
L
i
nus Torvalds
Don't o
v
erwrite bu
i
l
t
-
i
n macros when redefining them
.
commit
|
commitdiff
|
tree
2005-08-04
L
i
nus
T
o
rvalds
Update th
e
calling inter
f
ace
t
o "sparse(
)
"
.
commit
|
commitdiff
|
tree
2005-08-03
Linus
T
orvalds
Get
c
loser to
p
arsing mul
t
iple files corr
e
ctly
.
commit
|
commitdiff
|
tree
2005-08-03
L
inus
Torvalds
Add function to
"
protect" all
o
cations from b
e
ing dropped
.
.
.
commit
|
commitdiff
|
tree
2005-08-03
Linus Torvalds
Don't fr
e
e
expression
s
after
pr
e
processing
commit
|
commitdiff
|
tree
2005-08-03
Li
n
us Torvald
s
Add D
E
BUG mode, w
h
ich enab
l
es various e
x
pens
i
v
e debug
.
.
.
commit
|
commitdiff
|
tree
2005-08-03
Linus Torval
d
s
Ma
k
e t
y
pes have fil
e
scope, no
t
globa
l
scope
commit
|
commitdiff
|
tree
2005-08-03
Linus Torvalds
M
a
ke
"spars
e
()" handle multiple input files on the
.
.
.
commit
|
commitdiff
|
tree
2005-08-03
L
i
nus Torvald
s
Mak
e
macros have file scop
e
commit
|
commitdiff
|
tree
2005-08-03
Linu
s
T
orvalds
W
hen
d
r
o
ppin
g
all allocati
o
ns
,
clear
the
freelist too
commit
|
commitdiff
|
tree
2005-08-02
L
inus To
r
v
al
d
s
Start work on proper scoping with mul
t
iple files
commit
|
commitdiff
|
tree
2005-07-11
Linus Torvalds
Don'
t
w
a
rn abo
u
t "nocast" warning
s
t
h
at only c
h
an
g
e
.
.
.
commit
|
commitdiff
|
tree
2005-07-03
Linus Torvalds
Add
"
_
_
builtin
_
o
ffsetof()" to work with newer gcc's
commit
|
commitdiff
|
tree
2005-06-21
L
i
nus Tor
v
al
d
s
B
e more ca
r
eful about l
i
ne
a
r
izing
c
o
n
d
i
tionals
commit
|
commitdiff
|
tree
2005-06-20
Linus Torvalds
Initia
l
cut at __builtin_expec
t
() implemen
t
a
tion
commit
|
commitdiff
|
tree
2005-06-20
Lin
u
s T
o
rval
d
s
Default to report
i
ng
t
he same
G
NU C version
a
s
the
.
.
.
commit
|
commitdiff
|
tree
2005-06-20
Linus
T
orvalds
Fix
a
s
s
ignmen
t
and
c
onditiona
l
expr
e
s
sion pa
r
sing with
.
.
.
commit
|
commitdiff
|
tree
2005-06-20
Linus Torvalds
F
i
x
S
I
GSE
G
V on ass
i
gnment
to bad left s
i
de
.
commit
|
commitdiff
|
tree
2005-06-17
Linus Torvalds
Fix
u
p a
few missi
n
g b
a
se type evaluations
commit
|
commitdiff
|
tree
2005-06-17
Linus Torvalds
Fix
up type exa
m
ination
.
commit
|
commitdiff
|
tree
2005-05-19
Linus Torvalds
Don't wa
r
n abo
u
t und
e
cla
r
ed "
m
a
in()" function
.
commit
|
commitdiff
|
tree
2005-05-19
Lin
u
s Torvald
s
F
ix
position reporting on unterminat
e
d prepr
o
cessor
.
.
.
commit
|
commitdiff
|
tree
2005-05-17
Linus To
r
valds
Fix SIGSEGV on no
n
-
A
NS
I
f
unct
i
on-
l
ine declaratio
n
s
.
.
.
commit
|
commitdiff
|
tree
2005-04-08
Linus T
o
rvalds
Give
function name i
n
non-ANSI
declaration warning
.
commit
|
commitdiff
|
tree
2005-04-08
Linus Torva
l
ds
Make
enum symbols
b
e
r
e
gular symbo
l
s with constan
t
.
.
.
commit
|
commitdiff
|
tree
2005-04-08
Li
n
us Torvalds
W
a
r
n
abo
u
t implicit c
a
sts t
o
/fr
o
m "nocast"
t
y
pes
commit
|
commitdiff
|
tree
2005-04-08
Linus Torva
l
ds
Mo
v
e the pt
r
l
i
st macros o
u
t of the s
p
arse
"lib
.
[ch
.
.
.
commit
|
commitdiff
|
tree
2005-04-08
Li
n
us Torvalds
H
a
n
dle bad enum
e
x
p
ression type
s
gr
a
ce
f
ully
.
commit
|
commitdiff
|
tree
2005-04-08
L
i
nus Torvalds
Add
s
upport fo
r
cont
e
xt checki
n
g
f
unctio
n
s
.
commit
|
commitdiff
|
tree
2005-04-08
Linu
s
T
orvald
s
N
ame static library "li
b
sparse
.
a" to mat
c
h shar
e
d library
.
.
.
commit
|
commitdiff
|
tree
2005-04-08
Linus Torvalds
Don't w
a
r
n abo
u
t zero-s
i
zed "sizeof"
commit
|
commitdiff
|
tree
2005-04-08
Li
n
u
s
Torvalds
Wa
r
n
a
b
out undeclared identifie
r
s
.
commit
|
commitdiff
|
tree
2005-04-08
Linu
s
Torval
d
s
Su
p
p
o
rt b
u
i
l
ding spa
r
se as a sh
a
r
e
d
lib
r
ary
.
commit
|
commitdiff
|
tree
2005-04-08
Linus Torvald
s
Warn a
b
out sizeo
f
of zero
s
ize
.
commit
|
commitdiff
|
tree
2005-04-08
L
i
nus Torva
l
ds
Be more careful
about removin
g
implicit casts
.
commit
|
commitdiff
|
tree
2005-04-08
Linus To
r
valds
Make sure to
re-examine a s
t
ruct/unio
n
/enum
t
ype
after
commit
|
commitdiff
|
tree
2005-04-08
Li
n
us Torv
a
lds
M
ake "ch
e
c
k
" (aka sparse) check arguments to s
o
me functions
.
commit
|
commitdiff
|
tree
2005-04-08
Linus Torval
d
s
Fix typo (
d
u
p
l
ic
a
te src2 should be src3) in simplify_range
commit
|
commitdiff
|
tree
2005-04-08
Lin
u
s Torvalds
Remove ol
d
stale p
o
in
t
er derefe
r
e
n
ce ty
p
e
mess, that
commit
|
commitdiff
|
tree
2005-04-08
Linus
Torvalds
Exp
o
rt "is_ptr_type(
)
" helper function
t
o
other
s
.
commit
|
commitdiff
|
tree
2005-04-08
Lin
u
s
Torvalds
Avoid SI
G
S
E
GV whe
n
linearizing bad expressions
.
commit
|
commitdiff
|
tree
2005-04-08
Linus To
r
v
a
lds
Don
'
t drop modifi
e
r
b
its fr
o
m
a
memb
e
r derefere
n
ce
.
commit
|
commitdiff
|
tree
2005-04-08
Linu
s
T
orva
l
d
s
U
s
e the new per-instruction
p
o
sit
i
on information for
.
.
.
commit
|
commitdiff
|
tree
2005-04-08
Linus Torvalds
M
a
ke
each
i
n
struction
h
ave a
position of its own
.
commit
|
commitdiff
|
tree
2005-04-08
L
i
nus Torv
a
lds
Make
r
ange check
c
ode a bit more readab
l
e (and more
.
.
.
commit
|
commitdiff
|
tree
2005-04-08
Linus T
o
rvald
s
Add compile-time
"range-check"
i
n
f
ra
s
tructur
e
to
sparse
commit
|
commitdiff
|
tree
2005-04-08
Linus
Torvalds
M
ake s
u
re we evaluate pointer co
m
parisons as unsigned
.
commit
|
commitdiff
|
tree
2005-04-08
Linus Torvalds
Shut u
p
i
nfor
m
a
t
i
onal mes
s
age
s
once w
e
'
v
e h
i
t the
maxim
u
m
commit
|
commitdiff
|
tree
2005-04-08
Linus Torvalds
Make "c
h
eck"
(
ak
a
"sp
a
rs
e
") check data-dropping casts
.
commit
|
commitdiff
|
tree
next