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
simplify '(x || 1)' to '1'
2017-02-13
Luc
V
an Oostenryck
s
i
mplify
'
(x || 1)'
t
o '1'
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2017-02-13
Luc
Van Oostenryck
simp
l
ify '~(~
x
)
' and '-(-x)
'
to 'x'
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2017-02-13
Luc V
a
n Oostenryc
k
s
implify '(x %
1
)' in
t
o
'0'
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2017-02-13
Luc
V
an Oos
t
enryck
sim
p
l
i
f
y
'(x / -
1
)'
to '-x' (but only for signed
divisio
n
)
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2017-02-13
Luc Van Oosten
r
y
c
k
sim
p
l
i
f
y '(
x
*
-
1)'
t
o
'
-x'
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2017-02-13
L
u
c Van Oo
s
tenr
y
ck
si
m
pl
i
f
y '(x / 1)' to 'x'
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2017-02-13
Luc
Van Oostenryck
m
o
v
e OP_MUL simplification in a separate funct
i
o
n
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2017-02-13
L
uc
Van
Oost
e
nryck
define
__LONG
_
M
A
X__ & __SIZEOF_POINTER_
_
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2017-02-13
L
u
c Van Oostenryck
ad
d
an helper for common predefined m
a
cro
s
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2017-02-13
L
u
c Van Oostenryck
define
_
_
L
P6
4
__ & _LP
6
4 if a
r
ch_m64 is enabled
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2017-02-13
Luc Van
O
o
stenryck
fix killing OP_SET
V
AL i
n
st
r
uc
t
io
n
s
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2017-02-13
Luc Van Oostenryck
remove 'Es
c
ap
e
'
fro
m
t
o
ke
n
character clas
s
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2017-02-13
Luc Van Oostenryck
warn on
u
nkno
w
n escapes
a
fter prepro
c
e
s
s
ing
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2017-02-13
Luc V
a
n Oo
s
t
e
nryck
add testcase for wrong early escape
con
v
e
rsion
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2017-02-13
Luc Va
n
Oost
e
nryck
remov
e
unu
s
ed arg
i
n us
e
s/defs functions
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2017-02-13
Luc Van
Oo
s
tenryck
v
a
lidate
e
xpres
s
ion's typ
e
in conditiona
l
s
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2017-02-13
Luc
V
an Oost
e
nryck
add h
e
lper:
is
_
s
c
alar_type()
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2017-02-13
Luc V
a
n Oostenryck
fix conditional contex
t
test case with v
o
id
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2017-02-13
Luc Van Oostenryc
k
cleanup ki
l
l_instruction()
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2017-02-13
Luc Van Oost
e
nr
y
ck
ex
p
l
i
citely ignore killin
g
OP_ENTRY
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2017-02-13
Luc V
a
n Oos
t
e
nryck
fi
x
killing O
P
_
COM
P
UTEDGOTO
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2017-02-13
Luc Van O
o
stenryck
fi
x
killing
OP_SELE
C
T
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2017-02-13
Luc
V
an Oo
s
tenryc
k
fi
x
k
i
l
l
i
n
g OP_
C
AST &
f
riends
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2017-02-13
Luc Van Oos
t
enryck
fix killing
OP_
P
HI instructions
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2017-02-13
Lu
c
Van Oostenr
y
ck
kil
l
uses
o
f
r
eplaced inst
r
uctions
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2017-02-13
Luc
Van Oosten
r
yck
fix crash w
h
i
l
e
t
est
i
n
g be
t
w
een co
n
ditional & u
n
conditi
o
nal
.
.
.
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2017-02-13
Luc Van Oostenryck
fix cas
t
's target type
i
nf
o
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2017-02-13
Luc Van Oo
s
tenr
y
ck
C1
1
: teach s
p
arse about '--st
d
=
{
c
11,gnu11}'
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2017-02-13
Luc Van Ooste
n
r
yck
C
11: teach sparse about
'
_Alignas()'
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2017-02-13
L
u
c
V
a
n
O
o
stenryck
C11: tea
c
h sp
a
rse about '_Alignof()'
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2017-02-13
L
u
c Van Oos
t
en
r
yck
C11: te
a
ch sparse about '_Nore
t
urn'
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2017-02-13
Luc V
a
n Oostenryck
C11: te
a
ch sp
a
rse ab
o
ut '_Thre
a
d_loc
a
l'
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2017-02-13
Luc Van Oost
e
nryck
fix value of label
st
a
tement
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2017-02-13
Luc
V
an Oostenryck
mis
s
ing load simplification
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2017-02-13
Luc Van Oostenryck
fix phisrc
mi
x
up
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2017-02-13
Luc Van Oostenryck
fix
s
upe
r
f
l
uo
u
s p
h
isr
c
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2017-02-13
Luc Van Oosten
r
y
ck
volatile loads
m
u
st not
be
s
implif
i
ed
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2017-02-13
L
u
c Van
Oostenryck
unssa:
u
pdate
c
omm
e
n
t
about the unne
e
ded copies
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2017-02-13
L
uc Van Oostenryck
unssa:
el
i
minate tr
i
vial phisrc c
o
pie
s
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2017-02-13
Luc Van
O
ostenryck
unssa: t
r
y t
o
avoid some
OP_PHI copies
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2017-02-13
Luc
V
an
Oo
s
tenryck
un
s
sa: simp
l
ify rewrite o
f
OP_PHISOUR
C
E
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2017-02-13
L
uc Van Oostenryck
unssa: do
n
ot try
to update livenes
s
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2017-02-13
Lu
c
Van Oostenry
c
k
fix c
a
st to bool
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2017-02-13
Luc Van Oos
t
en
r
yck
l
l
vm
:
remove unneeded OP_COPY
s
uppor
t
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2017-02-13
Luc Van Oostenryck
llvm: fix
t
ypin
g
when comparing to a
con
s
tant
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2017-02-13
Luc Van Oostenryck
fix t
y
p
i
ng error i
n
com
p
ound assignment
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2017-02-13
Luc Van Oostenryck
add suppo
r
t
f
o
r __int128
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2017-02-13
Luc
Van
Oostenryck
fix m
i
ssing element i
n
types declaration
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2017-02-13
Luc Van
Oostenr
y
ck
r
e
cursive phi_def
i
nes ca
n
not h
a
ppen
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2017-02-13
L
u
c
V
a
n
Oo
s
tenryck
c
g
c
c
should
n
ot
define non-rese
r
ved identifiers
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2017-02-13
Luc Van Oosten
r
yck
Update mainta
i
ners in the manpage
CC: Christopher Li <
sparse@chrisli.org
>
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2017-02-13
Luc Van Oo
s
ten
r
yck
some modifier
s
need t
o
b
e
preserve
d
by 'typeof(
)
'
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2017-02-13
Luc Van Oostenryck
t
e
stsuite: tes
t
modif
i
ers prese
r
ved by 'typeof()'
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2017-02-13
Luc Van
Oostenryck
testsuite: te
s
t modi
f
iers
preserved by '&' operator
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2017-02-13
Luc Van Oosten
r
y
c
k
u
se a shorter name for functio
n
-poi
n
t
e
r-modifier-
i
nheritanc
e
.
c
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2017-02-13
Luc Van Oostenryck
test
s
uit
e
:
s
implify tes
t
f
u
nc
t
ion-pointer-inheri
t
ance
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2017-02-13
L
u
c
V
a
n
O
ostenry
c
k
storage
should
not be i
n
he
r
ited by pointers
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2017-02-13
Luc Van Oostenryck
remov
e
unu
s
e
d
field 'multij
u
mp'
i
n struct instruction
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2017-02-13
Luc
V
an Oo
s
tenryck
OP_SWIT
C
H
shou
l
d use 'in
s
n
-
>cond' instead
o
f
'
in
s
n
.
.
.
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2017-02-13
Luc Van Oostenryck
give comparable
l
a
b
el's names to basic blocks
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2017-02-13
Luc Van
O
ostenryck
let "compile" not crash o
n
bools
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2017-02-13
Lu
c
Van
Oosten
r
yck
make ptrlist walk
i
ng ag
a
inst ro
b
ust
a
gain
s
t em
p
ty blo
c
ks
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2017-02-13
Emily Mai
e
r
validation: Check C99
for lo
o
p variables
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2017-02-13
D
a
n
iel Wag
n
er
parse: Add comment to stru
c
t stateme
n
t
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2017-02-13
O
l
eg Nesterov
dissect: s/mode_t/u
s
age_t/ in report_member(
)
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2017-02-13
Oleg Nesterov
dissect: t
e
ach do_initializer() to handle the nes
t
ed
.
.
.
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2017-02-13
Oleg Nestero
v
dissect: teach
d
o_ex
p
ression() t
o
handle
E
XPR_OFFSE
T
OF
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2017-02-13
L
u
c Va
n
Oostenryck
add test
c
a
se f
o
r builtin bsw
a
p
with constan
t
args
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2017-02-13
Johannes Berg
i
m
plem
e
nt
c
onstant-foldin
g
in __builtin_b
s
wap*()
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2017-02-13
Luc Van Oostenry
c
k
fix discarded lab
e
l statemen
t
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2017-02-13
L
u
c Van Oostenryck
Remove
unn
e
eded variable i
n
in
t
eger_promotio
n
()
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2017-02-13
Luc Van Oostenryck
W
a
rn on
u
nknown
attributes instead of throwin
g
e
r
rors
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2017-02-13
Luc Van Oostenryck
clean
u
p: r
e
mov
e
evalua
t
e_arguments()'s unused argument
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2017-01-27
Luc Van Oostenryck
ma
k
e
'
i
gnored_attributes[]'
static
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2017-01-27
Emily
M
ai
e
r
line
a
rize: Emit C99
decla
r
ations c
o
rrectly
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2017-01-27
Luc
V
an Oostenryck
a
d
d mi
s
sing #include "char
.
h"
t
o
char
.
c
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2017-01-27
Luc Van Oostenr
y
ck
F
ix type checki
n
g
of vari
a
dic fu
n
ct
i
o
ns
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2017-01-27
Lance
Richardso
n
sparse: updat
e
_
_buil
t
in_object_size() prototyp
e
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2017-01-27
Luc Van Oostenryck
fix mixup in "Handle SForced in
storag
e
_modifie
r
s"
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2016-11-16
Jeff
Layton
Ha
n
dle SForced in stor
a
ge_m
o
difi
e
rs
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2016-10-27
Rui Teng
s
p
arse: add no
_
sanitize_address as an ignored attribute
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2016-10-13
Lan
c
e Ri
c
hardson
sparse: ignore __assume_al
i
g
ned
_
_ attri
b
ute
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2016-10-13
Ramsay Jon
e
s
sparse: add
'al
l
oc_align' to the
i
gno
r
ed attributes
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2016-10-13
Christopher Li
Fix warning compiling s
p
arse-
l
lvm
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2016-02-22
Luc Va
n
Oostenryck
Do not drop
'no
c
ast' modifier when taking t
h
e addr
e
ss
.
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2016-02-04
Luc Van Oo
s
tenryck
F
i
x
s
i
ze
calcul
a
tion of unsize
d
bool a
r
ray
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2015-08-15
Tony Camuso
Ad
d
default case to sw
i
tches on enum variables
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2015-08-15
T
o
n
y Camu
s
o
.
gitig
n
ore: add
c
scop
e
and Qt project files
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2015-08-04
Dan Carpenter
ptrl
i
st: rea
d
ing deleted items in NEXT_
P
TR_LIST()
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2015-06-14
Azat Khuzhin
vali
d
a
tio
n
/prototy
p
e:
r
egressio
n
f
o
r s
k
i
p
ping prot
o
type
s
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2015-06-14
Azat Khu
z
hi
n
sparse
,
llvm
:
compile
:
skip
f
unction prototypes t
o
.
.
.
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2015-06-12
Heik
o
Cars
t
en
s
s
parse/parse
.
c: igno
r
e hotpatch attr
i
bute
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2015-04-21
Michael
S
tefaniuc
Add tests
f
o
r
the bu
i
lti
n
INF
and nan() functions
.
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2015-03-13
Ard Biesheuvel
Ignore pure attribute in assignement
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2015-03-13
Michael St
e
faniuc
Ad
d
a define for __buil
t
in_ms_va_copy()
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2015-03-13
M
i
ch
a
el Stefaniuc
Add
t
he __built
i
n functions need
e
d
for INFINITY an
d
.
.
.
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2015-02-09
Luc
Van O
o
s
tenryck
Teach sparse abo
u
t
the
_
_
C
OU
N
TER__ predefi
n
ed
m
a
cro
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2015-02-06
Ch
r
istopher
L
i
M
ake macro expan
d
e
d
s
tring i
m
mu
t
able
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2015-01-28
Christian Borntraeger
s39
0
x: add the
proper de
f
ines for dat
a
types
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
2014-12-12
Ch
r
i
s
toph
e
r Li
Ptr list sorting s
h
ou
l
d u
s
e memmove instead
of memcpy
Signed-off-by: Christopher Li <
sparse@chrisli.org
>
commit
|
commitdiff
|
tree
next