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
comparison: fix match_inc()
2017-08-03
Dan Carpe
n
ter
compariso
n
: fix
m
atch_inc()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-08-03
D
a
n Carp
e
nter
comparison: fix merge_comparison() f
o
r
&undefi
n
ed
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-08-03
Dan Carpenter
ext
r
a: don
'
t call create new states for
u
n
known va
l
ues
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-08-01
Dan Carpenter
db/ker
n
el
.
return_f
i
xes:
a
dd a couple to_err
n
o() f
u
nctions
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-07-28
Dan Carpenter
f
r
eei
n
g
_
d
e
vm: pa
s
sing devm_ a
l
located memory to kfr
e
e
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-07-28
Dan Carpenter
kernel_p
r
in
t
f
: add
support for %pO
F
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-07-25
Da
n
C
arpen
t
er
db
:
don'
t
spl
i
t NULL/non-NU
L
L
r
eturns f
o
r
reason
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-05-23
Dan
Carp
e
nter
db:
f
ix
some u
n
i
n
itializ
e
d variable bugs
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-05-23
Dan C
a
rpe
n
ter
flow: store __next
/
cur/pr
e
v_stm
t
b
efore pa
r
sing
i
nline
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-05-23
Dan Ca
r
p
enter
flow:
c
le
a
n
u
p state backup for inli
n
e functions
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-05-23
Dan Car
p
enter
math: tweak how impossible
s
t
ates are handled
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-05-23
Da
n
C
a
rpenter
ranges: make sval_too_big()
m
ore accurate
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-05-23
Dan Carpenter
kernel
:
ER
R
_PTR() b
a
s
ic
a
lly only retu
r
ns
n
e
gatives
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-05-23
Dan Ca
r
pen
t
er
extra: don't overw
r
ite th
e
implication
s
for useless
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-05-19
Dan C
a
rpenter
db
:
fix a type issue
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-05-18
Dan
Carpenter
t
ype_val: cast assignments to the cor
r
ect typ
e
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-05-17
Dan Carpenter
help
e
r
: fix
g
et_member_na
m
e() han
d
ling
o
f
u
nions
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-05-17
D
an Carpenter
retur
n
_to_
p
a
r
am: long to short
s
hould never return
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-05-17
Dan Car
p
enter
slist
:
re
v
e
r
se the slist
o
rder in a way that no one
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-05-16
Dan Carp
e
nt
e
r
extra
:
make set_
e
x
tr
a
_
mod_help
e
r() void
and s
t
atic
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-05-16
D
an Carpenter
extra:
m
ak
e
set_extra_
m
od() a void fu
n
ction
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-05-16
D
a
n Carpen
t
er
ext
r
a: make set_extra_e
x
pr_mod() a void
functi
o
n
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-05-16
Dan Carpenter
gene
r
ic_data: fi
x
up
s
o
m
e
p
roject related things fo
r
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-05-16
Dan Carpenter
smdb
.
py: fix summary
(it was totally b
r
oken before)
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-05-15
Dan C
a
rpenter
links, var_sym: allo
c
ate fewer states
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-05-15
Dan Car
p
e
n
ter
modificatio
n
_hooks: don't save s
o
much dat
a
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-05-11
Dan Carpent
e
r
return_to_
p
a
r
am: do
n
'
t modif
y
m
e
mory on
t
he stack
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-05-11
Dan Carpent
e
r
extra: handle in
t
eger o
v
erflo
w
s b
e
tter for "int_foo
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-05-10
Dan Carpenter
b
u
il
d
_ge
n
eric_data:
several
improvements
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-05-10
Dan Carpenter
tes
t
_generic
.
sh: lik
e
t
est_kernel
.
sh but fo
r
ge
n
eric
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-05-10
Dan Carpe
n
te
r
generic_data: rename to
m
atch build_kernel_data
.
sh
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-05-10
Dan Ca
r
penter
g
eneric_info: allow
p
eople to b
u
ild a specific
di
r
ectory
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-05-10
Dan Carpenter
u
n
r
ea
c
hable:
don't com
p
lai
n
a
bo
u
t
s
tatic declarations
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-05-10
Dan
Car
p
ent
e
r
index_overf
l
ow: silence some glibc false
p
os
i
t
ives
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-05-10
Da
n
Car
p
enter
project: create a
way to generate smat
c
h_
d
ata for a
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-05-10
D
a
n Carp
e
n
ter
c
o
re
:
improve Function too hairy
calculation
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-05-08
Dan
C
a
rpenter
helper: don'
t
crash so much o
n
invalid c
o
de
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-05-08
Dan
C
arpenter
comparison: fix some memory
leaks
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-05-08
Dan Carpenter
db/build
_
early_ind
e
x
:
b
u
ild anot
h
er inde
x
on
parameter_na
m
e
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-05-08
Da
n
Carpe
n
ter
db/kernel
.
r
eturn_fixes: atomic_read() returns the value
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-05-08
Dan Ca
r
penter
d
e
bug
.
c: add some n
e
w (not very useful) featur
e
s
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-05-08
Dan Carpe
n
ter
bu
f
_
comparison
:
fix build and
a
dd make new co
d
e
f
un
c
tional
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-05-08
Dan Carpenter
free: fix bui
l
d error
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-05-08
Dan Car
p
enter
err_ptr
_
deref: make err_ptr_min/max st
a
t
ic
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-05-08
Dan Carpe
n
ter
f
r
ee: don't complain when people do frob(&freed_
v
ariable)
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-05-08
Dan Car
p
enter
k
ernel_print
f
:
fix %pG test
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-05-08
Dan
Carpenter
logical_instea
d
_of_bit
w
i
s
e: si
l
ence
s
ome
false pos
i
t
i
ves
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-05-08
Dan C
a
rpenter
unus
e
d_
r
et: make warni
n
g messages consistent with ever
y
o
ne
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-05-08
Dan Carp
e
nter
use
r
_da
t
a2: tag all union members as untrusted
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-05-08
Dan Carpenter
user_dat
a
2: if use
r
s can
only s
p
e
cify a single value
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-05-08
Dan Carpenter
extra: use long to short mappings for PARAM_LIMIT and
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-05-08
D
a
n
C
arpenter
user_data2: handle "if (untrusted !
=
trusted)
{"
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-05-08
Dan Carpenter
buf_co
m
parison:
clear
a
rray
<-> si
z
e links better on
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-05-08
Dan Carp
e
nter
bu
f
_com
p
arison: record if w
e
pass an ARRA
Y
_SIZ
E
to
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-05-08
D
an Carp
e
nter
r
e
turn_t
o
_
p
a
r
am (mappi
n
g
s
): map regula
r
a
ssignmen
t
s
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-05-04
D
a
n
Ca
r
penter
use
r
_data2: handl
e
inlines bette
r
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-05-04
Da
n
Car
p
ent
e
r
math: prefer real absolutes
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-05-04
Dan Carpenter
m
o
d
ification_hooks: u
s
e l
o
ng
t
o s
h
ort
ma
p
p
in
g
s
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-05-04
Da
n
Carp
e
nt
e
r
retur
n
_t
o
_param: handle "r
e
tur
n
g
et_
f
oo(
b
a
r
);"
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-05-02
Dan
C
arp
e
nter
expression: fix expr_get_parent_
s
t
m
t()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-05-02
D
a
n Carpen
t
er
function_hooks: only ad
d
com
p
arisons whe
n
n
eed
e
d
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-04-27
Dan Carp
e
nt
e
r
flow
:
fix some pare
n
t t
r
a
nsition fall
o
ut
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-04-27
Dan
C
arp
e
nte
r
flow: set par
e
nt statements
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-04-27
Dan Carpenter
core
:
add
e
x
pr_g
e
t/s
e
t_parent_
s
tmt() accessor fu
n
ctio
n
s
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-04-27
Dan
C
arpenter
flow: cre
a
te an accessor metho
d
e
xpr_get_pa
r
en
t
_expr()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-04-27
D
a
n Carpenter
flow: rename set_parent_stmt() =>
stmt_set_pa
r
ent_stmt()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-04-27
Dan Carpenter
fl
o
w: rename set_
p
arent
_
expr()
=> e
x
pr_set_parent_expr()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-04-26
Dan Carpent
e
r
return_t
o
_pa
r
am: Use
the DB
ret
u
rn
s
trings
like "[
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-04-21
Dan Carpent
e
r
s
mdb
.
py:
t
ransla
t
e more para
m
eter name
s
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-04-21
Dan
Ca
r
penter
smdb
.
py:
g
ue
s
s
t
he
parameter
names
even 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 aren't known
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-04-20
Dan Carpenter
flow: fix f
a
ke en
v
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-04-20
Dan Carpe
n
ter
balanced: de
l
e
t
e thi
s
c
h
eck
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-04-20
Dan Carpenter
flow: add init_fake_en
v
()/e
n
d_fake_env()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-04-19
Dan
Carpenter
stored_conditions: store as exp
r
es
s
ion pointer
s
in
s
t
e
ad
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-04-19
D
an Carpenter
flow, db: fix how
i
nline function assignments are
h
and
l
ed
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-04-12
Da
n
C
arpenter
flow: remove some
b
u
ggy unused code
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-04-12
Dan Carpenter
flow:
f
ix initi
a
liza
t
ion
o
f n
e
sted structs
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-04-12
Dan Carpen
t
er
db: b
u
ild an i
n
dex on
the
parame
t
er names
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-04-12
D
an Carpenter
m
a
t
h
: improve MO
D
han
d
lin
g
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-04-11
Dan Car
p
enter
p
a
rameter_names:
store p
a
ra
m
e
te
r
names in t
h
e DB
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-04-11
D
a
n Car
p
enter
smdb
.
p
y: reformat call_info output
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-04-11
Dan C
a
r
p
en
t
er
Make
f
ile: use q
u
iet link to link smatch
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-04-11
Da
n
Carpenter
states: fix handling
switches inside c
o
ndition
s
(fa
k
e_cur
_
s
t
r
ee)
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-04-11
D
a
n Carpenter
s
tates: split update_fake_stree_w
i
t
h_merged()
and add
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-04-11
D
a
n
Carpenter
type_
v
a
l: sm
a
ll t
w
eak for a
r
r
a
y
s and compli
c
ated lvalues
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-04-11
Dan
C
arpente
r
e
x
t
ra: handle indire
c
tion like "p =
&
foo; *p = 42;
"
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-03-29
Da
n
Car
p
en
t
er
extra: h
a
n
d
le MOD conditions l
i
k
e
"if (a %
4
) {" b
e
tter
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-03-29
Dan
C
arpenter
modification_hooks: remove unused indirect modification
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-03-17
Dan Ca
r
penter
validation/skb
3
: delete
s
ome
accidenta
l
debug code
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-03-16
Dan
C
arpenter
user_data2: d
o
n't
s
et parameter
s
to user_data
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-03-16
Dan Carpenter
user
_
data2: handle skb
-
>data math a little better
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-03-16
Dan Carpente
r
user_data2
:
re-wor
k
h
an
d
ling
of skb
-
>data
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-03-15
Dan Carpenter
pa
r
se_call_math: work around for
l
oops
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-03-15
Dan Ca
r
penter
l
e
aks: don't comp
l
a
i
n
if we overwrite NULL po
i
nters
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-03-15
Dan Carpent
e
r
fr
e
e:
i
g
nore
impossible code
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-03-15
Dan Carpenter
shift_t
o
_ze
r
o: m
a
ke the error me
s
s
age more
i
nformative
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-03-15
Dan Carpent
e
r
te
s
t_bit: add tes
t
_and_clear_bit()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-03-15
Dan Carpen
t
e
r
smdb
.
py
:
print the re
t
urn_implie
s
va
l
ue
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2017-03-15
Dan Carpenter
d
b/f
i
x
u
p_kernel
.
sh: ignore d
o
_
loop_readv_wr
i
tev()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
next