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
[PATCH] avoid segfault in linearize_asm_statement() after a parse error in asm statement
2005-06-27
L
u
c
Van
O
ostenr
y
ck
[
P
A
T
C
H] avoid segfault
i
n
l
i
ne
a
rize_
a
sm_statement(
.
.
.
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-06-27
L
u
c Va
n
O
o
st
e
nry
c
k
[PATCH] Avo
i
d segf
a
ult
when code
i
s pr
e
sent after a
.
.
.
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-06-21
Linus T
o
rvalds
Be m
o
re carefu
l
about linearizin
g
cond
i
tionals
commit
|
commitdiff
|
tree
2005-06-21
Mika
K
ukkonen
[PA
T
CH]
F
ix compile warning in
symbol
.
c
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-06-20
Luc
Van Oostenryck
[PATCH] segfault on bad ternary conditional
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-06-20
Peter
Jones
[PAT
C
H]
__attr
i
bute__ handling for attributes
u
sed
.
.
.
commit
|
commitdiff
|
tree
2005-06-20
Linus Torvalds
In
i
tial cut a
t
__bui
l
tin_expect() implementation
commit
|
commitdiff
|
tree
2005-06-20
L
i
nus Tor
v
al
d
s
Defa
u
lt to
r
e
porting the same GNU C v
e
r
sion as the
.
.
.
commit
|
commitdiff
|
tree
2005-06-20
Linus
Torvalds
Fix
assignment a
n
d
condition
a
l expression
p
ar
s
ing with
.
.
.
commit
|
commitdiff
|
tree
2005-06-20
Linus
T
o
r
valds
Fix SIGS
E
GV on assignm
e
nt to b
a
d left
s
i
de
.
commit
|
commitdiff
|
tree
2005-06-17
Linus Torv
a
lds
Fix up a few missing base type eva
l
uation
s
commit
|
commitdiff
|
tree
2005-06-17
L
in
u
s
Torvalds
Fix u
p
t
ype examination
.
commit
|
commitdiff
|
tree
2005-05-19
Lin
u
s Torva
l
ds
Don't
w
arn about undecla
r
ed
"mai
n
()" function
.
commit
|
commitdiff
|
tree
2005-05-19
L
u
c Va
n
Oostenryck
[PAT
C
H] Fix segfault on non
-
ANSI
fu
n
ction-like decl
a
ration
.
.
.
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-05-19
Luc Van
Oostenryck
[PATCH] F
i
x SIGSEGV on unt
e
rmi
n
ated preprocessor conditi
o
nal
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-05-19
L
in
u
s Torvalds
Fix
position reporting on unterminated
preproce
s
s
or
.
.
.
commit
|
commitdiff
|
tree
2005-05-17
Luc
V
an Oostenryck
[PATCH] av
o
i
d
a cras
h
on bad asm statement
Signed-off-by:
Linus Torvalds
<torvalds@osdl.org>
commit
|
commitdiff
|
tree
2005-05-17
Linus Torvald
s
Fix SIGSEGV on non-ANSI
f
unction-line declarations
.
.
.
commit
|
commitdiff
|
tree
2005-04-27
Da
v
e Jones
[PATCH] sparse
f
ix
commit
|
commitdiff
|
tree
2005-04-08
Ch
r
istopher Li
[PATCH]
static dec
l
ear
commit
|
commitdiff
|
tree
2005-04-08
Linus Torvalds
Give fu
n
c
tion
n
ame i
n
non-AN
S
I decl
a
ration w
a
r
ni
n
g
.
commit
|
commitdiff
|
tree
2005-04-08
Bernhard Fischer
[PATCH
]
sparse: add function
n
ame to wa
r
n
i
n
g
commit
|
commitdiff
|
tree
2005-04-08
Linus To
r
v
alds
Make en
u
m s
y
mb
o
ls
be
regular symbol
s
wit
h
constant
.
.
.
commit
|
commitdiff
|
tree
2005-04-08
L
inu
s
T
orvalds
Warn about i
m
plicit casts
to/fr
o
m "
n
oc
a
s
t
" typ
e
s
commit
|
commitdiff
|
tree
2005-04-08
L
inus Torvalds
M
o
v
e
the
ptrlist
macro
s
out of the s
p
arse
"lib
.
[c
h
.
.
.
commit
|
commitdiff
|
tree
2005-04-08
Alexe
y
D
o
briya
n
[PATCH] spa
r
se: Makef
i
le trivialities
commit
|
commitdiff
|
tree
2005-04-08
Linus Torvalds
Handle bad enu
m
expressio
n
types gr
a
ceful
l
y
.
commit
|
commitdiff
|
tree
2005-04-08
Li
n
u
s
Torvalds
Add support for cont
e
xt
c
h
e
c
k
i
ng functions
.
commit
|
commitdiff
|
tree
2005-04-08
Linu
s
Torvalds
Name s
t
atic l
i
b
r
ary "
l
ib
s
pa
r
se
.
a" to match shared l
i
brar
y
.
.
.
commit
|
commitdiff
|
tree
2005-04-08
rmps
@
joel
.
ist
.
ut
l
.
pt
[PATCH] : "make clean" does
n
'
t
delete libspa
r
se
.
so
commit
|
commitdiff
|
tree
2005-04-08
Linus Torvalds
Don't
warn about z
e
ro-sized "sizeof"
commit
|
commitdiff
|
tree
2005-04-08
Linus Torval
d
s
Warn about un
d
ecla
r
e
d identifiers
.
commit
|
commitdiff
|
tree
2005-04-08
Linu
s
Torval
d
s
Support building sp
a
rse as a shared li
b
rar
y
.
commit
|
commitdiff
|
tree
2005-04-08
Christ
o
pher Li
[PATCH] us
i
ng 0 as NULL
in
s
pa
r
se
commit
|
commitdiff
|
tree
2005-04-08
Linus Torvalds
Wa
r
n ab
o
ut
s
i
z
eof of
zero si
z
e
.
commit
|
commitdiff
|
tree
2005-04-08
A
l
ex
a
nder Viro
[PATC
H
] b
o
gus initializer off
s
ets
commit
|
commitdiff
|
tree
2005-04-08
Linus Torvalds
Be more careful
a
bout removin
g
implicit casts
.
commit
|
commitdiff
|
tree
2005-04-08
L
i
nus Torvald
s
Make sure to re-examine
a
struct/union/
e
num type
a
fter
commit
|
commitdiff
|
tree
2005-04-08
Linus T
o
rvalds
Make "check" (a
k
a sparse) check
a
rguments to some
f
u
n
ctions
.
commit
|
commitdiff
|
tree
2005-04-08
Li
n
u
s
T
o
r
valds
Fix ty
p
o (d
u
plicate s
r
c2 should b
e
src3)
i
n
simplify_ra
n
ge
commit
|
commitdiff
|
tree
2005-04-08
Linus Torval
d
s
Remove
old stale point
e
r dereference type me
s
s, that
commit
|
commitdiff
|
tree
2005-04-08
Linus Torvalds
Export
"
i
s_ptr_t
y
pe()"
h
e
l
per fun
c
tion t
o
oth
e
rs
.
commit
|
commitdiff
|
tree
2005-04-08
L
i
nus Torv
a
l
d
s
Avoid SIGSEGV
w
hen
l
i
nearizing bad expressi
o
ns
.
commit
|
commitdiff
|
tree
2005-04-08
L
in
u
s Torvalds
Do
n
't
d
rop
modifie
r
bits from
a mem
b
er dereference
.
commit
|
commitdiff
|
tree
2005-04-08
Linus Torvalds
U
s
e the new p
e
r
-i
n
struction
p
osition information for
.
.
.
commit
|
commitdiff
|
tree
2005-04-08
Linus
Torvalds
M
ake ea
c
h instruction have
a pos
i
tion
of it
s
own
.
commit
|
commitdiff
|
tree
2005-04-08
Lin
u
s Torvalds
Make range ch
e
ck code a bit
m
o
r
e readable (and
m
ore
.
.
.
commit
|
commitdiff
|
tree
2005-04-08
Linus Torva
l
ds
A
d
d comp
i
le
-
time "ra
n
ge-c
h
e
c
k" infrast
r
uct
u
re t
o
s
pa
r
s
e
commit
|
commitdiff
|
tree
2005-04-08
Linus
T
orval
d
s
Mak
e
sure we evaluate pointer
compar
i
sons
a
s unsi
g
n
e
d
.
commit
|
commitdiff
|
tree
2005-04-08
Linus Torva
l
ds
Shut
u
p
informational messages on
c
e
we've h
i
t the
m
aximum
commit
|
commitdiff
|
tree
2005-04-08
L
in
u
s Torvalds
Make "check" (aka "sparse"
)
chec
k
d
ata-d
r
opping casts
.
commit
|
commitdiff
|
tree
2005-04-08
Linus Torvalds
M
ak
e
s
implifi
c
a
tion
r
emove cas
t
s that change neither
.
.
.
commit
|
commitdiff
|
tree
2005-04-08
Linus T
o
rva
l
ds
Spli
t
OP_CA
S
T into signed, uns
i
gned a
n
d F
P
casts
.
commit
|
commitdiff
|
tree
2005-04-08
Linus Torvalds
Simplify OP_CAST of OP_AND
.
commit
|
commitdiff
|
tree
2005-04-08
Lin
u
s Torva
l
d
s
Don
'
t
opt
i
mize away casts too early
.
commit
|
commitdiff
|
tree
2005-04-08
Linus Torvalds
Duh
.
When
a
function returns VOI
D
, we
s
hou
l
d _n
o
t_
.
.
.
commit
|
commitdiff
|
tree
2005-04-08
Linus Torvalds
Fix code generation confusi
o
n
b
etwee
n
OP
_
AD
D
R and
the
commit
|
commitdiff
|
tree
2005-04-08
Linus
T
or
v
alds
Ma
k
e
the e
x
am
p
le code generator do so
m
ething ha
l
f-way
.
.
.
commit
|
commitdiff
|
tree
2005-04-08
L
i
nus Torvalds
M
a
ke constant instructio
n
s
i
mplificati
o
n
take t
h
e s
i
gn
.
.
.
commit
|
commitdiff
|
tree
2005-04-08
L
i
nus Tor
v
alds
Split
the b
i
nops w
h
e
r
e
s
i
gned
n
es
s
matters
i
n
to
unsigned
.
.
.
commit
|
commitdiff
|
tree
2005-04-08
Linus Torvald
s
Make li
n
earizer ab
l
e to h
a
ndle assignment ops where the
commit
|
commitdiff
|
tree
2005-04-08
Sam
R
avnborg
[P
A
TCH] mak
e
include
path handling gcc compat
i
b
le
commit
|
commitdiff
|
tree
2005-04-08
Linus Torvalds
Eva
l
u
a
te asm
outputs as assig
n
m
ents
.
commit
|
commitdiff
|
tree
2005-04-08
L
i
nus Torvalds
We didn't mark symbols with their a
d
dres
s
t
a
ken
as
.
.
.
commit
|
commitdiff
|
tree
2005-04-08
Linus To
r
valds
Make e
x
pression t
y
pe
e
nu
m
s start at one
.
.
commit
|
commitdiff
|
tree
2005-04-08
Linus Torvalds
inlining:
d
on
'
t
c
o
py
a
n i
n
itializer expr
e
ssion fo
r
.
.
.
commit
|
commitdiff
|
tree
2005-04-08
Sa
m
Ravnborg
[
P
ATCH] spars
e
:
f
a
i
l
s
to locat
e
stdarg
.
h
commit
|
commitdiff
|
tree
2005-04-08
Linus T
o
rvalds
Line
a
rize EXPR_P
O
S initia
l
izer
s
more care
f
ully:
they can
commit
|
commitdiff
|
tree
2005-04-08
Lin
u
s Tor
v
alds
Add option "-Wp
t
r-s
u
b
t
rac
t
ion-blow
s
"
to
warn about
.
.
.
commit
|
commitdiff
|
tree
2005-04-08
Linus Torvalds
Make "
c
h
e
ck_access()" take
the size of the access pro
p
erl
y
commit
|
commitdiff
|
tree
2005-04-08
Linus Torva
l
ds
Don't do the pointer off
s
et update for a pointer addition
commit
|
commitdiff
|
tree
2005-04-08
Linus T
o
rvalds
Don't tr
y
t
o
recursivel
y
check for an asso
c
iat
i
ve insn
.
commit
|
commitdiff
|
tree
2005-04-08
Linus Torvalds
Add
warn
i
ng for acc
e
ssing outsid
e
o
f a sym
b
o
l
commit
|
commitdiff
|
tree
2005-04-08
Linus Torvalds
Simplify OP_PTRCAST ops too for
now
.
commit
|
commitdiff
|
tree
2005-04-08
Linus To
r
v
alds
Fix ar
r
ay size calcul
a
tion whe
n
t
he last entry is an
.
.
.
commit
|
commitdiff
|
tree
2005-04-08
Linus Torval
d
s
Make output_insn() tell
where
it
w
as c
a
ll
e
d fro
m
, and
.
.
.
commit
|
commitdiff
|
tree
2005-04-08
Linus Torvalds
Make "fil
l
_reg" do so
m
ewhat the
r
ight
t
hing when we
.
.
.
commit
|
commitdiff
|
tree
2005-04-08
Linus Torvald
s
Oo
p
s
.
M
iss
e
d
a pla
c
e where we still t
e
sted for "bu
s
y
.
.
.
commit
|
commitdiff
|
tree
2005-04-08
Linus T
o
rvalds
Ma
k
e the argume
n
t stora
g
e setup be a bit more accurate
.
commit
|
commitdiff
|
tree
2005-04-08
L
i
n
u
s
To
r
v
a
lds
T
op
l
e
vel sy
m
bols are extern
a
lly addressable only i
f
.
.
.
commit
|
commitdiff
|
tree
2005-04-08
Linus
To
r
vald
s
M
a
ke "reg->busy" mean h
o
w many "op
e
rands"
actually
.
.
.
commit
|
commitdiff
|
tree
2005-04-08
Linus
Torval
d
s
Start mov
i
ng to a more s
y
mb
o
l "struct
o
p
era
n
d" notion
.
.
.
commit
|
commitdiff
|
tree
2005-04-08
L
in
u
s Torvalds
Fix "address_taken(
)
" function to work at least pitifully
commit
|
commitdiff
|
tree
2005-04-08
Linu
s
Torvalds
G
et comparison sizes r
i
g
ht
.
commit
|
commitdiff
|
tree
2005-04-08
Linus Tor
v
alds
Sp
l
it OP_SETVA
L
int
o
OP_SETVAL (f
p
expressi
o
n
s and
.
.
.
commit
|
commitdiff
|
tree
2005-04-08
Linus
T
orvalds
M
ake su
r
e to mark all reg
i
ste
r
s that
h
ave
a
lready been
.
.
.
commit
|
commitdiff
|
tree
2005-04-08
Linus Torvalds
The
s
tack of
f
set is global, not per-bb
.
commit
|
commitdiff
|
tree
2005-04-08
Linus
Torvalds
Duh
.
We marked the wrong r
e
gister REG_F
I
XED
w
h
e
n
w
e
.
.
.
commit
|
commitdiff
|
tree
2005-04-08
L
inus To
r
valds
Add some back-of-the-env
e
lope support for asm
inpu
t
s
.
.
.
commit
|
commitdiff
|
tree
2005-04-08
Linus To
r
valds
Do absolutely h
o
rrid job
of
g
enerating code for
a
s
ms
.
commit
|
commitdiff
|
tree
2005-04-08
santtu
.
hy
r
kko@gmail
.
com
[P
A
TCH] Diff to make sp
a
r
s
e not compla
i
n about
_
_format_ar
g
__
commit
|
commitdiff
|
tree
2005-04-08
Linu
s
T
orvalds
U
se
the one-deep CC-cache for OP_SE
L
too
.
commit
|
commitdiff
|
tree
2005-04-08
Linus Torval
d
s
Simplify condit
i
o
nal on cast-t
o
-larger-s
i
ze to conditional
.
.
.
commit
|
commitdiff
|
tree
2005-04-08
Linus Torvalds
If we decide to mark a register as b
e
ing its o
w
n stor
a
g
e
,
commit
|
commitdiff
|
tree
2005-04-08
Linu
s
Torvald
s
Ad
d
a one-deep CC-cache for con
d
ition code
setting
.
.
.
commit
|
commitdiff
|
tree
2005-04-08
L
i
nus Torval
d
s
V
erify that
o
utput
/
inp
u
t
a
sm constraints really look
.
.
.
commit
|
commitdiff
|
tree
2005-04-08
Linus T
o
rval
d
s
Sav
e
off the asm
p
arameter
name too
.
commit
|
commitdiff
|
tree
2005-04-08
Linus
T
orva
l
ds
Show asm inp
u
ts/ou
t
put
s
as bugus instru
c
tions as op
p
osed
.
.
.
commit
|
commitdiff
|
tree
2005-04-08
L
in
u
s
Torval
d
s
S
tart looking at a
s
ms in code generation
.
commit
|
commitdiff
|
tree
2005-04-08
Linus Torvalds
M
a
ke a
s
m lin
e
arizat
i
o
n
n
o
t drop the constraints
.
commit
|
commitdiff
|
tree
next