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
Fix dropped type information in "add_pseudo()".
2006-07-08
Linus Torvalds
Fix dro
p
ped type in
f
orm
a
tion in "add_p
s
eu
d
o
(
)"
.
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2006-06-10
Li
n
us
Torvalds
Fix NULL ptr dere
f
erence with bad
t
ype
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2006-05-09
Linus
Torvalds
M
e
rge
branch 'i
n
i
t
-bra
c
es-f
i
x' of git://git
.
kern
e
l
.
.
.
commit
|
commitdiff
|
tree
2006-01-08
L
inus T
o
rvald
s
Fi
x
in
c
orr
e
ct
c
a
s
t
simplification
a
round '~' op
e
ration
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-12-31
Linus Torvalds
Make local
decla
r
ations be stat
e
m
ents of thei
r
own
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-11-23
Linu
s
Torvalds
exam
p
le: OP_C
O
PY must
destroy
a
ny old pseudo state
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-11-23
Linus T
o
r
va
l
ds
Make the
"example" compiler u
s
e the
n
ew unss
a
()
phase
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-11-22
Linus Torvalds
W
h
en taking t
h
e a
d
dre
s
s of a symbol, fix up the pointer
.
.
.
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-11-20
Linus Torvald
s
Simp
l
ify some more instr
u
ctions
commit
|
commitdiff
|
tree
2005-11-20
Li
n
u
s
To
r
v
a
l
d
s
Remo
v
e t
o
tally bogus phi
-
s
ource liveness thing
.
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-11-19
Linus Torvalds
Ev
a
luat
e
express
i
ons fully w
h
e
n
doing type comp
a
riso
n
s
.
.
.
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-11-17
Linus Torva
l
ds
F
i
x up stupid th
i
n
ko in K&R parameter parsing
.
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-11-16
L
inu
s
Torval
d
s
R
e
-name
"
error()" function
to
"
sparse_e
r
ror()"
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-11-16
Linus Torval
d
s
Fix K&
R
ar
g
u
m
ent
s
coping
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-11-16
Linus Torvald
s
Integer promoti
o
n: leav
e
suffic
i
entl
y
l
a
rg
e
integer
.
.
.
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-11-04
Linus
T
o
r
valds
Make switch/case statements che
c
k ty
p
e co
m
patib
i
lity
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-11-03
Linus Torvalds
C
a
s
t all
en
u
m
v
alues
t
o
t
he final type
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-11-03
L
i
nus Torvalds
Make s
u
re w
e
kee
p
en
u
m v
a
lues i
n
a
s
uff
i
c
i
ently la
r
ge
.
.
.
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-11-02
Linus
Torvalds
Ad
d
"
.
g
itignore" file
commit
|
commitdiff
|
tree
2005-11-02
Lin
u
s
Torvalds
Han
d
le symbols from "-include" file to
o
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-09-30
Linus Torvalds
Make sure to be
m
ore careful ab
o
u
t
marking sym
b
ols
.
.
.
commit
|
commitdiff
|
tree
2005-09-27
Lin
u
s Torvalds
Simpl
i
fy constant array (or structu
r
e) dereferences
.
.
.
commit
|
commitdiff
|
tree
2005-09-27
Linus T
o
rvalds
T
e
a
c
h
d
erefer
e
nce expansion to lo
o
k into c
o
nsta
n
t ar
r
a
y
.
.
.
commit
|
commitdiff
|
tree
2005-09-24
Linus
T
orvalds
Do stupid an
d
crap
p
y CSE on casts
.
commit
|
commitdiff
|
tree
2005-09-22
Linus
To
r
valds
Turn th
e
"
i
n
c
orrect
type" error back into a warning
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-09-15
Linus Torvalds
A
d
d
various d
e
clarations for more buil
t
in functions
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-09-15
Linus Torv
a
lds
Make
su
r
e th
a
t when we defi
n
e __OPTIMIZE[
_
SIZE
]
_ we
.
.
.
commit
|
commitdiff
|
tree
2005-09-09
L
i
nu
s
T
orvalds
Warn
a
bo
u
t
undefined pre
p
rocessor symbols
at expan
s
ion
.
.
.
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-08-15
Lin
u
s Torvalds
Mak
e
'cgcc'
wo
r
k at le
a
st half-way better
commit
|
commitdiff
|
tree
2005-08-15
L
i
n
u
s To
r
valds
F
ix parsing of top-level a
s
m state
m
ents
commit
|
commitdiff
|
tree
2005-08-15
Linus T
o
rvald
s
Add __OP
T
IMIZE[_SIZ
E
]__ pre
d
efines
commit
|
commitdiff
|
tree
2005-08-15
L
i
nus
T
orvalds
Cle
a
n up it
e
rat
o
r ha
n
d
ling
commit
|
commitdiff
|
tree
2005-08-11
L
i
nus Torvalds
M
a
ke d
e
lete_last_
i
nstructi
o
n() use the
n
e
w
u
n
d
o_ptr_list_las
.
.
.
commit
|
commitdiff
|
tree
2005-08-11
Lin
u
s Torvalds
Add
'undo_ptr_list_l
a
st()' helpe
r
function
commit
|
commitdiff
|
tree
2005-08-06
L
inus Torva
l
ds
Have m
o
re b
i
ts f
o
r "str
e
am numb
e
r"
in "s
t
ruct po
s
"
commit
|
commitdiff
|
tree
2005-08-04
Lin
u
s
Torvalds
Don't o
v
erwrite built-in macros when
r
edef
i
ning them
.
commit
|
commitdiff
|
tree
2005-08-04
Linu
s
Torva
l
d
s
Upda
t
e th
e
calling interf
a
ce to "sparse()
"
.
commit
|
commitdiff
|
tree
2005-08-03
L
inus Torvalds
Get closer to parsing multi
p
l
e
f
iles correctly
.
commit
|
commitdiff
|
tree
2005-08-03
Linus Torval
d
s
Ad
d
function t
o
"protect" all
o
cations f
r
om being dro
p
ped
.
.
.
commit
|
commitdiff
|
tree
2005-08-03
Linus
T
o
rvalds
D
o
n
'
t
free expr
e
s
s
ions after pre
p
roce
s
sing
commit
|
commitdiff
|
tree
2005-08-03
Linus T
o
r
val
d
s
Add DEBUG mo
d
e, which enables vario
u
s expensive debug
.
.
.
commit
|
commitdiff
|
tree
2005-08-03
Li
n
us Torvalds
Mak
e
t
y
pes hav
e
fi
l
e scope, not g
l
obal
s
co
p
e
commit
|
commitdiff
|
tree
2005-08-03
Linus To
r
valds
M
ake "spa
r
se()" h
a
ndle multiple
i
nput files on the
.
.
.
commit
|
commitdiff
|
tree
2005-08-03
Linus Torvalds
Make macros have file scope
commit
|
commitdiff
|
tree
2005-08-03
Linus Torvalds
When dropping a
l
l
allocatio
n
s,
c
l
ear
t
he
freelist too
commit
|
commitdiff
|
tree
2005-08-02
Linus
T
orvalds
Start work on proper scopi
n
g w
i
t
h
m
u
ltiple files
commit
|
commitdiff
|
tree
2005-07-11
Linus
T
orvalds
Don't warn a
b
out "nocast
"
warning
s
t
hat only change
.
.
.
commit
|
commitdiff
|
tree
2005-07-03
Linus Torvalds
Ad
d
"
__builtin_offsetof()"
to work with n
e
wer gcc
'
s
commit
|
commitdiff
|
tree
2005-06-21
L
i
nu
s
Torvald
s
Be more careful about linea
r
izi
n
g condition
a
ls
commit
|
commitdiff
|
tree
2005-06-20
Linus
T
orvalds
Initial c
u
t at __builtin
_
expe
c
t()
implemen
t
ation
commit
|
commitdiff
|
tree
2005-06-20
Linus Torvald
s
Defa
u
l
t
to
reporting
the sam
e
G
NU C
v
ersion as the
.
.
.
commit
|
commitdiff
|
tree
2005-06-20
L
i
nus Torval
d
s
Fix assi
g
n
m
ent and conditional expression p
a
rsi
n
g
w
ith
.
.
.
commit
|
commitdiff
|
tree
2005-06-20
Lin
u
s
Torvalds
Fix SIGSEGV
o
n
assignment to b
a
d
l
eft side
.
commit
|
commitdiff
|
tree
2005-06-17
Lin
u
s Tor
v
ald
s
Fix up
a few mis
s
ing base type
e
valuations
commit
|
commitdiff
|
tree
2005-06-17
Linus Torv
a
lds
Fix up type ex
a
mination
.
commit
|
commitdiff
|
tree
2005-05-19
L
i
nus
Torvalds
D
o
n'
t
warn ab
o
ut undeclared "main()" function
.
commit
|
commitdiff
|
tree
2005-05-19
Li
n
us Torvalds
Fix position reporti
n
g
on unt
e
rminated preprocess
o
r
.
.
.
commit
|
commitdiff
|
tree
2005-05-17
Lin
u
s Torvalds
Fix
SIGSEGV on non-A
N
SI f
u
n
cti
o
n-line decl
a
rati
o
n
s
.
.
.
commit
|
commitdiff
|
tree
2005-04-08
Lin
u
s
Torvalds
G
i
ve function
n
ame in non
-
ANSI declaration
warni
n
g
.
commit
|
commitdiff
|
tree
2005-04-08
Linus Torv
a
lds
Make enu
m
symbol
s
be regular symbols with c
o
nstant
.
.
.
commit
|
commitdiff
|
tree
2005-04-08
Li
n
us Torvalds
Warn about implic
i
t casts to/from "noca
s
t
" types
commit
|
commitdiff
|
tree
2005-04-08
Linus Torvalds
M
o
ve the ptr
l
ist macr
o
s out of the
spa
r
s
e "li
b
.
[c
h
.
.
.
commit
|
commitdiff
|
tree
2005-04-08
Linus T
o
rvalds
Handle
b
a
d
enum expre
s
sio
n
types gracefully
.
commit
|
commitdiff
|
tree
2005-04-08
Linus Tor
v
ald
s
A
dd support fo
r
c
o
ntext
c
hecking func
t
i
on
s
.
commit
|
commitdiff
|
tree
2005-04-08
Linus Torvalds
Name static l
i
bra
r
y
"libsparse
.
a" t
o
match s
h
ared library
.
.
.
commit
|
commitdiff
|
tree
2005-04-08
Linus
Torvalds
Don't warn abou
t
zero-sized "sizeof"
commit
|
commitdiff
|
tree
2005-04-08
Linu
s
T
o
r
valds
Warn about
undeclared i
d
en
t
ifier
s
.
commit
|
commitdiff
|
tree
2005-04-08
Linus Torvalds
Suppo
r
t building
s
pars
e
as
a
shared library
.
commit
|
commitdiff
|
tree
2005-04-08
Linus Torva
l
ds
Warn about sizeof of z
e
r
o size
.
commit
|
commitdiff
|
tree
2005-04-08
Linus Torvalds
Be more
c
areful
about removing implicit casts
.
commit
|
commitdiff
|
tree
2005-04-08
L
i
nu
s
Torvalds
Ma
k
e sure to re-examine a str
u
ct/un
i
on/enum type after
commit
|
commitdiff
|
tree
2005-04-08
Linus Torvald
s
Make "check"
(
a
ka spa
r
se)
c
heck ar
g
u
m
e
nts to
s
om
e
fun
c
tions
.
commit
|
commitdiff
|
tree
2005-04-08
Linus Torvalds
Fix
t
ypo
(
duplicate src2 should
b
e src3)
in sim
p
lify_ran
g
e
commit
|
commitdiff
|
tree
2005-04-08
L
i
n
u
s
Torvald
s
Remove old stale pointer
d
ereference
t
ype
mess,
t
hat
commit
|
commitdiff
|
tree
2005-04-08
Lin
u
s Torv
a
lds
Export "is_
p
tr_type(
)
"
helper fun
c
tion
t
o
others
.
commit
|
commitdiff
|
tree
2005-04-08
Linus Torvalds
Avoid SIGSE
G
V when linea
r
izing bad expressio
n
s
.
commit
|
commitdiff
|
tree
2005-04-08
L
i
nus Torvalds
Don't
d
rop
m
o
d
i
f
i
er bits from a member der
e
ferenc
e
.
commit
|
commitdiff
|
tree
2005-04-08
Linus Torvalds
Use the new per-instru
c
t
io
n
posit
i
on informat
i
on for
.
.
.
commit
|
commitdiff
|
tree
2005-04-08
Linu
s
T
or
v
alds
Ma
k
e each instruction
h
ave a posi
t
ion of its own
.
commit
|
commitdiff
|
tree
2005-04-08
Linus
Torvald
s
Make ran
g
e check code a b
i
t more readable (and more
.
.
.
commit
|
commitdiff
|
tree
2005-04-08
Linus
Torvalds
Add
c
ompile-time "r
a
n
g
e-check" infrast
r
uc
t
ur
e
t
o sparse
commit
|
commitdiff
|
tree
2005-04-08
Linus Torvalds
Make sure w
e
evaluate
pointer compari
s
o
ns a
s
u
n
signed
.
commit
|
commitdiff
|
tree
2005-04-08
Linus Torvalds
Shut up i
n
formational
m
ess
a
ges once we've hit t
h
e ma
x
i
m
um
commit
|
commitdiff
|
tree
2005-04-08
Linus T
o
rvalds
Make "check
"
(ak
a
"sparse")
c
h
eck data
-
d
ropping casts
.
commit
|
commitdiff
|
tree
2005-04-08
L
i
nus To
r
val
d
s
Make simplificati
o
n remo
v
e
c
as
t
s
that c
h
ange neither
.
.
.
commit
|
commitdiff
|
tree
2005-04-08
Linus Torval
d
s
Split
O
P_CAST into signed,
u
n
s
igned a
n
d FP cast
s
.
commit
|
commitdiff
|
tree
2005-04-08
Linus Torvald
s
Simplify OP
_
CAST o
f
OP_AND
.
commit
|
commitdiff
|
tree
2005-04-08
Linus Torvalds
D
on't
o
ptimize away casts t
o
o
e
a
r
l
y
.
commit
|
commitdiff
|
tree
2005-04-08
Linus Torvalds
Duh
.
When a function returns VOI
D
,
we shoul
d
_not_
.
.
.
commit
|
commitdiff
|
tree
2005-04-08
Linus Torvalds
Fix code gene
r
a
tion c
o
nfusion betwe
e
n OP_
A
DDR an
d
the
commit
|
commitdiff
|
tree
2005-04-08
Linus Torvalds
Make the example
code
g
enerat
o
r do s
o
me
t
hing half-way
.
.
.
commit
|
commitdiff
|
tree
2005-04-08
Linus Torvalds
Make c
o
nsta
n
t instruc
t
ion simplifica
t
ion tak
e
t
h
e sign
.
.
.
commit
|
commitdiff
|
tree
2005-04-08
Linus
T
orvalds
Split the bi
n
op
s
wh
e
re sig
n
edne
s
s matters in
t
o
u
nsigned
.
.
.
commit
|
commitdiff
|
tree
2005-04-08
Linus
Torv
a
ld
s
Make line
a
rize
r
able
to handle assig
n
ment ops wh
e
re t
h
e
commit
|
commitdiff
|
tree
2005-04-08
Linu
s
Tor
v
alds
Evaluate
as
m
o
u
tputs a
s
assignments
.
commit
|
commitdiff
|
tree
2005-04-08
Linus
T
o
r
valds
We d
i
dn't mark sy
m
bols with
their address taken as
.
.
.
commit
|
commitdiff
|
tree
2005-04-08
L
i
nus Torvalds
M
ake ex
p
ression typ
e
en
u
ms start a
t
one
.
.
commit
|
commitdiff
|
tree
2005-04-08
Linus Torvalds
inlini
n
g: don't copy
an
initializer expression
f
or
.
.
.
commit
|
commitdiff
|
tree
2005-04-08
L
inu
s
Tor
v
alds
Linearize EXPR_POS
i
ni
t
ializ
e
r
s
more c
a
r
e
fu
l
ly: t
h
e
y
can
commit
|
commitdiff
|
tree
2005-04-08
Lin
u
s Torvalds
Add
o
ption "-Wptr-subtraction-blows
"
to
w
arn about
.
.
.
commit
|
commitdiff
|
tree
next