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
Trivial: Remove redundant Makefile variable
2012-02-04
Linus
T
o
r
valds
spa
r
se, ll
v
m: Make funct
i
on decla
r
ati
o
n accessible
.
.
.
Signed-off-by:
Linus Torvalds
<torvalds@linux-foundation.org>
commit
|
commitdiff
|
tree
2011-08-28
L
inus T
o
rvalds
Make
'
l
inearize_r
e
turn
(
)' helper f
u
n
c
tion
Signed-off-by:
Linus Torvalds
<torvalds@linux-foundation.org>
commit
|
commitdiff
|
tree
2011-08-28
Lin
u
s Torval
d
s
Make 'linearize_swi
t
ch()' h
e
lper function
Signed-off-by:
Linus Torvalds
<torvalds@linux-foundation.org>
commit
|
commitdiff
|
tree
2011-08-28
Linus Torvalds
Make 'linearize_iterat
o
r()' helper fu
n
ction
Signed-off-by:
Linus Torvalds
<torvalds@linux-foundation.org>
commit
|
commitdiff
|
tree
2011-04-19
Linus Torv
a
l
d
s
Te
a
ch 'already_
t
okeniz
e
d()'
t
o u
s
e the stream n
a
me
.
.
.
Signed-off-by:
Linus Torvalds
<torvalds@linux-foundation.org>
commit
|
commitdiff
|
tree
2011-04-19
Linu
s
Torv
a
lds
A
dd new streams to a
hash-
l
i
s
t bas
e
d
on their na
m
es
Signed-off-by:
Linus Torvalds
<torvalds@linux-foundation.org>
commit
|
commitdiff
|
tree
2009-07-18
L
i
nus Torvalds
Avoid
"
att
r
i
b
ute 'warning': unknown attribute" warning
Signed-off-by:
Linus Torvalds
<torvalds@linux-foundation.org>
commit
|
commitdiff
|
tree
2009-07-18
Linus Torvald
s
T
u
r
n
of
f
'-Wt
r
anspa
r
ent-uni
o
n' b
y
def
a
ult
Signed-off-by:
Linus Torvalds
<torvalds@linux-foundation.org>
commit
|
commitdiff
|
tree
2009-07-18
Linus Torvalds
Allow array dec
l
arators
t
o h
a
ve 'res
t
ri
c
t' i
n
them
Signed-off-by:
Linus Torvalds
<torvalds@linux-foundation.org>
commit
|
commitdiff
|
tree
2008-04-25
Linus Torval
d
s
Sim
p
lify (and warn a
b
out)
rig
h
t shifts that result
.
.
.
Signed-off-by:
Linus Torvalds
<torvalds@linux-foundation.org>
commit
|
commitdiff
|
tree
2008-04-25
Linus
T
o
r
valds
Fix
c
ast inst
r
u
ction generati
o
n
Signed-off-by:
Linus Torvalds
<torvalds@linux-foundation.org>
commit
|
commitdiff
|
tree
2006-10-01
Linus Torv
a
ld
s
Merge
branch 'for-linu
s
' of gi
t
://git
.
kernel
.
org/pub
.
.
.
commit
|
commitdiff
|
tree
2006-10-01
Linus Tor
v
ald
s
Add warn
i
ng mes
s
age for naked
d
o
-
while
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2006-09-03
L
inus Torvalds
Make sparse warn
a
bout initial
i
zers that
i
nitialize
.
.
.
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2006-08-01
Linus T
o
rvalds
Fir
s
t cut
a
t something tha
t
a
pproaches a
s
a
ne -Wsha
d
ow
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2006-07-08
Linus To
r
valds
A
v
oid bo
g
us gcc warnings about unused resul
t
s
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2006-07-08
Linus Torvalds
Fix dropped type inform
a
tion
in "add
_
pseudo()"
.
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2006-06-10
L
i
n
us Torvalds
Fix NULL ptr derefe
r
ence with ba
d
t
ype
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2006-05-09
L
inus Torvalds
Merge
branch 'init-braces-fix' o
f
git://git
.
kernel
.
.
.
commit
|
commitdiff
|
tree
2006-01-08
Linus Torvald
s
Fix incorrect cast simplification aro
u
nd '~' o
p
eration
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-12-31
Linus To
r
v
a
lds
Make local d
e
clara
t
i
ons
b
e
s
t
a
t
ements of
their own
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-11-23
L
i
nus Torv
a
lds
exam
p
le: OP_CO
P
Y m
u
st de
s
tro
y
a
n
y
old ps
e
udo state
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-11-23
Linus T
o
rvalds
Make the "exam
p
le" c
o
m
piler use t
h
e new
un
s
sa() phase
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-11-22
Li
n
us To
r
valds
W
h
en taking the a
d
d
r
ess of a symbo
l
,
fix up th
e
poi
n
te
r
.
.
.
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-11-20
Lin
u
s Torvalds
Simplif
y
s
o
m
e
more instructions
commit
|
commitdiff
|
tree
2005-11-20
Linus
T
orva
l
ds
Re
m
ove totally
b
ogus p
h
i-source liven
e
ss t
h
ing
.
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-11-19
Linus Torval
d
s
Evalua
t
e expressions fully when doing type compari
s
ons
.
.
.
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-11-17
Linus
Torvalds
Fix up stupid
thinko in K&R
p
arameter parsing
.
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-11-16
Lin
u
s Torvalds
Re-name "error()" function to "sparse_error()
"
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-11-16
Linus Tor
v
ald
s
Fix K&R a
r
gum
e
n
t scopin
g
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-11-16
L
i
nus Torvalds
Integer
p
romotion:
l
eave suf
f
iciently large integ
e
r
.
.
.
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-11-04
Linus
T
or
v
alds
Ma
k
e switc
h
/case
s
t
atements ch
e
ck type compatibili
t
y
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-11-03
L
i
nus Torvald
s
Cast all enum values
to
t
h
e fina
l
type
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-11-03
Linus Torvalds
M
ake sure we keep en
u
m values in a sufficientl
y
large
.
.
.
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-11-02
Linus Torvalds
Add "
.
giti
g
n
o
re" file
commit
|
commitdiff
|
tree
2005-11-02
Linus Torva
l
ds
Ha
n
dle symbols fr
o
m "-incl
u
d
e
"
file too
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-09-30
Li
n
us Torval
d
s
Make su
r
e
to be more careful about ma
r
kin
g
symbols
.
.
.
commit
|
commitdiff
|
tree
2005-09-27
L
i
n
u
s Torvalds
Si
m
plify constant ar
r
ay (or structur
e
)
d
ereferences
.
.
.
commit
|
commitdiff
|
tree
2005-09-27
Linus
Torvalds
Teach
dereference e
x
pansion
to look into constant array
.
.
.
commit
|
commitdiff
|
tree
2005-09-24
Li
n
us Torvalds
Do stu
p
id
a
nd
c
rappy CSE on casts
.
commit
|
commitdiff
|
tree
2005-09-22
Linus Torvalds
Turn the "inc
o
r
r
ect
type" error back into a
w
a
r
n
i
ng
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-09-15
Linus Torvalds
Add various
d
eclarations fo
r
more builtin functi
o
ns
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-09-15
Linus Torvalds
M
a
ke sure t
h
at when we
d
efine __
O
PT
I
MI
Z
E[_SI
Z
E]_ we
.
.
.
commit
|
commitdiff
|
tree
2005-09-09
Linus Torvalds
W
a
rn
a
bout und
e
fine
d
p
reproce
s
sor symb
o
ls a
t
expan
s
ion
.
.
.
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-08-15
Linus Torvalds
Make 'c
g
cc
'
work a
t
least half-way be
t
ter
commit
|
commitdiff
|
tree
2005-08-15
Linus Torvalds
Fix parsing of t
o
p
-
l
e
v
el asm
s
t
atem
e
nt
s
commit
|
commitdiff
|
tree
2005-08-15
Linus
T
o
rval
d
s
Add __OPTIMI
Z
E[_S
I
ZE]__ predefines
commit
|
commitdiff
|
tree
2005-08-15
L
inus T
o
rvald
s
Clean up iterator handling
commit
|
commitdiff
|
tree
2005-08-11
L
inus
T
o
rvalds
M
a
ke
d
elete_last_instru
c
t
i
on(
)
u
se the new undo
_
ptr_list_la
s
.
.
.
commit
|
commitdiff
|
tree
2005-08-11
Linus To
r
v
ald
s
Add 'undo_ptr
_
l
i
s
t_last
(
)
'
h
e
lpe
r
function
commit
|
commitdiff
|
tree
2005-08-06
Linus T
o
rval
d
s
Have more bits for "stream
numb
e
r" in "struct pos
"
commit
|
commitdiff
|
tree
2005-08-04
Linus
T
o
rvalds
D
on't overwrit
e
built-in macros when red
e
fining them
.
commit
|
commitdiff
|
tree
2005-08-04
L
i
nus Torvalds
Update the call
i
n
g
int
e
rface to "sparse(
)
"
.
commit
|
commitdiff
|
tree
2005-08-03
Linus T
o
rvalds
Get closer to p
a
rsing multiple files co
r
rec
t
ly
.
commit
|
commitdiff
|
tree
2005-08-03
Linus Torval
d
s
Add funct
i
on to "protect
"
allo
c
a
tions fro
m
bein
g
d
r
o
p
ped
.
.
.
commit
|
commitdiff
|
tree
2005-08-03
L
i
nus Torvalds
Don
'
t fr
e
e expression
s
after preproce
s
sing
commit
|
commitdiff
|
tree
2005-08-03
Linus Torvalds
Add DEB
U
G mo
d
e
, which en
a
ble
s
vario
u
s
e
x
pensive debug
.
.
.
commit
|
commitdiff
|
tree
2005-08-03
Linus Torvalds
Mak
e
types have f
i
le scope, not
g
l
ob
a
l scope
commit
|
commitdiff
|
tree
2005-08-03
Linus Torvalds
Make "sparse()" handl
e
multi
p
le inpu
t
files on the
.
.
.
commit
|
commitdiff
|
tree
2005-08-03
Li
n
us Tor
v
alds
Make macros have file scope
commit
|
commitdiff
|
tree
2005-08-03
Linus Torval
d
s
When dropping
all allocations, clear t
h
e freelis
t
too
commit
|
commitdiff
|
tree
2005-08-02
Lin
u
s To
r
val
d
s
S
tart
work o
n
proper scoping with
multiple fi
l
es
commit
|
commitdiff
|
tree
2005-07-11
L
i
nus Torvalds
Don't war
n
abo
u
t
"nocast" warnings that only c
h
ange
.
.
.
commit
|
commitdiff
|
tree
2005-07-03
Lin
u
s Torval
d
s
Add "
_
_b
u
iltin
_
offse
t
of
(
)" to
w
ork with newer gcc's
commit
|
commitdiff
|
tree
2005-06-21
Linus Torval
d
s
Be more
careful about linearizing conditionals
commit
|
commitdiff
|
tree
2005-06-20
Linus Torvalds
In
i
tial cu
t
at
_
_bu
i
ltin_expect() im
p
l
e
mentat
i
on
commit
|
commitdiff
|
tree
2005-06-20
Linus Torvalds
Default to re
p
orting the same GNU C version as the
.
.
.
commit
|
commitdiff
|
tree
2005-06-20
L
i
nus
Torva
l
ds
F
ix a
s
signment and co
n
d
itional ex
p
res
s
ion parsing with
.
.
.
commit
|
commitdiff
|
tree
2005-06-20
Linus
Torv
a
lds
F
ix
S
IGSEGV on assignment to bad left
s
i
de
.
commit
|
commitdiff
|
tree
2005-06-17
Linus T
o
rvalds
Fix up a few mi
s
sing base t
y
pe evaluations
commit
|
commitdiff
|
tree
2005-06-17
L
i
n
u
s Torvalds
Fix
up
type exami
n
ation
.
commit
|
commitdiff
|
tree
2005-05-19
L
i
nu
s
Torvalds
Don't warn about undecla
r
ed
"main()" f
u
nction
.
commit
|
commitdiff
|
tree
2005-05-19
Lin
u
s Torva
l
d
s
Fix positio
n
reporting on
untermina
t
ed preprocess
o
r
.
.
.
commit
|
commitdiff
|
tree
2005-05-17
Li
n
us Tor
v
al
d
s
Fix SIG
S
EGV on non-ANSI fun
c
tion-line declarations
.
.
.
commit
|
commitdiff
|
tree
2005-04-08
Linus Torva
l
ds
Give fun
c
tion
name in non-ANSI
d
eclaration war
n
ing
.
commit
|
commitdiff
|
tree
2005-04-08
Linus Torvald
s
M
a
ke enum symbols be regula
r
s
ymbols with constant
.
.
.
commit
|
commitdiff
|
tree
2005-04-08
Li
n
us Torv
a
lds
W
a
rn abo
u
t implicit c
a
s
ts
t
o/from
"
no
c
ast" type
s
commit
|
commitdiff
|
tree
2005-04-08
Lin
u
s Torva
l
ds
Move th
e
ptrlist macros
o
ut of the sparse "l
i
b
.
[ch
.
.
.
commit
|
commitdiff
|
tree
2005-04-08
Li
n
us
T
orv
a
lds
Hand
l
e
b
a
d enum expre
s
sion types gra
c
efully
.
commit
|
commitdiff
|
tree
2005-04-08
Linus T
o
rvald
s
Ad
d
suppo
r
t for c
o
ntext
c
he
c
king functions
.
commit
|
commitdiff
|
tree
2005-04-08
Lin
u
s Torvalds
Name
s
tatic
l
i
b
rary "libsparse
.
a" to match share
d
l
ibrary
.
.
.
commit
|
commitdiff
|
tree
2005-04-08
Li
n
us
T
o
rvalds
Don't warn about ze
r
o-sized "
s
izeof"
commit
|
commitdiff
|
tree
2005-04-08
L
inus Torvalds
W
a
r
n abo
u
t undeclared identifiers
.
commit
|
commitdiff
|
tree
2005-04-08
Linus Torvalds
Support
b
uilding sparse as a
shared l
i
brary
.
commit
|
commitdiff
|
tree
2005-04-08
Linus Torva
l
ds
Warn about
s
izeof of zero size
.
commit
|
commitdiff
|
tree
2005-04-08
Linus
T
o
r
valds
Be more ca
r
eful about re
m
o
ving implic
i
t cast
s
.
commit
|
commitdiff
|
tree
2005-04-08
Linus T
o
rvalds
Make sure to re-exa
m
ine
a struct/uni
o
n
/
enum type af
t
e
r
commit
|
commitdiff
|
tree
2005-04-08
Linu
s
T
orvalds
Make "check" (aka sparse) check arguments to some functions
.
commit
|
commitdiff
|
tree
2005-04-08
Linus To
r
valds
F
i
x
typ
o
(dup
l
icate src2 should be src3) in simplify_r
a
nge
commit
|
commitdiff
|
tree
2005-04-08
Li
n
u
s
T
or
v
alds
Remove
o
ld
s
tale
pointer
derefere
n
ce
type m
e
ss, tha
t
commit
|
commitdiff
|
tree
2005-04-08
Linus
T
orvalds
Export "is_ptr_type()" helper f
u
nction to others
.
commit
|
commitdiff
|
tree
2005-04-08
Li
n
us Torvalds
Avoid SIGS
E
G
V wh
e
n linearizing
b
a
d expr
e
ssions
.
commit
|
commitdiff
|
tree
2005-04-08
L
i
n
us Torva
l
ds
Don't dro
p
modifier bit
s
from
a
m
ember d
e
r
efere
n
ce
.
commit
|
commitdiff
|
tree
2005-04-08
Linus
T
orvalds
U
s
e th
e
new per-in
s
t
ru
c
tion position
info
r
mation
for
.
.
.
commit
|
commitdiff
|
tree
2005-04-08
Linus
T
o
rvalds
Mak
e
each
in
s
truction have a posit
i
o
n
of its
ow
n
.
commit
|
commitdiff
|
tree
2005-04-08
L
i
nus Torvalds
Make range che
c
k code a bit
m
or
e
readable (and
m
ore
.
.
.
commit
|
commitdiff
|
tree
2005-04-08
L
i
nus
T
o
r
va
l
ds
A
d
d comp
i
le-time
"range-chec
k
" infrastructure to
s
parse
commit
|
commitdiff
|
tree
2005-04-08
Linus Torval
d
s
Mak
e
sure we
evaluate
po
i
nt
e
r comp
a
risons as unsigned
.
commit
|
commitdiff
|
tree
2005-04-08
Linus Torvalds
Shut u
p
informational messages once we've hit
th
e
maxi
m
u
m
commit
|
commitdiff
|
tree
2005-04-08
Lin
u
s To
r
va
l
ds
Make "
c
heck" (
a
ka "sp
a
rs
e
") check
d
ata-dropp
i
ng casts
.
commit
|
commitdiff
|
tree
next