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
math: tweak how impossible states are handled
2017-05-23
Dan Carpenter
math:
t
weak
h
ow impossib
l
e states are handled
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-05-23
Dan Carpenter
ranges: make sval_too
_
big() more accurate
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-05-23
Dan Carpente
r
ke
r
nel:
E
RR_PTR() basically only
returns negati
v
es
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-05-23
Dan Carpenter
extra: do
n
'
t ov
e
rwrite the im
p
li
c
ations for u
s
eless
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-05-19
Dan Carpenter
db: fix a type
i
ssue
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-05-18
Dan Car
p
enter
type_
v
a
l
: cast assignments to the
c
orrect type
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-05-17
Sami
Kerol
a
M
a
k
efile: remove SMATCH
_
DATA smatch_d
a
ta
/
ke
r
nel
.
balanced_fun
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-05-17
Dan Carp
e
n
t
er
helper: f
i
x
get_member_name
(
) ha
n
dl
i
ng of unions
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-05-17
Da
n
Carpenter
return_to_p
a
ram: lon
g
to short
s
hould never
r
eturn
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-05-17
Dan Carpenter
sl
i
st: reverse
the
slist
o
rder in a w
a
y that no o
n
e
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-05-16
Da
n
C
arpen
t
er
extr
a
: make se
t
_ex
t
ra
_
mod_h
e
l
p
er(
)
v
o
i
d and s
t
atic
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-05-16
Dan Carpenter
e
x
tra: m
a
ke set
_
extra_mod() a vo
i
d
fun
c
tio
n
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-05-16
Dan Car
p
ent
e
r
extra: ma
k
e set_
e
x
t
ra_expr_mod(
)
a v
o
id functio
n
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-05-16
Dan Carpenter
generi
c
_dat
a
:
fix
up some
p
roject
related things for
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-05-16
Dan Car
p
enter
smdb
.
py:
f
i
x summ
a
ry (it was totally broken before)
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-05-15
Dan Carpenter
links, var_sym: all
o
cate fewer states
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-05-15
Dan Carpenter
modificatio
n
_hooks: don
'
t
save
s
o much data
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-05-11
Dan Carpenter
r
etu
r
n_to
_
param
:
d
o
n't modify memory on the
s
tack
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-05-11
Dan Carpenter
extr
a
: handle int
e
ger overflow
s
better for
"
int_fo
o
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-05-10
Dan Car
p
enter
build_
g
eneric_data
:
several improve
m
ents
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-05-10
Dan Carpenter
test_gen
e
ric
.
s
h
: like test
_
kernel
.
sh but fo
r
generic
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-05-10
D
a
n Car
p
enter
generic_data:
r
ena
m
e
to match buil
d
_kern
e
l_data
.
sh
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-05-10
Dan Ca
r
pente
r
generic_info: allow people
t
o build a s
p
ecif
i
c directory
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-05-10
Dan Ca
r
penter
unreachable: don't complain abou
t
static declarati
o
ns
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-05-10
Dan Carpe
n
ter
index_overflow:
si
l
ence so
m
e glibc false positives
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-05-10
Dan Carpenter
project:
c
rea
t
e
a
way to
g
enerate smatch_dat
a
for a
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-05-10
Dan
Carpenter
core:
impro
v
e
Funct
i
on too
h
airy calculation
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-05-08
Dan Carpenter
helper: don't crash so
mu
c
h o
n
i
n
va
l
id code
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-05-08
Dan Carpenter
comparison: fix some
m
em
o
ry l
e
aks
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-05-08
Dan Carpenter
d
b
/build_ea
r
l
y_index: build an
o
th
e
r ind
e
x on paramet
e
r_name
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-05-08
D
an Carpe
n
ter
db/kernel
.
return_fixes: atom
i
c_read() returns the value
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-05-08
Dan Carpenter
deb
u
g
.
c
:
add some n
e
w (not very useful) f
e
at
u
re
s
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-05-08
D
an
C
a
rpenter
bu
f
_compariso
n
: fix build an
d
add make new code
f
unctional
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-05-08
Da
n
Carpenter
free: fix build
error
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-05-08
Dan Carpen
t
er
e
rr
_
ptr_d
e
ref: make err_ptr_min/max static
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-05-08
Da
n
Carpenter
fr
e
e: d
o
n't complain
w
h
en
people
d
o frob(&fr
e
ed_v
a
r
iable)
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-05-08
Dan Carpenter
kerne
l
_
p
rintf: fix
%p
G
tes
t
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-05-08
Dan Carpenter
logical_instead_of_bitwise: silence
s
o
m
e false
positiv
e
s
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-05-08
D
an Carpenter
unused_ret:
m
a
ke warning messages consist
e
nt with every
o
ne
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-05-08
D
an Carpenter
u
ser_data2: tag all union
members a
s
untrus
t
ed
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-05-08
D
a
n Ca
r
penter
us
e
r_data2: if users can onl
y
specify a single value
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-05-08
Dan Carpenter
extra: u
s
e long to short mappin
g
s for PARAM_LIMIT
a
n
d
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-05-08
Dan Car
p
en
t
e
r
u
s
er_d
a
ta2: hand
l
e "if
(
u
ntrusted != trusted) {"
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-05-08
Dan Carpenter
buf
_
compari
s
on:
c
l
ear a
r
r
ay <-> size links
better on
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-05-08
Dan
C
arpente
r
b
u
f
_
c
omparison: record
i
f we pass an ARRAY_SIZE
t
o
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-05-08
D
an Carpenter
retu
r
n_to_
p
aram (mappi
n
gs):
map regular ass
i
g
n
ments
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-05-04
Dan Carpenter
user
_
d
a
t
a
2: handle inlin
e
s bett
e
r
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-05-04
Dan C
a
r
penter
m
ath:
p
r
efer real
absol
u
tes
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-05-04
Da
n
Carpenter
modifi
c
ati
o
n_hooks: us
e
long to short ma
p
pings
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-05-04
Dan
C
a
rpenter
r
e
t
urn_to_
p
aram
:
h
an
d
le "return get_fo
o
(bar);"
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-05-02
Dan Ca
r
p
en
t
er
expression: fix expr_get_par
e
nt_
s
tm
t
()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-05-02
Dan Carp
e
nter
function_ho
o
ks: only add compar
i
sons w
h
en n
e
eded
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-04-27
Dan C
a
rpenter
flow:
f
i
x s
o
me parent transition fallout
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-04-27
Dan
Car
p
enter
flow:
set p
a
rent stat
e
ments
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-04-27
D
a
n Carpenter
core: add expr_get/s
e
t
_p
a
re
n
t
_
s
tmt() ac
c
essor functions
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-04-27
Dan Carpenter
flow: crea
t
e an ac
c
es
s
or met
h
od expr_ge
t
_p
a
rent_expr()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-04-27
Dan Carpenter
fl
o
w: rena
m
e
set
_
p
a
rent_stmt(
)
=> stmt_set_parent_stmt()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-04-27
Dan Carp
e
nter
flow: rename
s
e
t
_
p
a
r
ent_e
x
pr(
)
=
> expr_set_parent_
e
xpr()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-04-26
Dan Carp
e
nter
r
e
turn_to_param: Use the DB retu
r
n strings like "[
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-04-21
Dan Carpe
n
te
r
s
mdb
.
py:
translate
m
ore param
e
ter names
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-04-21
Da
n
Carpenter
smd
b
.
py: guess th
e
parameter names
e
ve
n
if the file
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-04-21
Dan Carpenter
smdb: don't crash if the parameter names a
r
en't known
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-04-20
D
an Carpenter
fl
o
w:
fix fake env
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-04-20
Dan C
a
rpenter
balanced: del
e
te t
h
is check
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-04-20
Dan Ca
r
p
e
nter
flow: add in
i
t_
f
a
k
e_env()/end_fake
_
env()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-04-19
Dan Carpenter
stored_
c
o
n
d
i
t
i
on
s
:
stor
e
a
s expressi
o
n poi
n
ters i
n
stead
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-04-19
Da
n
Carpenter
flow
,
db: f
i
x
h
ow inli
n
e function assignments are hand
l
e
d
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-04-12
Dan C
a
rpenter
flow: remove some buggy unused code
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-04-12
Dan Carpenter
f
low: fix
i
nitializ
a
tion of nested
structs
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-04-12
Dan
C
arpenter
db: build an
i
ndex on the pa
r
ameter names
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-04-12
Dan
C
ar
p
enter
mat
h
: improve MOD
hand
l
ing
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-04-12
Dmitry
M
onakhov
te
s
t
_kernel
.
sh: add config options
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-04-12
Dmitry Monakhov
Mak
e
file: Install scripts to
/
usr/shar
e
/smatch/s
m
atch_s
c
ripts
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-04-12
Dmitry Monak
h
ov
Mak
e
file: mak
e
i
n
stall prefix
configurable
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-04-11
Dan
C
a
r
pen
t
er
p
arame
t
er_nam
e
s:
s
tore parameter names
i
n th
e
DB
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-04-11
Dan Carpe
n
ter
smdb
.
py: r
e
form
a
t call_info
o
u
t
put
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-04-11
Dan
Car
p
e
n
ter
Makefile: us
e
q
u
iet link to link smatch
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-04-11
Dan Carpente
r
states: fix hand
l
ing
sw
i
tch
e
s i
n
side con
d
itions (fa
k
e_cur_
s
tree)
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-04-11
Dan Carpente
r
states: split u
p
date_fake_st
r
ee_with
_
merged() an
d
add
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-04-11
Dan Carpe
n
ter
type_val: small twea
k
fo
r
arrays and complica
t
ed lvalu
e
s
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-04-11
Dan Carpenter
extra: hand
l
e i
n
directio
n
like "p
=
&foo;
*
p
= 4
2
;"
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-03-29
Dan
C
arpenter
extra:
handle
M
O
D con
d
itio
n
s lik
e
"if (a
%
4) {" be
t
te
r
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-03-29
D
an
Car
p
e
n
ter
modification_hook
s
:
r
emove unused in
d
irect modification
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-03-17
Dan
C
a
r
p
enter
validation/
s
k
b3: d
e
lete some
ac
c
id
e
ntal debug
code
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-03-16
Da
n
Carpenter
user_data2: d
o
n't s
e
t pa
r
ameters to user_data
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-03-16
D
an Car
p
e
n
ter
user_data2:
handle sk
b
->dat
a
math a little better
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-03-16
Dan Ca
r
penter
use
r
_d
a
ta2: re-w
o
rk han
d
ling of skb->data
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-03-15
Dan Carpenter
parse_call_math: work
a
rou
n
d for loops
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-03-15
Dan C
a
rp
e
n
ter
l
e
a
k
s:
d
on't complain if we overwrit
e
NULL pointe
r
s
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-03-15
Dan Ca
r
p
e
nter
f
r
ee: ignore impo
s
si
b
l
e code
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-03-15
Da
n
Carpenter
shift_to_zero: make
t
he
e
rror message more
i
nformati
v
e
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-03-15
D
an C
a
r
penter
test_bit: ad
d
test_and_clear_
b
it()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-03-15
Dan Carpenter
s
mdb
.
py:
print the
return
_
impl
i
es value
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-03-15
Dan Carpe
n
ter
db/f
i
x
up_ke
r
nel
.
sh: ignore do_loop_readv_w
r
it
e
v
(
)
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-03-15
Dan Carpenter
e
x
t
ra: set hard ma
x
i
f
a
func
t
ion
is ca
l
led
w
i
th a
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-03-15
D
a
n
Ca
r
pent
e
r
extra: fix handling
o
f known conditions
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-03-15
Dan Carp
e
nter
param_
l
imit: don't set some uncha
n
ged limits
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-03-15
Dan
C
a
rp
e
n
t
er
db: prev
e
n
t slow do
w
n
s
split
t
i
n
g re
t
u
rns apart
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-03-15
Dan Carpente
r
db: set parse
_
e
rror if the SQL f
a
il
s
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-02-16
Dan Carp
e
n
t
er
pa
r
am
_
set: handle
if the parent was
s
et
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
next