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
add support for LLP64 arch
2017-02-13
Luc Van O
o
st
e
nryck
add support for LLP6
4
ar
c
h
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2017-02-13
Lu
c
Van Oosten
r
yck
simplify '(x ||
x
)' and '(x && x)'
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2017-02-13
Luc
V
an Oost
e
n
ryck
simplify com
p
arisons f
o
llowed by
an
e
qua
l
it
y
te
s
t agains
t
.
.
.
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2017-02-13
Luc Van Oostenry
c
k
a
d
d warning
o
p
tion
'
-Wt
a
utological-c
o
m
p
are'
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2017-02-13
Luc
V
an Oostenryck
simp
l
ify '(x op x)' to '0', '1' or
'x'
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2017-02-13
Luc Va
n
Oost
e
nry
c
k
simplif
y
'(
x
|| 1)' to '1'
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2017-02-13
Luc Van Oostenr
y
ck
si
m
p
l
ify '~(~x
)
' a
n
d '-(-x)' to 'x'
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2017-02-13
L
u
c Van Oostenryck
simp
l
ify '(x % 1)'
i
n
to
'
0'
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2017-02-13
L
uc Van Oost
e
n
ryck
simp
l
ify '(x /
-
1)'
to '-x' (
b
ut only
f
or signed
d
i
v
i
sion)
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2017-02-13
Luc V
a
n Oostenryck
simplify '(x * -1)' to '-x'
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2017-02-13
Luc
Van Oostenryck
s
i
mplify '(x / 1)'
t
o
'x'
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2017-02-13
L
u
c Van
Oostenryck
move OP_MUL si
m
plification in a separa
t
e functio
n
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2017-02-13
Luc V
a
n Oostenr
y
ck
define _
_
LO
N
G_MAX__ & _
_
SIZ
E
OF_POINTER__
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2017-02-13
Lu
c
Van Ooste
n
r
yc
k
add an helper for common pred
e
fined macros
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2017-02-13
Luc Van
Oost
e
nryck
defin
e
_
_LP
6
4__
&
_LP64 if
arch_m6
4
is ena
b
led
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2017-02-13
Luc V
a
n
O
ost
e
nryck
fix killing
OP_SETVAL ins
t
ructions
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2017-02-13
Luc Van Oostenryck
remove 'Escape' fro
m
token ch
a
racter class
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2017-02-13
Luc Van Oostenryck
warn
o
n unknown escapes aft
e
r preprocessi
n
g
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2017-02-13
L
u
c Van Oostenryck
add testcase for wrong early
e
scape conversio
n
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2017-02-13
Luc Van Ooste
n
ryck
r
e
move unused
a
rg in
u
ses/defs f
u
nctions
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2017-02-13
L
uc Van Oos
t
enryck
validate expr
e
ssio
n
's type
i
n conditionals
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2017-02-13
L
u
c Van Oostenryck
add helper: is_sc
a
l
a
r_t
y
p
e()
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2017-02-13
Luc Van Oostenry
c
k
fix condit
i
onal c
o
ntext test case with void
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2017-02-13
L
u
c
Va
n
O
o
stenryck
cleanup
kill_ins
t
ructio
n
()
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2017-02-13
Lu
c
Van
Oo
s
ten
r
yck
e
x
plicitely ignore killing OP_ENTRY
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2017-02-13
Luc Van Oostenryc
k
f
i
x killing
O
P_
C
O
MPUTEDGO
T
O
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2017-02-13
Luc Van Oostenryck
fix k
i
lli
n
g
O
P_SELECT
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2017-02-13
Lu
c
Va
n
Oost
e
nry
c
k
fix killing OP_
C
AST & friends
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2017-02-13
Luc
Van Oostenryck
fix killing OP_PHI instructions
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2017-02-13
Luc Va
n
Oostenryck
kill
u
ses of replaced in
s
tructio
n
s
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2017-02-13
Luc
V
an Oostenry
c
k
fix c
r
ash wh
i
le testing between conditional & unconditional
.
.
.
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2017-02-13
Luc Va
n
O
o
stenryck
fix cast's target ty
p
e
in
f
o
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2017-02-13
Luc Van
O
ostenryck
C11: teach sparse ab
o
u
t '--
s
t
d={c11,g
n
u11}'
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2017-02-13
Luc
Van
O
ostenryck
C11: teach sparse about '_
A
lignas()'
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2017-02-13
Luc
V
a
n Ooste
n
r
yck
C
11
:
teach
sp
a
rse ab
o
ut '_
A
lignof()'
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2017-02-13
L
uc Van
Oos
t
e
n
ry
c
k
C11:
t
each s
p
arse about '_Noreturn'
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2017-02-13
Luc Van Oostenry
c
k
C11: teach sparse about '_Thread
_
local'
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2017-02-13
Luc Va
n
Oostenryck
fix value of
l
a
b
el statement
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2017-02-13
Luc Van Oostenryck
missing
l
o
ad simplif
i
cation
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2017-02-13
Luc V
a
n Oo
s
tenr
y
ck
fix p
h
isrc mixup
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2017-02-13
Luc Van Oostenryck
fix s
u
perfluous phisrc
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2017-02-13
L
u
c Van Oostenryck
vo
l
atile loa
d
s must not be simp
l
ified
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2017-02-13
Luc Van
O
osten
r
y
ck
unssa: update
com
m
e
n
t
about
t
h
e unneeded
c
opies
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2017-02-13
L
uc Van Oos
t
enryck
uns
s
a:
e
l
i
minate
trivial phisrc copies
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2017-02-13
Luc Van Oostenryck
u
nssa: try to avoid some OP_PH
I
copies
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2017-02-13
Luc Van
Oostenryck
unssa: si
m
plify rewrite
of OP_
P
HIS
O
U
RCE
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2017-02-13
Luc Van Oost
e
nr
y
ck
u
n
ssa: do n
o
t
try
t
o update li
v
ene
s
s
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2017-02-13
Luc Van
O
ostenryck
fix cast
t
o
b
o
o
l
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2017-02-13
Luc Van
O
o
stenryc
k
llvm:
remove unneeded O
P
_COPY support
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2017-02-13
L
u
c Van Oostenryck
llvm: fix
typin
g
w
h
en
c
omparing to a c
o
nst
a
nt
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2017-02-13
Luc Va
n
Oostenryck
fi
x
typ
i
n
g
e
rror in compound assign
m
e
n
t
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2017-02-13
Lu
c
Van Oostenryck
add support for
__int128
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2017-02-13
Luc
Van Oostenryck
fix missi
n
g elemen
t
in
t
ypes decla
r
ation
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2017-02-13
Luc Van Oostenryck
recursive
p
hi_de
f
ines cannot happen
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2017-02-13
Luc
Van Oostenryck
c
g
cc
sh
o
uld not
define non-reserved identifiers
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2017-02-13
Luc Va
n
O
ostenryck
Update maintain
e
rs
i
n t
h
e
manpage
CC: Christopher Li <
sparse@chrisli.org
>
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2017-02-13
Luc Van
O
o
sten
r
yck
s
ome modifiers ne
e
d to be preserved by 'typeof()'
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2017-02-13
L
u
c
Van O
o
ste
n
ryck
tests
u
ite: test modifi
e
r
s
preserved by 'typeof()'
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2017-02-13
Lu
c
Van
O
ostenryck
testsuite: test mod
i
fiers preserved b
y
'&
'
operator
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2017-02-13
Luc V
a
n Oostenryck
use
a sh
o
rter nam
e
for fun
c
tion-pointer
-
mod
i
fier-inher
i
tance
.
c
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2017-02-13
L
uc Van Oostenryc
k
testsuite
:
s
i
mplif
y
test f
u
nction-pointer-
i
n
h
e
r
itanc
e
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2017-02-13
Luc Van Oostenryc
k
st
o
rage should
n
ot be in
h
e
r
ited b
y
pointer
s
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2017-02-13
Luc
Van Oostenryc
k
r
emo
v
e unused field 'mu
l
tijump' in struct inst
r
uction
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2017-02-13
Luc Van Oos
t
en
r
yck
OP_SWITCH shou
l
d u
s
e 'ins
n
->
c
ond'
ins
t
e
a
d
o
f 'in
s
n
.
.
.
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2017-02-13
Luc V
a
n Ooste
n
ry
c
k
g
i
v
e
comparab
l
e
l
abel's names t
o
basic blocks
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2017-02-13
Luc Van Oostenry
c
k
le
t
"compile" not crash on bools
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2017-02-13
Luc Van Oos
t
enryck
make
p
trlist walking against robust ag
a
inst empty blocks
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2017-02-13
Emily Ma
i
er
validation: Check
C
99 for loop variables
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2017-02-13
D
a
ni
e
l Wagner
parse: Add
c
omme
n
t t
o
struct statement
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2017-02-13
Oleg Nest
e
rov
dis
s
ect: s/mo
d
e
_
t
/
usage_
t
/
in
report_memb
e
r()
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2017-02-13
Oleg Ne
s
terov
d
iss
e
ct: t
e
ach
do_in
i
tiali
z
er()
t
o handle the
nested
.
.
.
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2017-02-13
Oleg Nesterov
d
i
ssect: tea
c
h
d
o
_expressio
n
() t
o
handle EXPR_OFFSETOF
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2017-02-13
L
u
c
V
an Oostenryck
add
test case for
b
ui
l
tin bswa
p
with con
s
tant args
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2017-02-13
Joh
a
nne
s
Berg
impleme
n
t consta
n
t-foldi
n
g
in __builtin_bswap*(
)
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2017-02-13
Luc Van Oostenryck
fix
d
iscarded label stateme
n
t
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2017-02-13
L
u
c
Van Oost
e
nryck
Remove
u
nneede
d
variable in int
e
g
e
r
_
pro
m
otion
(
)
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2017-02-13
L
u
c Van
O
oste
n
ryck
W
arn on unknown attrib
u
t
es instead of
t
hrowing
errors
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2017-02-13
Luc Van Oost
e
n
ryc
k
cleanup: remove evaluat
e
_
a
rgument
s
()'s
unused arg
u
men
t
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2017-01-27
L
uc Van Oostenryck
make 'ignored_attributes[]' static
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2017-01-27
Emil
y
Maier
line
a
r
ize: Emit C99 decl
a
ration
s
co
r
rectly
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2017-01-27
Luc
V
an Oo
s
tenry
c
k
add mis
s
i
n
g #include "
c
ha
r
.
h" t
o
char
.
c
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2017-01-27
L
u
c Van Oostenryck
Fi
x
type checking of vari
a
d
i
c fun
c
tion
s
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2017-01-27
La
n
ce Richardson
sparse: update
_
_builtin_objec
t
_size() pro
t
otyp
e
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2017-01-27
Luc Van Oostenryck
fix mixup in "Han
d
le SForced in storage_modifiers"
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2016-11-16
J
eff Layton
Handle SFo
r
c
ed in storage_modifiers
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2016-10-27
Rui Te
n
g
s
parse:
add
no_sa
n
itize_a
d
dress as an
i
gnored attribut
e
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2016-10-13
Lance R
i
ch
a
rdson
sparse: ignore __assu
m
e_aligne
d
_
_
attri
b
u
t
e
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2016-10-13
Ramsay
J
ones
sp
a
rse: add 'a
l
loc_al
i
g
n' to the ignored attributes
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2016-10-13
Chr
i
stopher Li
Fix warning compiling sparse-llvm
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2016-02-22
Luc Van Ooste
n
ryck
Do not
drop 'nocast' modifier w
h
en taking the add
r
ess
.
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2016-02-04
Luc Van Oost
e
n
r
y
c
k
Fix size
c
alculation of
uns
i
zed bool
array
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2015-08-15
Tony
C
amuso
Add
d
e
fault case to switches on enum
v
ariables
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2015-08-15
Tony Ca
m
uso
.
giti
g
nore:
add cscope an
d
Qt p
r
oject files
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2015-08-04
Dan Carpenter
ptrli
s
t: reading deleted
i
t
e
ms in NE
X
T
_
P
TR_LIST()
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2015-06-14
Azat Khuzhin
valid
a
tion/prot
o
type: regression
for skippi
n
g
p
roto
t
ypes
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2015-06-14
Azat Khuzhin
sparse, llvm: compile: ski
p
function p
r
ot
o
type
s
t
o
.
.
.
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2015-06-12
H
e
ik
o
Cars
t
ens
sparse/parse
.
c:
i
gnore
hotpatch
a
tt
r
ibute
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2015-04-21
Michae
l
Stefaniuc
Add t
e
sts for the built
i
n
I
NF and nan()
f
unctions
.
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2015-03-13
A
r
d
B
i
esheuvel
I
gnore pure attribute in ass
i
gnement
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2015-03-13
Mic
h
ael
S
tefaniuc
A
d
d a d
e
fine
f
or __builtin_ms_
v
a_
c
opy()
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
next