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
Don't SIGSEGV on bad cast expressions.
2005-04-08
Linus Torvalds
Don't
S
IGSE
G
V on bad cast expr
e
ssions
.
commit
|
commitdiff
|
tree
2005-04-08
Linus Tor
v
alds
M
a
k
e enumera
t
ed constan
t
s h
a
ve the type of the constant
commit
|
commitdiff
|
tree
2005-04-08
Li
n
us Torvalds
Use th
e
li
s
t s
o
rter t
o
sort the EXPR_INITIAL
I
ZER
l
i
sts
.
commit
|
commitdiff
|
tree
2005-04-08
Li
n
u
s T
o
rvalds
Add
s
o
rt_list()
functi
o
n
that
k
ind of
w
orks lik
e
qsort
.
.
.
commit
|
commitdiff
|
tree
2005-04-08
L
i
n
u
s
Torvalds
Do the EXPR_POS simplification breadth
first, not depth
.
.
.
commit
|
commitdiff
|
tree
2005-04-08
Linus T
o
r
valds
Simp
l
i
f
y EXPR_
I
NITIAL
I
ZER t
h
at is nested inside a
simple
.
.
.
commit
|
commitdiff
|
tree
2005-04-08
Linus Torvalds
F
i
x inde
x
e
xpression con
v
ersion to EXPR_POS
.
commit
|
commitdiff
|
tree
2005-04-08
L
i
nus Torvalds
S
i
mplify nested EXPR_PO
S
express
i
ons
.
commit
|
commitdiff
|
tree
2005-04-08
Linus Torvalds
Make
s
u
r
e
E
XPR_POS exp
r
es
s
ions have
the righ
t
typ
e
.
commit
|
commitdiff
|
tree
2005-04-08
Linus Torvalds
Allow
'
show_pos
i
ti
o
n_expr
(
)
' to sur
v
ive lack of ty
p
e
.
.
.
commit
|
commitdiff
|
tree
2005-04-08
Linus Torvalds
For fun
c
tions
that la
c
k
a type, p
r
i
nt out e
r
r
or rath
e
r
.
.
.
commit
|
commitdiff
|
tree
2005-04-08
L
i
nus Torvalds
Allow EX
P
R_POS
subexpressions i
n
initi
a
li
z
er
e
valuat
i
on
.
commit
|
commitdiff
|
tree
2005-04-08
Linus Torvalds
Total
l
y
re-do ho
w
w
e
buil
d
up the initializer tree
.
.
.
commit
|
commitdiff
|
tree
2005-04-08
Linus Torvald
s
Print out
t
he proper fi
l
en
a
me
on o
p
en failu
r
e
.
commit
|
commitdiff
|
tree
2005-04-08
Linus Torvalds
Fix handling
i
f "-I" switch
.
commit
|
commitdiff
|
tree
2005-04-08
Linus To
r
valds
Pa
r
se "nested"
n
a
med
or index initia
l
izers
.
commit
|
commitdiff
|
tree
2005-04-08
Linus
T
orvalds
Add "-Wtypesi
g
n" command li
n
e optio
n
.
commit
|
commitdiff
|
tree
2005-04-08
Lin
u
s Torv
a
lds
Imp
r
ove sign
w
arning
s
a bi
t
.
commit
|
commitdiff
|
tree
2005-04-08
Li
n
us Torvalds
Compl
a
in about
type differen
c
es in s
i
gnedness
.
commit
|
commitdiff
|
tree
2005-04-08
L
inus Torvalds
A
dd
"
__builtin_war
n
ing()" builtin
.
commit
|
commitdiff
|
tree
2005-04-08
L
i
n
us Torvalds
Getti
n
g the
type of a s
y
m
b
ol (and chec
k
ing be
h
ind SYM_NODE) is
commit
|
commitdiff
|
tree
2005-04-08
Linus Torvalds
F
ix conditional expression evaluation
b
ug
l
ets
commit
|
commitdiff
|
tree
2005-04-08
Linus Torvalds
F
ix s
h
if
t
size check an
d
m
a
k
e
warning
m
ore read
a
ble
.
commit
|
commitdiff
|
tree
2005-04-08
Linu
s
Torvalds
Mort
e
n made us a
l
most
-
Wwrite-s
t
rings clean
.
Go the
.
.
.
commit
|
commitdiff
|
tree
2005-04-08
Linus Torvalds
F
i
x up forma
t
s
t
ring b
u
g
let found
b
y the compiler
.
commit
|
commitdiff
|
tree
2005-04-08
Linus To
r
valds
More
"
union
"
troub
l
e: don't loo
k
at ct
y
pe
f
or
n
on-NS_SYM
B
OL
.
commit
|
commitdiff
|
tree
2005-04-08
Linus Torvalds
Move sym
b
ol
"
us
e
d"
f
lag out from SY
M
_NOD
E
union
.
commit
|
commitdiff
|
tree
2005-04-08
Li
n
us Torvalds
Sa
n
it
i
ze
base type
declarations some
mor
e
.
commit
|
commitdiff
|
tree
2005-04-08
L
i
nus Torvald
s
We need t
o
initia
l
ize the type of the
f
undam
e
ntal bas
e
.
.
.
commit
|
commitdiff
|
tree
2005-04-08
Linus Torv
a
lds
R
emove "m
a
t
ch_string_iden
t
" no
w
that nothing uses it
.
commit
|
commitdiff
|
tree
2005-04-08
Li
n
us Torvalds
P
o
ison deleted p
t
r-list entries
.
commit
|
commitdiff
|
tree
2005-04-08
Li
n
us Torvald
s
Add DELETE
_
CURRENT_PT
R
and R
E
PL
A
C
E_CURRENT_
P
TR
.
commit
|
commitdiff
|
tree
2005-04-08
Li
n
us Torvalds
M
a
ke EN
D
_FO
R
_EACH_PTR[_REVERSE] take the ptr name
as
.
.
.
commit
|
commitdiff
|
tree
2005-04-08
Linus Torv
a
lds
Re
-
organize list a
c
cess macros
f
o
r
easier expansion
.
commit
|
commitdiff
|
tree
2005-04-08
Linus
T
or
v
a
lds
Fix "c
o
mpile-i38
6
.
c
"
incestu
o
us
list internal knowledge
.
commit
|
commitdiff
|
tree
2005-04-08
Linus
T
orvalds
Us
e
the fast/simpl
e
list iterators in cases where we
.
.
.
commit
|
commitdiff
|
tree
2005-04-08
Li
n
us T
o
rvalds
Mark the "en
t
ry" point in a
f
u
nction
,
an
d
update
i
t
.
.
.
commit
|
commitdiff
|
tree
2005-04-08
Linus To
r
v
alds
Fix
silly
"
first_basic_blo
c
k()" typo
commit
|
commitdiff
|
tree
2005-04-08
Lin
u
s Torva
l
ds
Add dependancy information
for th
e
new id
e
nt-li
s
t
.
h
commit
|
commitdiff
|
tree
2005-04-08
Linus Torvald
s
Fix u
p
silly typo that caused __builtin_c
o
n
s
t
ant_p
.
.
.
commit
|
commitdiff
|
tree
2005-04-08
Linus Torvalds
Make "
-
nostdinc"
command li
n
e
f
lag actually work
.
commit
|
commitdiff
|
tree
2005-04-08
Linus T
o
rvalds
Make "next_path"
b
e
p
er-
s
tream fo
r
better
"
include_next"
.
commit
|
commitdiff
|
tree
2005-04-08
Linus
T
orvalds
Implement "includ
e
_
n
e
x
t"
commit
|
commitdiff
|
tree
2005-04-08
Linus Torvalds
R
e
-organize search p
a
th handling
.
commit
|
commitdiff
|
tree
2005-04-08
Linus Torvalds
Merge http://s
p
arse-mw
.
bkbits
.
n
e
t:8080/for-linus
commit
|
commitdiff
|
tree
2005-04-08
Linus
T
o
rvald
s
Improve e
r
ror reporting f
o
r bad
K
&R function parameter
commit
|
commitdiff
|
tree
2005-04-08
Linus Torvalds
Oo
p
s
- when
p
a
rsing a K&R function, we started at the
.
.
.
commit
|
commitdiff
|
tree
2005-04-08
Linus Torval
d
s
Since we
a
llow K&
R
declar
a
tions, allo
w
empty ones too
.
commit
|
commitdiff
|
tree
2005-04-08
Linus To
r
valds
Im
p
rove K&R name
matching
.
commit
|
commitdiff
|
tree
2005-04-08
Linus Torva
l
ds
Final part of K&R functions - integ
e
r promotions
commit
|
commitdiff
|
tree
2005-04-08
Li
n
u
s
T
o
rval
d
s
Apply
t
he K&R
p
arse ctypes to the
argum
e
nt list
.
commit
|
commitdiff
|
tree
2005-04-08
Linu
s
Torvalds
P
arse K&R
fun
c
tion declarations
.
commit
|
commitdiff
|
tree
2005-04-08
Linus Tor
v
alds
Split "side effects" from
"
migh
t
take an except
i
on
.
.
.
commit
|
commitdiff
|
tree
2005-04-08
Linus
T
orvald
s
Al
l
ow "extern" void declar
a
tions
.
commit
|
commitdiff
|
tree
2005-04-08
Lin
u
s Torvalds
Ch
e
ck
the right type
in "alignof" eva
l
uat
i
on
.
commit
|
commitdiff
|
tree
2005-04-08
Linus Torvalds
Do
n
't stri
p
the b
i
nary wh
e
n installin
g
.
commit
|
commitdiff
|
tree
2005-04-08
Linus
T
orva
l
ds
Make array
d
ereference build the right evaluation t
r
ee
.
commit
|
commitdiff
|
tree
2005-04-08
Linus Torvalds
Add prop
e
r dependenc
i
es on co
m
p
i
le
.
h
commit
|
commitdiff
|
tree
2005-04-08
L
inus Torvalds
Check for
i
llegal modifier
comb
i
na
t
ions only after we
commit
|
commitdiff
|
tree
2005-04-08
Li
n
us Torvalds
Fi
x
nonterminat
e
d ide
n
t
matching
.
commit
|
commitdiff
|
tree
2005-04-08
Linus T
o
rvalds
Add "_
_
word__" mode attribu
t
e an
d
fix __QI__
.
commit
|
commitdiff
|
tree
2005-04-08
Linus To
r
valds
Fix
u
p the wo
r
st regcache
t
hink
o
'
s
.
commit
|
commitdiff
|
tree
2005-04-08
L
i
nu
s
Torvalds
Add the prope
r
a
c
cesso
r
functions
t
o turn a 32-bit reg
commit
|
commitdiff
|
tree
2005-04-08
Linus Torvalds
Make "e
m
it_c
o
n
d
i
ti
o
nal
_
test()" use re
g
ister caches
.
commit
|
commitdiff
|
tree
2005-04-08
L
inus
Torvalds
Improve "emit
_
m
o
ve()" handli
n
g
.
commit
|
commitdiff
|
tree
2005-04-08
Linus T
o
rvalds
Mar
k
an inline symbol a
c
cessed when taking
i
ts
a
ddr
e
s
s
.
commit
|
commitdiff
|
tree
2005-04-08
Linus Torval
d
s
Make binops
use th
e
new register tracking in compile
.
.
.
commit
|
commitdiff
|
tree
2005-04-08
Linus Tor
v
alds
D
o
some
ru
d
i
m
entary r
e
gister content track
i
ng
.
commit
|
commitdiff
|
tree
2005-04-08
Li
n
u
s Torvalds
Sta
r
t infrastru
c
t
u
re for more dynamic register all
o
cation
.
commit
|
commitdiff
|
tree
2005-04-08
L
inu
s
T
orvalds
Add "bitmap
.
h" for
so
m
e simp
l
e bitma
p
op
s
commit
|
commitdiff
|
tree
2005-04-08
L
i
n
u
s
Torvald
s
Let co
m
pi
l
e-i38
6
k
now abo
u
t
m
o
re registers
.
commit
|
commitdiff
|
tree
2005-04-08
Linus Torvalds
Simplify the int
e
rface between compile
.
c and the act
u
al
commit
|
commitdiff
|
tree
2005-04-08
Linus Torvalds
Cr
e
ate a valid linearization
of EXP
R
_SELECT
.
commit
|
commitdiff
|
tree
2005-04-08
Linus Torvalds
Make compile-i386
.
c
create pseudo
-
code fo
r
the
log
i
c
al
.
.
.
commit
|
commitdiff
|
tree
2005-04-08
Linus Torvalds
Teach compi
l
e-i386
.
c to emit se
l
ect
i
nstruct
i
ons
.
commit
|
commitdiff
|
tree
2005-04-08
Linus Torv
a
lds
Oop
s
.
Mus
t
e
x
pand conditional exp
r
es
s
ion before checkin
g
.
.
.
commit
|
commitdiff
|
tree
2005-04-08
Linus Torvalds
EX
P
R_SAFELOG
I
CAL
i
s unnece
s
s
a
ry
.
It ends u
p
being t
h
e
.
.
.
commit
|
commitdiff
|
tree
2005-04-08
Linus
T
orvalds
Make exp
r
e
ssio
n
ex
p
ans
i
on
calculate the
"
c
ost" of the
commit
|
commitdiff
|
tree
2005-04-08
Linu
s
Torvalds
Add
"
s
e
l
e
ct" expr
e
s
s
ion
.
commit
|
commitdiff
|
tree
2005-04-08
Linus Torvalds
Merge b
k
://
k
ernel
.
bk
b
i
t
s
.
n
et/j
g
arzik/sparse
.
be
commit
|
commitdiff
|
tree
2005-04-08
Linus
T
orvalds
Simplify the
t
ri
v
ial direct "indire
c
t
" go
t
o
.
commit
|
commitdiff
|
tree
2005-04-08
Linus Torval
d
s
Copy the who
l
e
s
y
mbol when creatin
g
a cop
y
for in
l
ining
.
commit
|
commitdiff
|
tree
2005-04-08
Lin
u
s Tor
v
alds
F
i
x
symbol copy on inl
i
ning
.
commit
|
commitdiff
|
tree
2005-04-08
Linus Torvalds
Teach linearizer about
c
omputed g
o
to's
.
commit
|
commitdiff
|
tree
2005-04-08
Linus Torvalds
Keep tra
c
k of computed
target label lists per-function
.
commit
|
commitdiff
|
tree
2005-04-08
Linus Torvalds
H
andle p
r
eproces
s
or "# <n
r
>
<
f
i
l
e>"
the same as #line
.
.
.
commit
|
commitdiff
|
tree
2005-04-08
Lin
u
s Torv
a
ld
s
Simp
l
ify
t
esting for "is i
t
a
string?" by just checking
commit
|
commitdiff
|
tree
2005-04-08
Linus Tor
v
alds
Don
'
t evaluate a string initi
a
l
i
zer
until _a
f
te
r
_ we've
commit
|
commitdiff
|
tree
2005-04-08
Linus Torv
a
lds
O
o
ps
.
Stupid t
y
po fix for string t
y
p
e comparison
.
commit
|
commitdiff
|
tree
2005-04-08
L
in
u
s Torvalds
F
ix some more
special cases in string
i
ni
t
ializers
.
commit
|
commitdiff
|
tree
2005-04-08
Linus Torvalds
A
ll
o
w array
i
nitializers to be arrays them
s
elves
.
commit
|
commitdiff
|
tree
2005-04-08
Linus Torval
d
s
Make sizeof un
d
er
s
tand the C99 "sizeof typed initiali
z
er
.
.
.
commit
|
commitdiff
|
tree
2005-04-08
Li
n
us Torvalds
Make "co
m
pile" assert more
r
e
a
dable
.
commit
|
commitdiff
|
tree
2005-04-08
Linus
Torval
d
s
With
n
o inp
u
t files, the chec
k
er w
o
uld
SIGSEGV
.
commit
|
commitdiff
|
tree
2005-04-08
L
inus
Torval
d
s
M
a
ke
t
he lazy poi
n
ter
e
valuation
marker e
x
plicit
.
commit
|
commitdiff
|
tree
2005-04-08
Linus Tor
v
al
d
s
simpl
i
f
y
_int_binop:
split sign
e
d
and unsigned operations
commit
|
commitdiff
|
tree
2005-04-08
Linus Torvalds
Simplify
"
t
y
p
eof" handl
i
n
g
.
commit
|
commitdiff
|
tree
2005-04-08
Linus To
r
valds
Remove prematu
r
e tree opt
i
mization on member ac
c
e
s
ses
.
commit
|
commitdiff
|
tree
2005-04-08
Linu
s
Torv
a
lds
Fix linea
r
izatio
n
of fo
r
-loo
p
s
.
commit
|
commitdiff
|
tree
2005-04-08
Linus Torvalds
B
e
tter
e
rror message abo
u
t _whi
c
h_ label has alrea
d
y
commit
|
commitdiff
|
tree
next